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

Contents

Description

Get the data for a turn-based match.

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

Synopsis

REST Resource

type TurnBasedMatchesGetResource = "games" :> ("v1" :> ("turnbasedmatches" :> (Capture "matchId" Text :> (QueryParam "includeMatchData" Bool :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` TurnBasedMatch)))))) Source

A resource alias for games.turnBasedMatches.get method which the TurnBasedMatchesGet request conforms to.

Creating a Request

turnBasedMatchesGet Source

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

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

Request Lenses

tbmgIncludeMatchData :: Lens' TurnBasedMatchesGet (Maybe Bool) Source

Get match data along with metadata.

tbmgLanguage :: Lens' TurnBasedMatchesGet (Maybe Text) Source

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