Skip to content Skip to sidebar Skip to footer

Get Player Details From Google Play Games Service Storage

I have an android game configured with Google Play Games API. API works perfectly and user can sign in, use leaderboard, earn achievements, etc. Now i want to access Player details

Solution 1:

From here: https://developers.google.com/games/services/web/api/players/get

You need to send an HTTP GET request with playerId as

GET https://www.googleapis.com/games/v1/players/playerId

This request requires authorization with the following scope

https://www.googleapis.com/auth/games

If successful, this method returns a Players resource in the response body.

Here's the JSON template for a Player resource:

https://developers.google.com/games/services/web/api/players#resource

Post a Comment for "Get Player Details From Google Play Games Service Storage"