MojangAPI 1.0.3
.NET 5.0
.NET Core 3.1
.NET Framework 4.6.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
Install-Package MojangAPI -Version 1.0.3
dotnet add package MojangAPI --version 1.0.3
<PackageReference Include="MojangAPI" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MojangAPI --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MojangAPI, 1.0.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install MojangAPI as a Cake Addin
#addin nuget:?package=MojangAPI&version=1.0.3
// Install MojangAPI as a Cake Tool
#tool nuget:?package=MojangAPI&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Mojang API
.NET Library for Mojang API, Mojang Authentication and Microsoft Xbox Authentication
- Asynchronous API
- Getting Player Data
- Changing Player Name or Skin
- Mojang Authentication
- Microsoft Authentication
- Security Question-Answer
- Statistics
Support:
- .NET Framework 4.6.2
- .NET Core 3.1
- .NET 5.0
Install
Use Nuget package MojangAPI or download dll from release.
Dependencies
- Newtonsoft.Json
- System.Net.Http
Usage
Include these namespaces :
using MojangAPI;
using MojangAPI.Model;
Sample program: MojangAPISample
MojangAPI
Getting player profile, Changing name or skin, Statistics, Blocked Server, Checking Game Ownership
Authentication
Mojang Yggdrasil authentication.
XboxAuthentication
Microsoft Xbox Authentication
SecurityQuestion
Security question-answer flow
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp3.1 |
.NET Framework | net462 net463 net47 net471 net472 net48 |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- Newtonsoft.Json (>= 12.0.3)
- System.Net.Http (>= 4.3.4)
-
.NETFramework 4.6.2
- Newtonsoft.Json (>= 12.0.3)
- System.Net.Http (>= 4.3.4)
-
net5.0
- Newtonsoft.Json (>= 12.0.3)
- System.Net.Http (>= 4.3.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on MojangAPI:
Repository | Stars |
---|---|
ConcreteMC/Alex
A Minecraft client written in C# aimed at compatibility with MC:Java & MC:Bedrock
|