Close httplib2 connections.
get(leaderboardId, language=None, x__xgafv=None)
Retrieves the metadata of the leaderboard with the given ID.
list(language=None, maxResults=None, pageToken=None, x__xgafv=None)
Lists all the leaderboard metadata for your application.
Retrieves the next page of results.
close()
Close httplib2 connections.
get(leaderboardId, language=None, x__xgafv=None)
Retrieves the metadata of the leaderboard with the given ID.
Args:
leaderboardId: string, The ID of the leaderboard. (required)
language: string, The preferred language to use for strings returned by this method.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # The Leaderboard resource.
"iconUrl": "A String", # The icon for the leaderboard.
"id": "A String", # The leaderboard ID.
"isIconUrlDefault": True or False, # Indicates whether the icon image being returned is a default image, or is game-provided.
"kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed string `games#leaderboard`.
"name": "A String", # The name of the leaderboard.
"order": "A String", # How scores are ordered.
}
list(language=None, maxResults=None, pageToken=None, x__xgafv=None)
Lists all the leaderboard metadata for your application.
Args:
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`.
pageToken: string, The token returned by the previous request.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # A list of leaderboard objects.
"items": [ # The leaderboards.
{ # The Leaderboard resource.
"iconUrl": "A String", # The icon for the leaderboard.
"id": "A String", # The leaderboard ID.
"isIconUrlDefault": True or False, # Indicates whether the icon image being returned is a default image, or is game-provided.
"kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed string `games#leaderboard`.
"name": "A String", # The name of the leaderboard.
"order": "A String", # How scores are ordered.
},
],
"kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed string `games#leaderboardListResponse`.
"nextPageToken": "A String", # Token corresponding to the next page of results.
}
list_next()
Retrieves the next page of results.
Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)
Returns:
A request object that you can call 'execute()' on to request the next
page. Returns None if there are no more items in the collection.