- Joined
- Jan 9, 2008
- Messages
- 818
- Reaction score
- 847
Nexon API - reference
This thread is a reference for Nexon's API, got by 'reverse engineering'.
Base URL
They use the following URL for their API:
Methods
All methods use a JSON response format, and require the access_token GET argument (except login).
POST /login
This method is used for logging in and getting the access_token.
POST values:
uid = Username
pw = Password
Response:
return_code (int) = Error code, 0 if it was okay
access_token (string) = The access_token you need for several methods
user_no (int) = Account ID
GET /me
This method is used for getting information of the account, such as e-mail, library and login token.
GET values:
None
Response:
id (int) = Account ID (same as user_no from the login response)
email (string) = Registration e-mail
profile_name (string) = Mine is trendyStep, dafuck?
passport_string (string) = Nexon Auth login token (used for signing in into MapleStory, in the login packet)
library (array) = Probably list of games.
GET /users/{UID}/
This method is used for getting more information of the account, such as username (the original one), login IP, and profile info including tagline and privacy level?
GET values:
None
Response:
user_no (string) = Account ID (same as user_no from the login response)
user_id (string) = Username used at registration
login_ip (string) = IP used when you logged in..?
profile (array) = Info about the profile
-> user_no (int) = Account ID, again
-> profile_name (string) = Profile name, trendyStep?
-> tagline (string) = ?? Empty?
-> privacy_level (int) = Privacy level, 40 standard?
products (array) = Products again
GET /chat/nickname
Gets you your chat nickname... wut
GET values:
None
Response:
nickname (string) = Your nickname
profilename (string) = Your profilename
is_default (bool) = Sometimes true, but then the profilename is "Profile Name"
GET /chat/friendslist
Friends? Wuts dat
GET values:
None
Response:
apiname (string) = API name; friendslist
uid (string) = Account ID
friends (array) = Your friends. Probably none. Like mine...
GET /shop/nxcash
This method shows you the amount of NX cash and such the account has
GET values:
None
Response:
success (array) = Array of success info:
-> code (int) = Error code
-> message (int) = Error message
-> data (array) = Response info data
-> -> user_no (string) = User ID
-> -> nx_credit (int) = Amount of NX credit the user has
-> -> nx_prepaid (int) = Amount of NX prepaid the user has
More to come
This thread is a reference for Nexon's API, got by 'reverse engineering'.
Base URL
They use the following URL for their API:
Code:
http://api.nexon.net/
Methods
All methods use a JSON response format, and require the access_token GET argument (except login).
POST /login
This method is used for logging in and getting the access_token.
POST values:
uid = Username
pw = Password
Response:
return_code (int) = Error code, 0 if it was okay
access_token (string) = The access_token you need for several methods
user_no (int) = Account ID
GET /me
This method is used for getting information of the account, such as e-mail, library and login token.
GET values:
None
Response:
id (int) = Account ID (same as user_no from the login response)
email (string) = Registration e-mail
profile_name (string) = Mine is trendyStep, dafuck?
passport_string (string) = Nexon Auth login token (used for signing in into MapleStory, in the login packet)
library (array) = Probably list of games.
GET /users/{UID}/
This method is used for getting more information of the account, such as username (the original one), login IP, and profile info including tagline and privacy level?
GET values:
None
Response:
user_no (string) = Account ID (same as user_no from the login response)
user_id (string) = Username used at registration
login_ip (string) = IP used when you logged in..?
profile (array) = Info about the profile
-> user_no (int) = Account ID, again
-> profile_name (string) = Profile name, trendyStep?
-> tagline (string) = ?? Empty?
-> privacy_level (int) = Privacy level, 40 standard?
products (array) = Products again
GET /chat/nickname
Gets you your chat nickname... wut
GET values:
None
Response:
nickname (string) = Your nickname
profilename (string) = Your profilename
is_default (bool) = Sometimes true, but then the profilename is "Profile Name"
GET /chat/friendslist
Friends? Wuts dat
GET values:
None
Response:
apiname (string) = API name; friendslist
uid (string) = Account ID
friends (array) = Your friends. Probably none. Like mine...
GET /shop/nxcash
This method shows you the amount of NX cash and such the account has
GET values:
None
Response:
success (array) = Array of success info:
-> code (int) = Error code
-> message (int) = Error message
-> data (array) = Response info data
-> -> user_no (string) = User ID
-> -> nx_credit (int) = Amount of NX credit the user has
-> -> nx_prepaid (int) = Amount of NX prepaid the user has
More to come
Last edited: