The initial release of Arex388.HdFleet — a highly opinionated .NET client for the HD Fleet Integrations External API v1 (GPS fleet tracking), targeting .NET Standard 2.0.
Highlights
- Single- and multi-account usage — inject
IHdFleetClientfor one account, orIHdFleetClientFactoryto create cached clients per API key. - Full v1 API surface — vehicles, latest locations, location history, drivers, events (with media), the backfills workflow (create, get, slice walking), ProMiles reports, and integrations.
- Never throws — every call returns a
ResponseBase<T>withSuccess,Status,Errors,RequestId, andFromCache, including cannedCancelled/Failed/Invalidoutcomes. - Built-in resilience — automatic retry on 429/500/503 and a fresh-poll gate that honors the API's documented polling floors (e.g. 60 seconds on latest locations) via
IMemoryCache. - Cursor streaming — convenience extensions stream paged results without manual cursor handling.
- Request validation — FluentValidation validators run before any HTTP traffic, surfacing invalid requests as
Invalidresponses.
See the README for installation and usage.