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.Achievements.Unlock

Contents

Description

Unlocks this achievement for the currently authenticated player.

See: Google Play Game Services API Reference for games.achievements.unlock.

Synopsis

REST Resource

type AchievementsUnlockResource = "games" :> ("v1" :> ("achievements" :> (Capture "achievementId" Text :> ("unlock" :> (QueryParam "alt" AltJSON :> Post `[JSON]` AchievementUnlockResponse))))) Source

A resource alias for games.achievements.unlock method which the AchievementsUnlock request conforms to.

Creating a Request

achievementsUnlock Source

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

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

Request Lenses

auAchievementId :: Lens' AchievementsUnlock Text Source

The ID of the achievement used by this method.