If you like or are using this project please give it a star. Thanks!
dotnet add package EasyKeys.Shipping.Stamps.Tracking
If you like or are using this project please give it a star. Thanks!
dotnet add package EasyKeys.Shipping.Stamps.Tracking
builder.Services.AddStampsTrackingProvider();
app.MapGet("/trackShipment/{id}", async (
string id,
IStampsTrackingProvider trackingProvider,
CancellationToken cancellationToken) =>
{
var trackingInfo = await trackingProvider.TrackShipmentAsync(id, cancellationToken);
return Results.Json(trackingInfo, options);
});
Returns a list of tracking events using the shipment's tracking number.