HerePlatform.NET.RestClient 1.2.0

dotnet add package HerePlatform.NET.RestClient --version 1.2.0
                    
NuGet\Install-Package HerePlatform.NET.RestClient -Version 1.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="HerePlatform.NET.RestClient" Version="1.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HerePlatform.NET.RestClient" Version="1.2.0" />
                    
Directory.Packages.props
<PackageReference Include="HerePlatform.NET.RestClient" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add HerePlatform.NET.RestClient --version 1.2.0
                    
#r "nuget: HerePlatform.NET.RestClient, 1.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package HerePlatform.NET.RestClient@1.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=HerePlatform.NET.RestClient&version=1.2.0
                    
Install as a Cake Addin
#tool nuget:?package=HerePlatform.NET.RestClient&version=1.2.0
                    
Install as a Cake Tool

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.

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
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.0 105 6/11/2026
1.1.0 103 6/10/2026
1.0.0 124 2/19/2026