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

Contents

Description

Lists the progress for all your application's achievements for the currently authenticated player.

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

Synopsis

REST Resource

type AchievementsListResource = "games" :> ("v1" :> ("players" :> (Capture "playerId" Text :> ("achievements" :> (QueryParam "state" AchievementsListState :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` PlayerAchievementListResponse))))))))) Source

A resource alias for games.achievements.list method which the AchievementsList request conforms to.

Creating a Request

achievementsList Source

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

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

data AchievementsList Source

Lists the progress for all your application's achievements for the currently authenticated player.

See: achievementsList smart constructor.

Request Lenses

alState :: Lens' AchievementsList (Maybe AchievementsListState) Source

Tells the server to return only achievements with the specified state. If this parameter isn't specified, all achievements are returned.

alLanguage :: Lens' AchievementsList (Maybe Text) Source

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

alPageToken :: Lens' AchievementsList (Maybe Text) Source

The token returned by the previous request.

alPlayerId :: Lens' AchievementsList Text Source

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

alMaxResults :: Lens' AchievementsList (Maybe Int32) Source

The maximum number of achievement resources to return in the response, used for paging. For any response, the actual number of achievement resources returned may be less than the specified maxResults.