MapleStory.NET 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package MapleStory.NET --version 1.1.0
                    
NuGet\Install-Package MapleStory.NET -Version 1.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="MapleStory.NET" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MapleStory.NET" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="MapleStory.NET" />
                    
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 MapleStory.NET --version 1.1.0
                    
#r "nuget: MapleStory.NET, 1.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.
#:package MapleStory.NET@1.1.0
                    
#: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=MapleStory.NET&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=MapleStory.NET&version=1.1.0
                    
Install as a Cake Tool

MapleStory.NET

NuGet

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.

Click here to read in Korean.
한국어로 읽으려면 여기를 클릭하세요.

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 System;
using MapleStory.NET;

var apiKey = "Your api key here";

using var client = new MapleStoryClient(apiKey);
var overallRankingResult = await client.RankingApi.GetOverallRankingAsync(); //fetch overall ranking

if (!overallRankingResult.Success)
{
    Console.WriteLine(overallRankingResult.Error);
    return;
}

var characterName = overallRankingResult.Data.Ranking[0].CharacterName;
var characterResult = await client.CharacterApi.GetAsync(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 information

if (!characterBasicResult.Success)
{
    Console.WriteLine(characterBasicResult.Error);
    return;
}

var characterBasic = characterBasicResult.Data;
Console.WriteLine(characterBasic.ToJsonString());
Product 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 was computed.  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 was computed.  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
6.5.0 156 4/14/2024
6.4.0 133 3/17/2024
6.3.3 147 1/27/2024
5.3.3 142 1/12/2024
5.2.3 130 1/12/2024
4.2.3 146 1/7/2024
4.2.2 138 1/6/2024
4.2.1 139 1/6/2024
3.2.1 132 1/4/2024
3.2.0 155 1/3/2024
2.2.0 159 1/3/2024
1.2.0 145 1/2/2024
1.1.0 133 1/2/2024
1.0.1 142 1/2/2024
1.0.0 145 1/2/2024