Integration Guide > https:/wiki/spaces/KS4GFP/pages/533921827kakaogames.atlassian.net/wiki/x/Bw8GLw
목차 |
---|
minLevel | 1 |
---|
maxLevel | 1 |
---|
outline | false |
---|
type | list |
---|
printable | false |
---|
|
...
/member/player
Description
Player Query
Method
...
코드 블럭 |
---|
| HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"kgAppId": "909428",
"playerId": "255331998494720",
"status": "normal",
"info": {
"nickname": "kakaogames-1684393113872",
"lang" : "KO"
"lastLoginTime": 1684393114000
}
}
// accessToken authentication error.
HTTP/1.1 401
{
"desc": "Invalid player token. (401.-20007)"
}
// No player information (-10005)
HTTP/1.1 406 Not Acceptable
{
"desc": "There is no player. (406.-10005)"
} |
|
...
/member/player-list
Description
Retrieve a list of players.
...
코드 블럭 |
---|
| HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
// playerIds query > response playerId key
{
"players": [
{
"156176766994432": {
"kgAppId": "909428",
"playerId": "156176766994432",
"status": "normal",
"nickname": "kakaogames-1672048155324",
"lang": "ko",
"data": {
"country": "kr",
"deviceId": "1234567890qwerasdfzxcv"
}
}
},
{
"156176766994123": {
"kgAppId": "909428",
"playerId": "156176766994123",
"status": "normal",
"nickname": "kakaogames-1672048155324",
"lang": "ko",
"data": {
"country": "kr",
"deviceId": "1234567890qwerasdfzxcv"
}
}
}
]
}
// idpIds query > response idpId key
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"players": [
{
"1234567": {
"kgAppId": "909428",
"playerId": "156176766994432",
"status": "normal",
"nickname": "kakaogames-1672048155324",
"lang": "ko",
"data": {
"country": "kr",
"deviceId": "1234567890qwerasdfzxcv"
}
}
},
{
"2222222": {
"kgAppId": "909428",
"playerId": "156176766994123",
"status": "normal",
"nickname": "kakaogames-1672048155324",
"lang": "ko",
"data": {
"country": "kr",
"deviceId": "1234567890qwerasdfzxcv"
}
}
}
]
}
// No player information
HTTP/1.1 406 Not Acceptable
{
"desc": "There is no player. (406.-10005)"
} |
|
...
/member/player/member-key
Description
Query player member keys
...
코드 블럭 |
---|
| HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"memberKeyMap": {
"kakaocapri": "KSa5X29vLQONBFWdPGu6ji_FQThn3.U3gdoLVUBHpFzMZtsEEhGHmcBocceNJc_H"
}
}
// No player information
HTTP/1.1 406 Not Acceptable
{
"desc": "There is no player. (406.-10005)"
} |
|
...
/member/uuid/player-id
Description
Retrieve playerId using kgAppId and UUID.
...
코드 블럭 |
---|
| HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"playerId": "314621196361"
} |
|
...
/member/idp/info-list
Description
Retrieve a list of IDP information of a player.
...