DHL Location Finder Unified API v1 client for Parcel.NET.
$ dotnet add package Parcel.NET.Dhl.LocationFinder
DHL Unified Location Finder API v1 client for Parcel.NET — search for DHL service points, parcel lockers, and post offices by address, geo-coordinates, or keyword.
dotnet add package Parcel.NET.Dhl.LocationFinder
builder.Services.AddDhl(options =>
{
options.ApiKey = "your-api-key";
})
.AddDhlLocationFinder();
var client = serviceProvider.GetRequiredService<IDhlLocationFinderClient>();
// Find by address
var results = await client.FindByAddressAsync("DEU", "Bonn", "53113");
// Find by geo-coordinates (radius in meters)
var results = await client.FindByGeoAsync(50.7374, 7.0982, 5000);
// Find by keyword ID
var results = await client.FindByKeywordAsync("packstation");
// Get a specific location
var location = await client.GetLocationByIdAsync("8003-4012221");
Only requires a DHL API key — no additional credentials needed.