HerePlatform.NET.RestClient
1.4.0
dotnet add package HerePlatform.NET.RestClient --version 1.4.0
NuGet\Install-Package HerePlatform.NET.RestClient -Version 1.4.0
<PackageReference Include="HerePlatform.NET.RestClient" Version="1.4.0" />
<PackageVersion Include="HerePlatform.NET.RestClient" Version="1.4.0" />
<PackageReference Include="HerePlatform.NET.RestClient" />
paket add HerePlatform.NET.RestClient --version 1.4.0
#r "nuget: HerePlatform.NET.RestClient, 1.4.0"
#:package HerePlatform.NET.RestClient@1.4.0
#addin nuget:?package=HerePlatform.NET.RestClient&version=1.4.0
#tool nuget:?package=HerePlatform.NET.RestClient&version=1.4.0
HerePlatform.NET.RestClient
Standalone .NET REST client for the HERE Platform APIs — usable from any .NET app (console, API, Worker, etc.) without Blazor. Targets .NET 8, 9, and 10.
Unofficial project. Not affiliated with, endorsed by, or supported by HERE Global B.V. See the trademark notice below.
Installation
dotnet add package HerePlatform.NET.RestClient
Usage
// Program.cs
builder.Services.AddHereRestServices(options =>
{
options.ApiKey = "YOUR_HERE_API_KEY";
});
// Inject and use any service
public class MyService(IRoutingService routing, IGeocodingService geocoding)
{
public async Task Example()
{
var route = await routing.CalculateRouteAsync(new RoutingRequest
{
Origin = new LatLngLiteral(52.52, 13.405),
Destination = new LatLngLiteral(48.8566, 2.3522),
TransportMode = TransportMode.Car
});
var address = await geocoding.GeocodeAsync("Brandenburger Tor, Berlin");
}
}
Available Services
| Service | Methods | HERE API |
|---|---|---|
IRoutingService |
CalculateRouteAsync |
Routing v8 |
IIsolineService |
CalculateIsolineAsync |
Isoline Routing v8 |
IMatrixRoutingService |
CalculateMatrixAsync |
Matrix Routing v8 |
IGeocodingService |
GeocodeAsync, ReverseGeocodeAsync |
Geocoding & Search v7 |
IAutosuggestService |
SuggestAsync, AutocompleteAsync |
Geocoding & Search v7 |
IPlacesService |
DiscoverAsync, BrowseAsync, LookupAsync |
Geocoding & Search v7 |
ITrafficService |
GetTrafficIncidentsAsync, GetTrafficFlowAsync |
Traffic v7 |
IPublicTransitService |
GetDeparturesAsync, SearchStationsAsync |
Public Transit v8 |
IWaypointSequenceService |
OptimizeSequenceAsync |
Waypoint Sequence v8 |
IGeofencingService |
CheckPositionAsync |
Client-side |
IWeatherService |
GetWeatherAsync |
Destination Weather v3 |
IRouteMatchingService |
MatchRouteAsync |
Route Matching v8 |
IEvChargePointsService |
SearchStationsAsync |
EV Charge Points v3 |
IMapImageService |
GetImageAsync |
Map Image v3 |
IIntermodalRoutingService |
CalculateRouteAsync |
Intermodal Routing v8 |
ITourPlanningService |
SolveAsync |
Tour Planning v3 |
Links
Trademarks and disclaimer
This is an independent, community-maintained project. It is not an official HERE product and is not affiliated with, endorsed by, or sponsored by HERE Global B.V. "HERE", "HERE Technologies", "HERE Maps" and the HERE logo are trademarks or registered trademarks of HERE Global B.V.; all other names and brands are the property of their respective owners and are used solely to identify the third-party APIs this package communicates with. Provided under the MIT license, as-is, with no warranty and no support agreement from HERE. Details: HerePlatform.NET.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.Http (>= 10.0.12)
- Microsoft.Extensions.Options (>= 10.0.12)
-
net8.0
- Microsoft.Extensions.Http (>= 10.0.12)
- Microsoft.Extensions.Options (>= 10.0.12)
-
net9.0
- Microsoft.Extensions.Http (>= 10.0.12)
- Microsoft.Extensions.Options (>= 10.0.12)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.