Get Player Information
The Game Server Hit the App Server to get Player Information
Request URL:
Provided By You
Should Be protected by SSL (https)
Method: GET
Request Parameters:
Param
Val
Required
Description
token
String
YES
The User API Authoriaztion Token
game_id
String
YES
The Game ID You received from Game-ox.com
lang
String
NO
sign
String
YES
MD5 Hash.
game_id + token
Response parameters
Param
Val
Required
Description
error_code
Int
YES
0
if no errors
1
if any error occurs
error_message
String
YES
null
if no errors
string message
if any error occurs
data
Object
YES
Player Data Object
Player Data Object
Param
Val
Required
Description
name
String
YES
Player nickname
uid
String
YES
Player Unique Identifier
avatar
String
YES
Player Avatar Image URL
coins
Int
YES
Player Current Coins
Sample Request:
Sample Response (success) :
Sample Response (error):
Last updated