public interface StatsService
Modifier and Type | Method and Description |
---|---|
Document |
qed(String id,
String en,
EntityType et,
GameMode md,
TimePeriod tp,
int fe,
int me,
DataGroup dg)
Player Units Query.
|
Document |
qer(String id,
String en,
EntityType et,
GameMode md,
TimePeriod tp,
int si,
int np,
int nn,
RanktableName rn)
Player Rank Query.
|
Document |
qest(String id,
String en,
EntityType et,
GameMode md,
TimePeriod tp,
int si)
Player Info Query.
|
Document |
qgs(String id,
String gi)
Game Details Query.
|
Document |
qse(String id,
String en,
EntityType et,
int fe,
int me)
Player Search Query.
|
Document |
qsg(String id,
String en,
EntityType et,
GameMode md,
int fe,
int me)
Recent Games Query.
|
Document qgs(String id, String gi)
id
- Optional. A query ID, in case more queries are included in 1 request.
This ID is replicated in the response element matching this query.
Query IDs need not be unique.gi
- Required. The ID of the game to retrieve info for.
These IDs can be found in getGames() queries.Document qsg(String id, String en, EntityType et, GameMode md, int fe, int me)
id
- Optional. A query ID, in case more queries are included in 1 request.
This ID is replicated in the response element matching this query.
Query IDs need not be unique.en
- Optional. The Entity Name (i.e. Player Name) to retrieve games from.
If no name is provided, games of all players will be retrieved.et
- Optional. The Entity Type of the player to retrieve games from.
If no type is provided, games of all player types will be retrieved.md
- Optional. The Game Mode of the games to be retrieved.
If no mode is provided, games of all modes will be retrieved.fe
- The First Index: this is sort of an offset to enable retrieving paginated results.
Defaults to 0. Ranges from 0 to 1000.me
- The Max number of Entries - starting from the First Index - to be retrieved.
Defaults to 1000. Ranges from 0 to 1000.Document qest(String id, String en, EntityType et, GameMode md, TimePeriod tp, int si)
id
- Optional. A query ID, in case more queries are included in 1 request.
This ID is replicated in the response element matching this query.
Query IDs need not be unique.en
- Optional. The Entity Name (i.e. Player Name) to retrieve info for.
If no name is provided, community statistics will be retrieved.et
- Required. The Entity Type of the given player.md
- Required. The Game Mode for which the info should be retrieved.tp
- Required. The Time Period for which the info should be retrieved.si
- Optional. Unknown integer.Document qer(String id, String en, EntityType et, GameMode md, TimePeriod tp, int si, int np, int nn, RanktableName rn)
id
- Optional. A query ID, in case more queries are included in 1 request.
This ID is replicated in the response element matching this query.
Query IDs need not be unique.en
- Optional. The Entity Name (i.e. Player Name) to retrieve the rank for.
If no name is provided, players at the top of the ladder will be retrieved.et
- Required. The Entity Type of the given player.md
- Required. The Game Mode for which the player rank should be retrieved.tp
- Required. The Time Period for which the player rank should be retrieved.si
- Optional. Unknown integer.np
- Required. Number of Previous players - just above the specified player - to retrieve.
Ranges from 0 to 1000.nn
- Required. Number of Next players - just under the specified player - to retrieve.
Ranges from 0 to 1000.rn
- Required. The Ranktable Name to retrieve the ranks from.Document qse(String id, String en, EntityType et, int fe, int me)
id
- Optional. A query ID, in case more queries are included in 1 request.
This ID is replicated in the response element matching this query.
Query IDs need not be unique.en
- Required. The first letters of the Entity Name (i.e. Player Name) to search for.et
- Required. The Entity Type of the given player.fe
- The First Index: this is sort of an offset to enable retrieving paginated results.
Defaults to 0. Ranges from 0 to 1000.me
- The Max number of Entries - starting from the First Index - to be retrieved.
Defaults to 1000. Ranges from 0 to 1000.Document qed(String id, String en, EntityType et, GameMode md, TimePeriod tp, int fe, int me, DataGroup dg)
id
- Optional. A query ID, in case more queries are included in 1 request.
This ID is replicated in the response element matching this query.
Query IDs need not be unique.en
- Optional. The Entity Name (i.e. Player Name) to retrieve unit data for.
If no name is provided, community statistics will be retrieved.et
- Required. The Entity Type of the given player.md
- Required. The Game Mode for which the unit info should be retrieved.tp
- Required. The Time Period for which the unit info should be retrieved.fe
- The First Index: this is sort of an offset to enable retrieving paginated results.
Defaults to 0. Ranges from 0 to 1000.me
- The Max number of Entries - starting from the First Index - to be retrieved.
Defaults to 1000. Ranges from 0 to 1000.dg
- Required. The Data Group to which the returned units should belong.