This Python library enables the use of the MapleStory OpenAPI of Nexon.
Project description
MapleStory OpenAPI Python Library
넥슨의 MapleStory OpenAPI를 Python 환경에서 사용할 수 있게 해주는 라이브러리입니다.
다른 언어로 작성된 패키지는 여기에서 확인할 수 있습니다.
(English document is HERE)
Installation
python 기반 프로젝트에 아래 정보를 입력하여 패키지를 추가하세요:
pip install maplestory-openapi
Usage
API Key
라이브러리를 사용하기 전에 Nexon Open API 콘솔에서 애플리케이션을 등록하고 api key를 발급 받으세요.
Supports
≧ Python 3.9
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.5.0.tar.gz
(20.0 kB
view hashes)
Built Distribution
Close
Hashes for maplestory_openapi-2.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81cf35a2abad407c58010458015fd0c092639c392578396f661a249f00526385 |
|
MD5 | da54dad739b485634a88eda4f1f0705a |
|
BLAKE2b-256 | 57bc88eb716ce17806bb4d8d367f41638ce873f2954dd4612d21ef55fb8770d3 |