Mapbox.Api 0.1.21

dotnet add package Mapbox.Api --version 0.1.21
                    
NuGet\Install-Package Mapbox.Api -Version 0.1.21
                    
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="Mapbox.Api" Version="0.1.21" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Mapbox.Api" Version="0.1.21" />
                    
Directory.Packages.props
<PackageReference Include="Mapbox.Api" />
                    
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 Mapbox.Api --version 0.1.21
                    
#r "nuget: Mapbox.Api, 0.1.21"
                    
#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 Mapbox.Api@0.1.21
                    
#: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=Mapbox.Api&version=0.1.21
                    
Install as a Cake Addin
#tool nuget:?package=Mapbox.Api&version=0.1.21
                    
Install as a Cake Tool

License: MIT

Mapbox.Api

Nuget Codacy Badge

To use the Mapbox API nuget package:

Visual Studio

  1. Open your project in Visual Studio
  2. Right-click on the project and click "Manage Nuget packages"
  3. Find the package "Mapbox.Api" - install the latest version

Example code (C# 8.0)

using Mapbox.Api;
using System;
using System.Threading.Tasks;

namespace My.Project
{
	public static class Program
	{
		public static async Task Main()
		{
			var MapboxClient = new MapboxClient(new MapboxClientOptions
			{
				AccessToken = "0123456789abcdef0123456789abcdef01234567"
			});

			var geocoding = await MapboxClient
				.Geocoding
				.GetForwardsAsync("Greenwich Observatory, Greenwich, London")
				.ConfigureAwait(false);

			Console.WriteLine($"Location: {geolocation}");
		}
	}
}

API Documentation

The Mapbox API documentation can be found here:

Product Compatible and additional computed target framework versions.
.NET 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
0.1.21 35 4/8/2026
0.1.18 92 4/2/2026
0.1.17 79 3/31/2026
0.1.16 83 3/31/2026
0.1.11 20,496 6/16/2025
0.1.3 7,734 11/11/2021
0.1.1 728 5/13/2020

Dependency updates.