Skip to main content

leaderboards

Overview

Nameleaderboards
TypeResource
Idgoogledevelopers.games.leaderboards

Fields

NameDatatypeDescription
idstringThe leaderboard ID.
namestringThe name of the leaderboard.
isIconUrlDefaultbooleanIndicates whether the icon image being returned is a default image, or is game-provided.
kindstringUniquely identifies the type of this resource. Value is always the fixed string games#leaderboard.
orderstringHow scores are ordered.
iconUrlstringThe icon for the leaderboard.

Methods

NameAccessible byRequired ParamsDescription
getSELECTleaderboardIdRetrieves the metadata of the leaderboard with the given ID.
listSELECTLists all the leaderboard metadata for your application.