- HTTP request
- Query parameters
- Request body
- Response body
- Authorization scopes
- ApplicationPlayerId
- Try it!
Get the application player ids for the currently authenticated player across all requested games by the same developer as the calling application. This will only return ids for players that actually have an id (scoped or otherwise) with that game.
HTTP request
GET https://games.googleapis.com/games/v1/players/me/multipleApplicationPlayerIds
Query parameters
Parameters | |
---|---|
applicationIds[] |
Required. The application IDs from the Google Play developer console for the games to return scoped ids for. |
Request body
The request body must be empty.
Response body
Response message for players.getMultipleApplicationPlayerIds rpc.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"playerIds": [
{
object ( |
Fields | |
---|---|
playerIds[] |
Output only. The requested applications along with the scoped ids for tha player, if that player has an id for the application. If not, the application is not included in the response. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/games
https://www.googleapis.com/auth/games_lite
For more information, see the OAuth 2.0 Overview.
ApplicationPlayerId
Primary scoped player identifier for an application.
JSON representation |
---|
{ "applicationId": string, "playerId": string } |
Fields | |
---|---|
applicationId |
The application that this player identifier is for. |
playerId |
The player identifier for the application. |