MapleStory.NET
5.3.3
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 MapleStory.NET --version 5.3.3
NuGet\Install-Package MapleStory.NET -Version 5.3.3
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="MapleStory.NET" Version="5.3.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MapleStory.NET --version 5.3.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MapleStory.NET, 5.3.3"
#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.
// Install MapleStory.NET as a Cake Addin #addin nuget:?package=MapleStory.NET&version=5.3.3 // Install MapleStory.NET as a Cake Tool #tool nuget:?package=MapleStory.NET&version=5.3.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MapleStory.NET
English | 한국어
MapleStory.NET is a wrapper to simplify the use of Nexon's MapleStory Open API, which offers functionality for retrieving data, such as character details, cube usage results, and various rankings.
Installation
dotnet add package MapleStory.NET
How to use
API Key
API Key will be generated once you register your application on Nexon Open API Center.
Example code
using MapleStory.NET;
var apiKey = "Your_api_key_here";
using var httpClient = new HttpClient();
var client = new MapleStoryClient(httpClient, apiKey);
var overallRankingResult = await client.RankingApi.GetOverallRankingAsync(); //fetch overall ranking
if (!overallRankingResult.Success)
{
Console.WriteLine(overallRankingResult.Error);
return;
}
var top10 = overallRankingResult.Data!.Ranking!.Take(10); //get top 10 characters
var firstPlace = top10.First(); //get first place
var characterResult = await client.CharacterApi.GetAsync(firstPlace.CharacterName!); //fetch character identifier(ocid)
if (!characterResult.Success)
{
Console.WriteLine(characterResult.Error);
return;
}
var ocid = characterResult.Data!.Ocid!;
var characterBasicResult = await client.CharacterApi.GetBasicAsync(ocid); //fetch basic data
if (!characterBasicResult.Success)
{
Console.WriteLine(characterBasicResult.Error);
return;
}
var characterBasic = characterBasicResult.Data;
Console.WriteLine(characterBasic.ToJsonString());
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Microsoft.Extensions.Logging (>= 8.0.0)
- Microsoft.Extensions.Logging.Console (>= 8.0.0)
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 |
---|---|---|
6.5.0 | 129 | 4/14/2024 |
6.4.0 | 117 | 3/17/2024 |
6.3.3 | 124 | 1/27/2024 |
5.3.3 | 124 | 1/12/2024 |
5.2.3 | 115 | 1/12/2024 |
4.2.3 | 129 | 1/7/2024 |
4.2.2 | 120 | 1/6/2024 |
4.2.1 | 124 | 1/6/2024 |
3.2.1 | 117 | 1/4/2024 |
3.2.0 | 135 | 1/3/2024 |
2.2.0 | 135 | 1/3/2024 |
1.2.0 | 124 | 1/2/2024 |
1.1.0 | 115 | 1/2/2024 |
1.0.1 | 126 | 1/2/2024 |
1.0.0 | 126 | 1/2/2024 |