| 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.Events.ListByPlayer
Description
Returns a list showing the current progress on events in this application for the currently authenticated user.
See: Google Play Game Services API Reference for games.events.listByPlayer.
Synopsis
- type EventsListByPlayerResource = "games" :> ("v1" :> ("events" :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PlayerEventListResponse))))))
- eventsListByPlayer :: EventsListByPlayer
- data EventsListByPlayer
- elbpLanguage :: Lens' EventsListByPlayer (Maybe Text)
- elbpPageToken :: Lens' EventsListByPlayer (Maybe Text)
- elbpMaxResults :: Lens' EventsListByPlayer (Maybe Int32)
REST Resource
type EventsListByPlayerResource = "games" :> ("v1" :> ("events" :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PlayerEventListResponse)))))) Source #
A resource alias for games.events.listByPlayer method which the
EventsListByPlayer request conforms to.
Creating a Request
eventsListByPlayer :: EventsListByPlayer Source #
Creates a value of EventsListByPlayer with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EventsListByPlayer Source #
Returns a list showing the current progress on events in this application for the currently authenticated user.
See: eventsListByPlayer smart constructor.
Instances
Request Lenses
elbpLanguage :: Lens' EventsListByPlayer (Maybe Text) Source #
The preferred language to use for strings returned by this method.
elbpPageToken :: Lens' EventsListByPlayer (Maybe Text) Source #
The token returned by the previous request.
elbpMaxResults :: Lens' EventsListByPlayer (Maybe Int32) Source #
The maximum number of events to return in the response, used for paging. For any response, the actual number of events to return may be less than the specified maxResults.