Skip to content

Latest commit

 

History

History

README.md

EasyKeys.Shipping.DHL.Abstractions

Build status NuGet Nuget feedz.io

This library provides abstractions for DHL options, models, and OpenApi implementation.

Give a Star! ⭐

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

Install

    dotnet add package EasyKeys.Shipping.DHL.Abstractions

Quick Start

1. Configuration

Add your DHL credentials and settings to your appsettings.json:

"DHLExpressApiOptions": {
  "AccountNumber": "YOUR_ACCOUNT",
  "ClientId": "YOUR_CLIENT_ID",
  "ClientSecret": "YOUR_CLIENT_SECRET",
  "ApiBaseUrl": "https://api-mock.dhl.com"
}

2. Register Services

    services.AddDHLExpressClient();