This Python library enables the use of the MapleStory OpenAPI of Nexon.
Project description
MapleStory OpenAPI Python Library
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.1.tar.gz
(19.6 kB
view hashes)
Built Distribution
Close
Hashes for maplestory_openapi-2.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaf91ec035c8d6a7277708cb5eed83022ad0ebd5cfaa8347cbf79534c0c9c3a0 |
|
MD5 | f7af326f3aaeb65def1d0386a2cec0a5 |
|
BLAKE2b-256 | 0257afcee625290e2f9e483ad9002d007537e4d7bdcddfff4b02d08666915ff1 |