- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Retrieves the Player resource with the given ID. To retrieve the player for the currently authenticated user, set playerId to me.
HTTP request
GET https://games.googleapis.com/games/v1/players/{playerId}
Path parameters
| Parameters | |
|---|---|
| playerId | 
 A player ID. A value of  | 
Query parameters
| Parameters | |
|---|---|
| language | 
 The preferred language to use for strings returned by this method. | 
| playerIdConsistencyToken | 
 Consistency token of the player id. The call returns a 'not found' result when the token is present and invalid. Empty value is ignored. See also GlobalPlayerIdConsistencyTokenProto | 
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Player.
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.
