| 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 |
Network.Google.Resource.Games.Leaderboards.Get
Description
Retrieves the metadata of the leaderboard with the given ID.
See: Google Play Game Services API Reference for games.leaderboards.get.
Synopsis
- type LeaderboardsGetResource = "games" :> ("v1" :> ("leaderboards" :> (Capture "leaderboardId" Text :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Leaderboard)))))
- leaderboardsGet :: Text -> LeaderboardsGet
- data LeaderboardsGet
- lgLeaderboardId :: Lens' LeaderboardsGet Text
- lgLanguage :: Lens' LeaderboardsGet (Maybe Text)
REST Resource
type LeaderboardsGetResource = "games" :> ("v1" :> ("leaderboards" :> (Capture "leaderboardId" Text :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Leaderboard))))) Source #
A resource alias for games.leaderboards.get method which the
LeaderboardsGet request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> LeaderboardsGet |
Creates a value of LeaderboardsGet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LeaderboardsGet Source #
Retrieves the metadata of the leaderboard with the given ID.
See: leaderboardsGet smart constructor.
Instances
Request Lenses
lgLeaderboardId :: Lens' LeaderboardsGet Text Source #
The ID of the leaderboard.
lgLanguage :: Lens' LeaderboardsGet (Maybe Text) Source #
The preferred language to use for strings returned by this method.