Leaderboards
Stay organized with collections
Save and categorize content based on your preferences.
For a list of methods for this resource, see the end of this page.
Resource representations
This is a JSON template for the Leaderboard resource.
{
"kind": "games#leaderboard",
"id": string,
"name": string,
"iconUrl": string,
"isIconUrlDefault": boolean,
"order": string
}
Property name |
Value |
Description |
Notes |
iconUrl |
string |
The icon for the leaderboard. |
|
id |
string |
The leaderboard ID. |
|
isIconUrlDefault |
boolean |
Indicates whether the icon image being returned is a default image, or is game-provided. |
|
kind |
string |
Uniquely identifies the type of this resource. Value is always the fixed string games#leaderboard . |
|
name |
string |
The name of the leaderboard. |
|
order |
string |
How scores are ordered. Possible values are: - "
LARGER_IS_BETTER " - Larger values are better; scores are sorted in descending order. - "
SMALLER_IS_BETTER " - Smaller values are better; scores are sorted in ascending order.
Acceptable values are:
- "
LARGER_IS_BETTER "
- "
SMALLER_IS_BETTER "
|
|
Methods
- get
- Retrieves the metadata of the leaderboard with the given ID.
- list
- Lists all the leaderboard metadata for your application.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2019-11-06 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]