ManiaAPI.TrackmaniaAPI
2.10.0
See the version list below for details.
dotnet add package ManiaAPI.TrackmaniaAPI --version 2.10.0
NuGet\Install-Package ManiaAPI.TrackmaniaAPI -Version 2.10.0
<PackageReference Include="ManiaAPI.TrackmaniaAPI" Version="2.10.0" />
<PackageVersion Include="ManiaAPI.TrackmaniaAPI" Version="2.10.0" />
<PackageReference Include="ManiaAPI.TrackmaniaAPI" />
paket add ManiaAPI.TrackmaniaAPI --version 2.10.0
#r "nuget: ManiaAPI.TrackmaniaAPI, 2.10.0"
#:package ManiaAPI.TrackmaniaAPI@2.10.0
#addin nuget:?package=ManiaAPI.TrackmaniaAPI&version=2.10.0
#tool nuget:?package=ManiaAPI.TrackmaniaAPI&version=2.10.0
ManiaAPI.TrackmaniaAPI
Wraps https://api.trackmania.com/doc (Trackmania web API). This API requires authorization.
Features
- Get display names
- Get account IDs from display names
- Get user's map records
- Get clubs the user is an admin of
- Get, add, and remove user's favorite maps
More will be added in the future.
Setup
For the list of scopes, see the API docs. Generate your credentials here.
using ManiaAPI.TrackmaniaAPI;
var tm = new TrackmaniaAPI();
await tm.AuthorizeAsync("clientId", "clientSecret", ["clubs", "read_favorite"]);
// Ready to use
For DI, consider using the ManiaAPI.TrackmaniaAPI.Extensions.Hosting package.
| 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. net11.0 is compatible. |
-
net10.0
- No dependencies.
-
net11.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on ManiaAPI.TrackmaniaAPI:
| Package | Downloads |
|---|---|
|
ManiaAPI.TrackmaniaAPI.Extensions.Hosting
Extension methods of Trackmania API for ASP.NET Core. Part of the ManiaAPI.NET library set. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.11.0 | 118 | 11/20/2026 |
| 2.10.0 | 127 | 11/14/2026 |
| 2.8.5 | 246 | 7/2/2026 |
| 2.7.0 | 257 | 2/21/2026 |
| 2.6.0 | 215 | 2/7/2026 |
| 2.4.0 | 451 | 9/18/2025 |
| 2.3.1 | 281 | 8/21/2025 |
| 2.2.0 | 401 | 4/6/2025 |
| 2.1.0 | 648 | 3/24/2025 |
| 2.0.0 | 319 | 3/23/2025 |
| 2.0.0-beta3 | 254 | 12/21/2024 |
| 2.0.0-alpha2 | 379 | 11/1/2023 |
| 2.0.0-alpha10 | 244 | 6/19/2024 |
| 1.0.9 | 644 | 5/7/2023 |
| 1.0.8 | 634 | 8/30/2022 |
| 1.0.5 | 679 | 5/7/2022 |
| 1.0.4 | 641 | 5/7/2022 |
| 1.0.3 | 591 | 5/7/2022 |
| 1.0.2 | 623 | 4/12/2022 |
| 1.0.1 | 599 | 4/9/2022 |
- Added `GetUserAdminClubsAsync`, `GetUserFavoriteMapsAsync`, `AddUserFavoriteMapAsync`, and `RemoveUserFavoriteMapAsync` for player OAuth tokens
- Added public JSON converters and access to `TrackmaniaAPIHandler.Authorization` for external serialization and player tokens
- Fixed concurrent authorization for clients sharing a handler and encoding of multiple OAuth scopes
- Fixed display name and account ID lookups handling empty results without hiding malformed JSON, and escaped display names in requests
- Updated the User-Agent to report the installed package version
- Added .NET 11 support