v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-133977107.4 KB
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