Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Get the data for a turn-based match.
See: Google Play Game Services API Reference for games.turnBasedMatches.get
.
Synopsis
- type TurnBasedMatchesGetResource = "games" :> ("v1" :> ("turnbasedmatches" :> (Capture "matchId" Text :> (QueryParam "includeMatchData" Bool :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] TurnBasedMatch))))))
- turnBasedMatchesGet :: Text -> TurnBasedMatchesGet
- data TurnBasedMatchesGet
- tbmgIncludeMatchData :: Lens' TurnBasedMatchesGet (Maybe Bool)
- tbmgLanguage :: Lens' TurnBasedMatchesGet (Maybe Text)
- tbmgMatchId :: Lens' TurnBasedMatchesGet Text
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
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:
data TurnBasedMatchesGet Source #
Get the data for a turn-based match.
See: turnBasedMatchesGet
smart constructor.
Instances
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.
tbmgMatchId :: Lens' TurnBasedMatchesGet Text Source #
The ID of the match.