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.Scores.List

Contents

Description

Lists the scores in a leaderboard, starting from the top.

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

Synopsis

REST Resource

type ScoresListResource = "games" :> ("v1" :> ("leaderboards" :> (Capture "leaderboardId" Text :> ("scores" :> (Capture "collection" ScoresListCollection :> (QueryParam "timeSpan" ScoresListTimeSpan :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` LeaderboardScores)))))))))) Source

A resource alias for games.scores.list method which the ScoresList request conforms to.

Creating a Request

scoresList Source

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

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

data ScoresList Source

Lists the scores in a leaderboard, starting from the top.

See: scoresList smart constructor.

Request Lenses

sllCollection :: Lens' ScoresList ScoresListCollection Source

The collection of scores you're requesting.

sllTimeSpan :: Lens' ScoresList ScoresListTimeSpan Source

The time span for the scores and ranks you're requesting.

sllLeaderboardId :: Lens' ScoresList Text Source

The ID of the leaderboard.

sllLanguage :: Lens' ScoresList (Maybe Text) Source

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

sllPageToken :: Lens' ScoresList (Maybe Text) Source

The token returned by the previous request.

sllMaxResults :: Lens' ScoresList (Maybe Int32) Source

The maximum number of leaderboard scores to return in the response. For any response, the actual number of leaderboard scores returned may be less than the specified maxResults.