Game Player
To retrieve all game's player Info
Endpoint:/v1/game/<GameId>/player
Method:GET
In sandbox mode, use a fixed playerId: 5560524498
Request Header
Param
Type
Required
Description
Authorization
string
yes
<AppSecret>
Timestamp
string
yes
timestamp
Signature
string
yes
Merchant private key to generate signature
Path Params
Param
Type
Required
Description
partition
string
no
If there is a partition in the game data, it must be included when querying the player ID. Generally, the zoneId in the game data's partition is taken.
id
string
no
game player id,5560524498
In sandbox mode, use a fixed playerId: 5560524498
Sample Get
curl https://openapi.gameleme.com/v1/game/<gameId>/player?partition=1&id=33232323
--header "Authorization: <AppSecret>" \
--header "Content-Type: application/json" \
--header "Timestamp: <Timestamp>" \
--header "Signature: <Signature>" \
-X GETSample Response
Last updated