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

Copyright(c) 2015-2016 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 "consistencyToken" (Textual Int64) :> (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.

Instances

Eq ScoresList Source # 
Data ScoresList Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ScoresList -> c ScoresList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ScoresList #

toConstr :: ScoresList -> Constr #

dataTypeOf :: ScoresList -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ScoresList) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ScoresList) #

gmapT :: (forall b. Data b => b -> b) -> ScoresList -> ScoresList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ScoresList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ScoresList -> r #

gmapQ :: (forall d. Data d => d -> u) -> ScoresList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ScoresList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ScoresList -> m ScoresList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ScoresList -> m ScoresList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ScoresList -> m ScoresList #

Show ScoresList Source # 
Generic ScoresList Source # 

Associated Types

type Rep ScoresList :: * -> * #

GoogleRequest ScoresList Source # 

Associated Types

type Rs ScoresList :: * #

type Scopes ScoresList :: [Symbol] #

type Rep ScoresList Source # 
type Scopes ScoresList Source # 
type Scopes ScoresList = (:) Symbol "https://www.googleapis.com/auth/games" ((:) Symbol "https://www.googleapis.com/auth/plus.login" ([] Symbol))
type Rs ScoresList Source # 

Request Lenses

sllConsistencyToken :: Lens' ScoresList (Maybe Int64) Source #

The last-seen mutation timestamp.

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.