scores
Lists the scores in a leaderboard, starting from the top.
get/games/v1/leaderboards/{leaderboardId}/scores/{collection}
Path parameters
leaderboardIdstring required
The ID of the leaderboard.
collection'PUBLIC' | 'SOCIAL' | 'FRIENDS' required
The collection of scores you're requesting.
Query parameters
timeSpan'ALL_TIME' | 'WEEKLY' | 'DAILY' required
Required. The time span for the scores and ranks you're requesting.
languagestring
The preferred language to use for strings returned by this method.
maxResultsinteger
The maximum number of leaderboard scores to return in the response. For any response, the actual number of leaderboard scores returned may be less than the specified maxResults.
pageTokenstring
The token returned by the previous request.
Response
Successful response