Skip to content

Latest commit

 

History

History

EasyKeys.Shipping.Stamps.Tracking

EasyKeys.Shipping.Stamps.Tracking

Build status NuGet Nuget feedz.io

Give a Star! ⭐

If you like or are using this project please give it a star. Thanks!

Install

    dotnet add package EasyKeys.Shipping.Stamps.Tracking

Give a Star! ⭐

If you like or are using this project please give it a star. Thanks!

Install

    dotnet add package EasyKeys.Shipping.Stamps.Tracking

Usage

    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);
    });

Tracking Provider Details

Returns a list of tracking events using the shipment's tracking number.