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 |
Submits multiple scores to leaderboards.
See: Google Play Game Services API Reference for games.scores.submitMultiple
.
Synopsis
- type ScoresSubmitMultipleResource = "games" :> ("v1" :> ("leaderboards" :> ("scores" :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PlayerScoreSubmissionList :> Post '[JSON] PlayerScoreListResponse))))))
- scoresSubmitMultiple :: PlayerScoreSubmissionList -> ScoresSubmitMultiple
- data ScoresSubmitMultiple
- ssmPayload :: Lens' ScoresSubmitMultiple PlayerScoreSubmissionList
- ssmLanguage :: Lens' ScoresSubmitMultiple (Maybe Text)
REST Resource
type ScoresSubmitMultipleResource = "games" :> ("v1" :> ("leaderboards" :> ("scores" :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PlayerScoreSubmissionList :> Post '[JSON] PlayerScoreListResponse)))))) Source #
A resource alias for games.scores.submitMultiple
method which the
ScoresSubmitMultiple
request conforms to.
Creating a Request
Creates a value of ScoresSubmitMultiple
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ScoresSubmitMultiple Source #
Submits multiple scores to leaderboards.
See: scoresSubmitMultiple
smart constructor.
Instances
Request Lenses
ssmPayload :: Lens' ScoresSubmitMultiple PlayerScoreSubmissionList Source #
Multipart request metadata.
ssmLanguage :: Lens' ScoresSubmitMultiple (Maybe Text) Source #
The preferred language to use for strings returned by this method.