Skip to main content

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

Project description

MapleStory OpenAPI Python Library

PyPi

넥슨의 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)

Uploaded Source

Built Distribution

maplestory_openapi-2.5.0-py3-none-any.whl (36.4 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