This library provides abstractions for DHL options, models, and OpenApi implementation.
If you like or are using this project please give it a star. Thanks!
dotnet add package EasyKeys.Shipping.DHL.AbstractionsAdd 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"
} services.AddDHLExpressClient();