gogol-games-0.0.1: Google Play Game Services SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Games.Leaderboards.List

Contents

Description

Lists all the leaderboard metadata for your application.

See: Google Play Game Services API Reference for games.leaderboards.list.

Synopsis

REST Resource

type LeaderboardsListResource = "games" :> ("v1" :> ("leaderboards" :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` LeaderboardListResponse)))))) Source

A resource alias for games.leaderboards.list method which the LeaderboardsList request conforms to.

Creating a Request

leaderboardsList :: LeaderboardsList Source

Creates a value of LeaderboardsList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

llLanguage :: Lens' LeaderboardsList (Maybe Text) Source

The preferred language to use for strings returned by this method.

llPageToken :: Lens' LeaderboardsList (Maybe Text) Source

The token returned by the previous request.

llMaxResults :: Lens' LeaderboardsList (Maybe Int32) Source

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.