gogol-games-0.4.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 "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 # 
Instance details

Defined in Network.Google.Resource.Games.Scores.List

Data ScoresList Source # 
Instance details

Defined in Network.Google.Resource.Games.Scores.List

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 # 
Instance details

Defined in Network.Google.Resource.Games.Scores.List

Generic ScoresList Source # 
Instance details

Defined in Network.Google.Resource.Games.Scores.List

Associated Types

type Rep ScoresList :: Type -> Type #

GoogleRequest ScoresList Source # 
Instance details

Defined in Network.Google.Resource.Games.Scores.List

Associated Types

type Rs ScoresList :: Type #

type Scopes ScoresList :: [Symbol] #

type Rep ScoresList Source # 
Instance details

Defined in Network.Google.Resource.Games.Scores.List

type Rep ScoresList = D1 (MetaData "ScoresList" "Network.Google.Resource.Games.Scores.List" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "ScoresList'" PrefixI True) ((S1 (MetaSel (Just "_sllCollection") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ScoresListCollection) :*: (S1 (MetaSel (Just "_sllTimeSpan") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ScoresListTimeSpan) :*: S1 (MetaSel (Just "_sllLeaderboardId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: (S1 (MetaSel (Just "_sllLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sllPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sllMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))
type Scopes ScoresList Source # 
Instance details

Defined in Network.Google.Resource.Games.Scores.List

type Scopes ScoresList = "https://www.googleapis.com/auth/games" ': ([] :: [Symbol])
type Rs ScoresList Source # 
Instance details

Defined in Network.Google.Resource.Games.Scores.List

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.