# PlayerEvent

- [JSON representation](https://developer.android.com/games/services/web/api/rest/v1/PlayerEvent#SCHEMA_REPRESENTATION)

An event status resource.

|                                                    JSON representation                                                    |
|---------------------------------------------------------------------------------------------------------------------------|
| ``` { "kind": string, "definitionId": string, "playerId": string, "numEvents": string, "formattedNumEvents": string } ``` |

|                                                                                                     Fields                                                                                                     ||
|----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `kind`               | `string` Uniquely identifies the type of this resource. Value is always the fixed string`games#playerEvent`.                                                                             |
| `definitionId`       | `string` The ID of the event definition.                                                                                                                                                 |
| `playerId`           | `string` The ID of the player.                                                                                                                                                           |
| `numEvents`          | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The current number of times this event has occurred.                                                 |
| `formattedNumEvents` | `string` The current number of times this event has occurred, as a string. The formatting of this string depends on the configuration of your event in the Play Games Developer Console. |