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.Players.Get

Contents

Description

Retrieves the Player resource with the given ID. To retrieve the player for the currently authenticated user, set playerId to me.

See: Google Play Game Services API Reference for games.players.get.

Synopsis

REST Resource

type PlayersGetResource = "games" :> ("v1" :> ("players" :> (Capture "playerId" Text :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` Player))))) Source

A resource alias for games.players.get method which the PlayersGet request conforms to.

Creating a Request

playersGet Source

Arguments

:: Text

pgPlayerId

-> PlayersGet 

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

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

data PlayersGet Source

Retrieves the Player resource with the given ID. To retrieve the player for the currently authenticated user, set playerId to me.

See: playersGet smart constructor.

Request Lenses

pgLanguage :: Lens' PlayersGet (Maybe Text) Source

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

pgPlayerId :: Lens' PlayersGet Text Source

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