All URIs are relative to https://api.gametools.network
| Method | HTTP request | Description |
|---|---|---|
| bf4_all_bf4_all_get | GET /bf4/all/ | Get all stats for website |
| bf4detailedserver_bf4_detailedserver_get | GET /bf4/detailedserver/ | Get detailed info about 1 server |
| bf4servers_bf4_servers_get | GET /bf4/servers/ | Get a list of servers based on given name |
| bf4stats_bf4_stats_get | GET /bf4/stats/ | Get stats from the given player for bf4 |
| bf4vehicles_bf4_vehicles_get | GET /bf4/vehicles/ | Get weapon stats from the given player for bf4 |
| bf4weapons_bf4_weapons_get | GET /bf4/weapons/ | Get weapon stats from the given player for bf4 |
| logged_server_data_bf4_serverarray_get | GET /bf4/serverarray/ | Get the servers playeramount over time |
| print_logged_data_bf4_statusarray_get | GET /bf4/statusarray/ | Get the player- / serveramount for all regions from database gathered every hour. |
| statsarray_bf4_statsarray_get | GET /bf4/statsarray/ | Get changes in players' stats over time, this gets saved every time you use the standard stats command in the api or gamestats bot (stats are per day, max 1 month) |
| status_bf4_status_get | GET /bf4/status/ | Get the player- / serveramount for all regions. |
models::Bf4Combined bf4_all_bf4_all_get(format_values, name, playerid, platform) Get all stats for website
Available options for platform: pc, ps3, ps4, xbox360, xboxone. for nametypes you only have to fill in one of them: name (normal playername), or playerid (same as id in what it returns - fastest method). if you dont know what you need to use, just use 'name', just fill the playername in there: **_/stats/?name=iiTzArcur&platform=pc
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| format_values | Option<bool> | If precentage values have to be returned as string, example: '50%' (enabled by default for backwards compatability) | [default to true] | |
| name | Option<String> | Name of the player to get stats for | ||
| playerid | Option<i32> | ID of the player to get stats for | ||
| platform | Option<String> | Platform the player uses | [default to pc] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::Bf4DetailedServerInfo bf4detailedserver_bf4_detailedserver_get(name, gameid, platform, lang) Get detailed info about 1 server
For platform there is pc, xboxone and ps4. players is only for pc (has longer cache, 1 mins)
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| name | Option<String> | Name of the server you want to search for | ||
| gameid | Option<String> | Id of the server you want to search for | ||
| platform | Option<FrostbitePlatforms> | Platform of the server you want to search for | [default to pc] | |
| lang | Option<String> |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::Bf4Search bf4servers_bf4_servers_get(name, platform, limit, region, gamemode_filters, player_filters, server_type_filters, is_password_protected, lang) Get a list of servers based on given name
The regions available are: all (all regions), eu, asia, nam (north america), sam (south america), au (Australia) or oc (Oceana). For platform there is pc, xboxone and ps4 (cache of 10 seconds) Limit is the max amount of servers it will gather, give it a number between 1 and 100. For player filter you can use oneToFive, sixToTen, tenPlus or none, comma seperated list is also a option example: "&player_filters=onetofive,sixtoten" to filter on the amount of free slots. Same for gamemode filter as with player filter but with the name of the gamemode
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| name | String | Name of the server you want to search for | [required] | |
| platform | Option<FrostbitePlatforms> | Platform of the server you want to search for | [default to pc] | |
| limit | Option<i32> | Number of servers to return | [default to 10] | |
| region | Option<String> | [default to all] | ||
| gamemode_filters | Option<String> | [default to ] | ||
| player_filters | Option<String> | [default to ] | ||
| server_type_filters | Option<String> | [default to ] | ||
| is_password_protected | Option<bool> | |||
| lang | Option<String> |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::FrostbiteMainStats bf4stats_bf4_stats_get(format_values, name, playerid, platform) Get stats from the given player for bf4
Available options for platform: pc, ps3, ps4, xbox360, xboxone. for nametypes you only have to fill in one of them: name (normal playername), or playerid (same as id in what it returns - fastest method). if you dont know what you need to use, just use 'name', just fill the playername in there: **_/stats/?name=iiTzArcur&platform=pc
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| format_values | Option<bool> | If precentage values have to be returned as string, example: '50%' (enabled by default for backwards compatability) | [default to true] | |
| name | Option<String> | Name of the player to get stats for | ||
| playerid | Option<i32> | ID of the player to get stats for | ||
| platform | Option<String> | Platform the player uses | [default to pc] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::BattlelogVehicleStats bf4vehicles_bf4_vehicles_get(name, playerid, platform) Get weapon stats from the given player for bf4
Available options for platform: pc, ps3, ps4, xbox360, xboxone. for nametypes you only have to fill in one of them: name (normal playername), or playerid (same as id in what it returns - fastest method). if you dont know what you need to use, just use 'name', just fill the playername in there: **_/stats/?name=iiTzArcur&platform=pc
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| name | Option<String> | Name of the player to get stats for | ||
| playerid | Option<i32> | ID of the player to get stats for | ||
| platform | Option<String> | Platform the player uses | [default to pc] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::BattlelogWeaponStats bf4weapons_bf4_weapons_get(format_values, name, playerid, platform) Get weapon stats from the given player for bf4
Available options for platform: pc, ps3, ps4, xbox360, xboxone. for nametypes you only have to fill in one of them: name (normal playername), or playerid (same as id in what it returns - fastest method). if you dont know what you need to use, just use 'name', just fill the playername in there: **_/stats/?name=iiTzArcur&platform=pc
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| format_values | Option<bool> | If precentage values have to be returned as string, example: '50%' (enabled by default for backwards compatability) | [default to true] | |
| name | Option<String> | Name of the player to get stats for | ||
| playerid | Option<i32> | ID of the player to get stats for | ||
| platform | Option<String> | Platform the player uses | [default to pc] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
serde_json::Value logged_server_data_bf4_serverarray_get(days, gameid, serverid, servername, platform) Get the servers playeramount over time
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| days | Option<i32> | Number of days to get historic values for | [default to 7] | |
| gameid | Option<String> | Id of the server to get historic values for | ||
| serverid | Option<String> | A more permanent id of the server to get historic values for | ||
| servername | Option<String> | Name of the server to get historic values for | ||
| platform | Option<FrostbitePlatforms> | Platform to get historic values for | [default to pc] |
serde_json::Value
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::StatusArray print_logged_data_bf4_statusarray_get(days, region, platform, r#type) Get the player- / serveramount for all regions from database gathered every hour.
Possible regions are: "ALL", "EU", "Asia", "NAm", "SAm", "AU" and "OC". For platform there is "pc", "xboxone", "ps4" and "all" For type: "amounts", "maps" (serveramount) and "modes" (serveramount)
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| days | Option<i32> | Number of days to get historic values for | [default to 7] | |
| region | Option<FrostbiteRegionsWithMultiple> | Region to get historic values for | [default to all] | |
| platform | Option<FrostbitePlatforms> | Platform to get historic values for | [default to pc] | |
| r#type | Option<StatusArrayType> | Type of historic data to return | [default to amounts] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::StatsArray statsarray_bf4_statsarray_get(days, name, playerid, platform) Get changes in players' stats over time, this gets saved every time you use the standard stats command in the api or gamestats bot (stats are per day, max 1 month)
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| days | Option<i32> | Number of days to get historic values for | [default to 7] | |
| name | Option<String> | Name of the player to get stats for | ||
| playerid | Option<i32> | ID of the player to get stats for | ||
| platform | Option<String> | Platform the player uses | [default to pc] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::GameStatus status_bf4_status_get(platform) Get the player- / serveramount for all regions.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| platform | Option<String> | Platform to get amounts for | [default to pc] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]