diff --git a/docs/index.html b/docs/index.html index 5f32368..fca849c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -400,11 +400,11 @@ data-styled.g138[id="sc-iIUQWv"]{content:"liFvtQ,"}/*!sc*/ -231.5279,231.248 -231.873,231.248 -0.3451,0 -104.688, -104.0616 -231.873,-231.248 z " fill="currentColor">
Download OpenAPI specification:Download
Stats tracking API for Titanfall 2 Northstar
-All query params can be negated using !. Example : (https://tone.sleepycat.date/v2/client/gamemodes?gamemode=!sns)
All query params can be negated using !. Example : (https://toneapi.ovh/v2/client/gamemodes?gamemode=!sns)
A JSON object with server names as keys and server data as values
| server | string Example: server=fvnkhead's 3v3 Fetch data for specific server |
| player | integer Example: player=1005930844007 Fetch data for specific player |
| weapon | string Example: weapon=epg Fetch data for specific weapon @@ -412,7 +412,7 @@ data-styled.g138[id="sc-iIUQWv"]{content:"liFvtQ,"}/*!sc*/ |
| gamemode | string Example: gamemode=aitdm Fetch data for specific gamemode |
| host | integer Example: host=1 Fetch data for specific host |
{- "fvnkhead's 3v3": {
- "deaths": 79810,
- "kills": 76218,
- "max_distance": 3733,
- "total_distance": 42200935,
- "host": 1
}, - "fvnkhead's 7v7": {
- "deaths": 148609,
- "kills": 163272,
- "max_distance": 6578,
- "total_distance": 113915706,
- "host": 1
}
}{- "fvnkhead's 3v3": {
- "deaths": 79810,
- "kills": 76218,
- "max_distance": 3733,
- "total_distance": 42200935,
- "host": 1
}, - "fvnkhead's 7v7": {
- "deaths": 148609,
- "kills": 163272,
- "max_distance": 6578,
- "total_distance": 113915706,
- "host": 1
}
}A JSON Object with weapon IDs as keys and weapon data as values
| server | string Example: server=fvnkhead's 3v3 Fetch data for specific server |
| player | integer Example: player=1005930844007 Fetch data for specific player |
| weapon | string Example: weapon=epg Fetch data for specific weapon @@ -420,7 +420,7 @@ data-styled.g138[id="sc-iIUQWv"]{content:"liFvtQ,"}/*!sc*/ |
| gamemode | string Example: gamemode=aitdm Fetch data for specific gamemode |
| host | integer Example: host=1 Fetch data for specific host |
{- "autopistol": {
- "deaths": 27,
- "kills": 28,
- "max_distance": 2173,
- "total_distance": 12792
}, - "car": {
- "deaths": 1394,
- "kills": 1534,
- "max_distance": 3217,
- "total_distance": 905505
}
}{- "autopistol": {
- "deaths": 27,
- "kills": 28,
- "max_distance": 2173,
- "total_distance": 12792
}, - "car": {
- "deaths": 1394,
- "kills": 1534,
- "max_distance": 3217,
- "total_distance": 905505
}
}A JSON Object with player IDs as keys and player data as values
| weapon | string Example: weapon=epg Fetch data for specific weapon |
| server | string Example: server=fvnkhead's 3v3 Fetch data for specific server |
| player | integer Example: player=1005930844007 Fetch data for specific player @@ -428,7 +428,7 @@ data-styled.g138[id="sc-iIUQWv"]{content:"liFvtQ,"}/*!sc*/ |
| map | string Example: map=lf_stacks Fetch data for specific map |
| host | integer Example: host=1 Fetch data for specific host |
{- "2250125460": {
- "username": "Legonzaur",
- "deaths": 0,
- "kills": 0,
- "max_kill_distance": 0,
- "avg_kill_distance": 0
}
}A JSON Object with map IDs as keys and map data as values
| host | integer Example: host=1 Fetch data for specific host |
| gamemode | string Example: gamemode=aitdm Fetch data for specific gamemode |
| map | string Example: map=lf_stacks Fetch data for specific map @@ -436,7 +436,7 @@ data-styled.g138[id="sc-iIUQWv"]{content:"liFvtQ,"}/*!sc*/ |
| player | integer Example: player=1005930844007 Fetch data for specific player |
| server | string Example: server=fvnkhead's 3v3 Fetch data for specific server |
{- "lf_meadow": {
- "deaths": 13628,
- "kills": 11791,
- "max_distance": 3970,
- "total_distance": 7139763
}, - "lf_township": {
- "deaths": 14861,
- "kills": 14232,
- "max_distance": 3642,
- "total_distance": 9022513
}
}A JSON Object with gamemodes IDs as keys and gamemodes data as values
+{- "lf_meadow": {
- "deaths": 13628,
- "kills": 11791,
- "max_distance": 3970,
- "total_distance": 7139763
}, - "lf_township": {
- "deaths": 14861,
- "kills": 14232,
- "max_distance": 3642,
- "total_distance": 9022513
}
}A JSON Object with gamemodes IDs as keys and gamemodes data as values
| host | integer Example: host=1 Fetch data for specific host |
| gamemode | string Example: gamemode=aitdm Fetch data for specific gamemode |
| map | string Example: map=lf_stacks Fetch data for specific map @@ -444,17 +444,17 @@ data-styled.g138[id="sc-iIUQWv"]{content:"liFvtQ,"}/*!sc*/ |
| player | integer Example: player=1005930844007 Fetch data for specific player |
| server | string Example: server=fvnkhead's 3v3 Fetch data for specific server |
{- "ps": {
- "deaths": 273232,
- "kills": 286679,
- "max_distance": 8521,
- "total_distance": 184069789
}, - "aitdm": {
- "deaths": 11388,
- "kills": 12814,
- "max_distance": 5689,
- "total_distance": 9184028
}
}{- "ps": {
- "deaths": 273232,
- "kills": 286679,
- "max_distance": 8521,
- "total_distance": 184069789
}, - "aitdm": {
- "deaths": 11388,
- "kills": 12814,
- "max_distance": 5689,
- "total_distance": 9184028
}
}Allows a Northstar server to record kills on the database
| tone_version | string |
| match_id | string |
| game_mode | string |
| map | string |
| game_time | string <time> |
| player_count | integer |
| attacker_name | string |
| attacker_id | integer |
| attacker_current_weapon | string |
| attacker_current_weapon_mods | integer |
| attacker_weapon_1 | string |
| attacker_weapon_1_mods | integer |
| attacker_weapon_2 | string |
| attacker_weapon_2_mods | integer |
| attacker_weapon_3 | string |
| attacker_weapon_3_mods | integer |
| attacker_offhand_weapon_1 | integer |
| attacker_offhand_weapon_2 | integer |
| victim_name | string |
| victim_id | integer |
| victim_current_weapon | string |
| victim_current_weapon_mods | integer |
| victim_weapon_1 | string |
| victim_weapon_1_mods | integer |
| victim_weapon_2 | string |
| victim_weapon_2_mods | integer |
| victim_weapon_3 | string |
| victim_weapon_3_mods | integer |
| victim_offhand_weapon_1 | integer |
| victim_offhand_weapon_2 | integer |
| cause_of_death required | string |
| distance | number |
{- "tone_version": "string",
- "match_id": "string",
- "game_mode": "string",
- "map": "string",
- "game_time": "14:15:22Z",
- "player_count": 0,
- "attacker_name": "string",
- "attacker_id": 0,
- "attacker_current_weapon": "string",
- "attacker_current_weapon_mods": 0,
- "attacker_weapon_1": "string",
- "attacker_weapon_1_mods": 0,
- "attacker_weapon_2": "string",
- "attacker_weapon_2_mods": 0,
- "attacker_weapon_3": "string",
- "attacker_weapon_3_mods": 0,
- "attacker_offhand_weapon_1": 0,
- "attacker_offhand_weapon_2": 0,
- "victim_name": "string",
- "victim_id": 0,
- "victim_current_weapon": "string",
- "victim_current_weapon_mods": 0,
- "victim_weapon_1": "string",
- "victim_weapon_1_mods": 0,
- "victim_weapon_2": "string",
- "victim_weapon_2_mods": 0,
- "victim_weapon_3": "string",
- "victim_weapon_3_mods": 0,
- "victim_offhand_weapon_1": 0,
- "victim_offhand_weapon_2": 0,
- "cause_of_death": "string",
- "distance": 0
}{- "tone_version": "string",
- "match_id": "string",
- "game_mode": "string",
- "map": "string",
- "game_time": "14:15:22Z",
- "player_count": 0,
- "attacker_name": "string",
- "attacker_id": 0,
- "attacker_current_weapon": "string",
- "attacker_current_weapon_mods": 0,
- "attacker_weapon_1": "string",
- "attacker_weapon_1_mods": 0,
- "attacker_weapon_2": "string",
- "attacker_weapon_2_mods": 0,
- "attacker_weapon_3": "string",
- "attacker_weapon_3_mods": 0,
- "attacker_offhand_weapon_1": 0,
- "attacker_offhand_weapon_2": 0,
- "victim_name": "string",
- "victim_id": 0,
- "victim_current_weapon": "string",
- "victim_current_weapon_mods": 0,
- "victim_weapon_1": "string",
- "victim_weapon_1_mods": 0,
- "victim_weapon_2": "string",
- "victim_weapon_2_mods": 0,
- "victim_weapon_3": "string",
- "victim_weapon_3_mods": 0,
- "victim_offhand_weapon_1": 0,
- "victim_offhand_weapon_2": 0,
- "cause_of_death": "string",
- "distance": 0
}