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 |
Lists all the leaderboard metadata for your application.
See: Google Play Game Services API Reference for games.leaderboards.list
.
Synopsis
- type LeaderboardsListResource = "games" :> ("v1" :> ("leaderboards" :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] LeaderboardListResponse))))))
- leaderboardsList :: LeaderboardsList
- data LeaderboardsList
- llLanguage :: Lens' LeaderboardsList (Maybe Text)
- llPageToken :: Lens' LeaderboardsList (Maybe Text)
- llMaxResults :: Lens' LeaderboardsList (Maybe Int32)
REST Resource
type LeaderboardsListResource = "games" :> ("v1" :> ("leaderboards" :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] LeaderboardListResponse)))))) Source #
A resource alias for games.leaderboards.list
method which the
LeaderboardsList
request conforms to.
Creating a Request
leaderboardsList :: LeaderboardsList Source #
Creates a value of LeaderboardsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LeaderboardsList Source #
Lists all the leaderboard metadata for your application.
See: leaderboardsList
smart constructor.
Instances
Request Lenses
llLanguage :: Lens' LeaderboardsList (Maybe Text) Source #
The preferred language to use for strings returned by this method.
llPageToken :: Lens' LeaderboardsList (Maybe Text) Source #
The token returned by the previous request.
llMaxResults :: Lens' LeaderboardsList (Maybe Int32) Source #
The maximum number of leaderboards to return in the response. For any response, the actual number of leaderboards returned may be less than the specified maxResults.