Leaderboards: list

Requires authorization

Lists all the leaderboard metadata for your application. Try it now.

Request

HTTP request

GET https://www.googleapis.com/games/v1/leaderboards

Parameters

Parameter name Value Description
Optional query parameters
consistencyToken long The last-seen mutation timestamp.
language string The preferred language to use for strings returned by this method.
maxResults integer The maximum number of leaderboards to return in the response. For any response, the actual number of leaderboards returned may be less than the specified maxResults. Acceptable values are 1 to 200, inclusive.
pageToken string The token returned by the previous request.

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

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

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "games#leaderboardListResponse",
  "nextPageToken": string,
  "items": [
    leaderboards Resource
  ]
}
Property name Value Description Notes
kind string Uniquely identifies the type of this resource. Value is always the fixed string games#leaderboardListResponse.
nextPageToken string Token corresponding to the next page of results.
items[] list The leaderboards.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Send feedback about...

Play Games Services for Web
Play Games Services for Web