- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Collection
- MetagameCategory
- Try it!
List play data aggregated per category for the player corresponding to playerId.
HTTP request
GET https://games.googleapis.com/games/v1/players/{playerId}/categories/{collection}
Path parameters
| Parameters | |
|---|---|
| playerId | 
 A player ID. A value of  | 
| collection | 
 The collection of categories for which data will be returned. | 
Query parameters
| Parameters | |
|---|---|
| language | 
 The preferred language to use for strings returned by this method. | 
| maxResults | 
 The maximum number of category resources to return in the response, used for paging. For any response, the actual number of category resources returned may be less than the specified  | 
| pageToken | 
 The token returned by the previous request. | 
Request body
The request body must be empty.
Response body
A third party list metagame categories response.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "kind": string,
  "nextPageToken": string,
  "items": [
    {
      object ( | 
| Fields | |
|---|---|
| kind | 
 Uniquely identifies the type of this resource. Value is always the fixed string  | 
| nextPageToken | 
 Token corresponding to the next page of results. | 
| items[] | 
 The list of categories with usage data. | 
Authorization scopes
Requires one of the following OAuth scopes:
- https://www.googleapis.com/auth/games
- https://www.googleapis.com/auth/games_lite
For more information, see the OAuth 2.0 Overview.
Collection
Defines categories for which data will be returned.
| Enums | |
|---|---|
| ALL | Retrieve data for all categories. This is the default. | 
MetagameCategory
Data related to individual game categories.
| JSON representation | 
|---|
| { "kind": string, "category": string, "experiencePoints": string } | 
| Fields | |
|---|---|
| kind | 
 Uniquely identifies the type of this resource. Value is always the fixed string  | 
| category | 
 The category name. | 
| experiencePoints | 
 Experience points earned in this category. | 
