Skip to main content

This Python library enables the use of the MapleStory OpenAPI of Nexon.

Project description

MapleStory OpenAPI Python Library

PyPi

This Python library enables the use of the MapleStory OpenAPI of Nexon.

Packages written in other languages can be found HERE.

(한국어 문서는 이쪽입니다.)

Installation

Install the latest version of the Python library in your python project:

pip install maplestory-openapi

Usage

API Key

Before using the library, register your application and obtain an api key from the Nexon Open API Console.

Supports

≧ Python 3.9

Sample Code

from maplestory_openapi import MapleStoryApi

api_key = '{Your API Key}'
api = MapleStoryApi(api_key=api_key)

ocid = api.get_character_id('{Your Character Name}').ocid
character_basic_info = api.get_character_basic(ocid=ocid)

Exception Handling

https://openapi.nexon.com/guide/request-api/#error-code-table

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maplestory_openapi-2.4.0.tar.gz (19.5 kB view hashes)

Uploaded Source

Built Distribution

maplestory_openapi-2.4.0-py3-none-any.whl (35.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page