ManiaAPI.ManiaPlanetAPI
2.1.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package ManiaAPI.ManiaPlanetAPI --version 2.1.0
NuGet\Install-Package ManiaAPI.ManiaPlanetAPI -Version 2.1.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="ManiaAPI.ManiaPlanetAPI" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ManiaAPI.ManiaPlanetAPI" Version="2.1.0" />
<PackageReference Include="ManiaAPI.ManiaPlanetAPI" />
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 ManiaAPI.ManiaPlanetAPI --version 2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ManiaAPI.ManiaPlanetAPI, 2.1.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.
#addin nuget:?package=ManiaAPI.ManiaPlanetAPI&version=2.1.0
#tool nuget:?package=ManiaAPI.ManiaPlanetAPI&version=2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ManiaAPI.ManiaPlanetAPI
Wraps https://maniaplanet.com/swagger (ManiaPlanet web API). This API does not require authorization, but you can authorize to have more methods available.
Features
Setup
For the list of scopes, see here at the bottom. Generate your credentials here.
using ManiaAPI.ManiaPlanetAPI;
var mp = new ManiaPlanetAPI();
// You can optionally authorize to do more things, and possibly be less limited
await mp.AuthorizeAsync("clientId", "clientSecret", ["basic", "dedicated", "maps"]);
// Ready to use
or with DI, using an injected HttpClient
:
using ManiaAPI.ManiaPlanetAPI;
builder.Services.AddHttpClient<ManiaPlanetAPI>();
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on ManiaAPI.ManiaPlanetAPI:
Package | Downloads |
---|---|
ManiaAPI.ManiaPlanetAPI.Extensions.Hosting
Extension methods of ManiaPlanet 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.2.0 | 44 | 4/6/2025 |
2.1.0 | 451 | 3/24/2025 |
2.0.0 | 142 | 3/23/2025 |
2.0.0-beta3 | 71 | 12/21/2024 |
2.0.0-beta2 | 99 | 7/12/2024 |
2.0.0-alpha2 | 254 | 11/1/2023 |
2.0.0-alpha10 | 87 | 6/19/2024 |