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

Contents

Description

Get a list of quests for your application and the currently authenticated player.

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

Synopsis

REST Resource

type QuestsListResource = "games" :> ("v1" :> ("players" :> (Capture "playerId" Text :> ("quests" :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` QuestListResponse)))))))) Source

A resource alias for games.quests.list method which the QuestsList request conforms to.

Creating a Request

questsList Source

Arguments

:: Text

qlPlayerId

-> QuestsList 

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

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

data QuestsList Source

Get a list of quests for your application and the currently authenticated player.

See: questsList smart constructor.

Request Lenses

qlLanguage :: Lens' QuestsList (Maybe Text) Source

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

qlPageToken :: Lens' QuestsList (Maybe Text) Source

The token returned by the previous request.

qlPlayerId :: Lens' QuestsList Text Source

A player ID. A value of me may be used in place of the authenticated player's ID.

qlMaxResults :: Lens' QuestsList (Maybe Int32) Source

The maximum number of quest resources to return in the response, used for paging. For any response, the actual number of quest resources returned may be less than the specified maxResults. Acceptable values are 1 to 50, inclusive. (Default: 50).