Type Definitions
Battles
- Source:
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
total |
number |
<nullable> |
The total amount of battles played |
fighter |
number |
<nullable> |
The total amount of battles played in a fighter (only applicable for aviation) |
bomber |
number |
<nullable> |
The total amount of battles played in a bomber (only applicable for aviation) |
attacker |
number |
<nullable> |
The total amount of battles played in an attacker (only applicable for aviation) |
tank |
number |
<nullable> |
The total amount of battles played in a tank (only applicable for ground) |
spg |
number |
<nullable> |
The total amount of battles played in a spg (only applicable for ground) |
heavy |
number |
<nullable> |
The total amount of battles played in a heavy tank (only applicable for ground) |
spaa |
number |
<nullable> |
The total amount of battles played in an SPAA (only applicable for ground) |
ship |
number |
<nullable> |
The total amount of battles played in a ship (only applicable for fleet) |
torpedoBoat |
number |
<nullable> |
The total amount of battles played in a torpedoboat (only applicable for fleet) |
gunBoat |
number |
<nullable> |
The total amount of battles played in a gunboat (only applicable for fleet) |
torpedoGunBoat |
number |
<nullable> |
The total amount of battles played in a torpedo gunboat (only applicable for fleet) |
subChaser |
number |
<nullable> |
The total amount of battles played in a sub-chaser (only applicable for fleet) |
destroyer |
number |
<nullable> |
The total amount of battles played in a destroyer (only applicable for fleet) |
ferryBarge |
number |
<nullable> |
The total amount of battles played in a ferry barge (only applicable for fleet) |
Represents the amount of battles in a mode, per vehicle class
Type:
- Object
BattleStats
- Source:
Properties:
Name | Type | Description |
---|---|---|
battles |
Battles | The total amount of battles in the mode, per vehicle class |
playTime |
Playtime | The total amount of playtime in the mode, per vehicle class |
targetsDestroyed |
TargetsDestroyed | The total amount of targets destroyed in the mode, per vehicle class |
Represents battle statistics per type of battle
Type:
- Object
ClanData
- Source:
Properties:
Name | Type | Description |
---|---|---|
name |
string | The squadron name |
image |
string | The URL to the squadron's in-game picture |
players |
number | The amount of players in the squadron |
description |
string | The squadron's description |
created |
string | The date of creation for the squadron |
stats |
ClanStats | The statistics for the squadron per difficulty for SQB |
members |
Array.<ClanMember> | Info for each squadron member |
Represents raw squadron data
Type:
- Object
ClanMember
- Source:
Properties:
Name | Type | Description |
---|---|---|
name |
string | The in-game name of the squadron member |
rating |
ClanRating | The rating for the squadron member, per difficulty |
role |
string | The squadron member's role |
entry |
string | The date of entry for the squadron member |
Represents info about a squadron member
Type:
- Object
ClanRating
- Source:
Properties:
Name | Type | Description |
---|---|---|
arcade |
number | The member's rating for Squadron Arcade Events |
realistic |
number | The member's rating for Squadron Realistic Events |
simulator |
number | The member's rating for Squadron Simulator Events |
Represents information about the member's personal squadron rating
Type:
- Object
ClanStats
- Source:
Properties:
Name | Type | Description |
---|---|---|
arcade |
SQBStats | The info for the Arcade gamemode |
realistic |
SQBStats | The info for the Realistic gamemode |
simulator |
SQBStats | The info for the Simulator gamemode |
Represents the statistics for the squadron per difficulty for SRE
Type:
- Object
GameModeStats
- Source:
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
victories |
number |
<nullable> |
The amount of victories |
completed |
number |
<nullable> |
The amount of completed matches |
ratio |
string | The battle/victory ratio |
|
deaths |
number |
<nullable> |
The total amount of deaths |
lionsEarned |
number |
<nullable> |
The total amount of Silver Lions earnt |
playTime |
string | The total amount of time played in this mode |
|
airTargetsDestroyed |
number |
<nullable> |
The total amount of air targets destroyed |
groundTargetsDestroyed |
number |
<nullable> |
The total amount of ground targets destroyed |
navalTargetsDestroyed |
number |
<nullable> |
The total amount of naval targets destroyed |
aviation |
BattleStats | Battle statistics for air battles |
|
ground |
BattleStats | Battle statistics for ground forces |
|
fleet |
BattleStats | Battle statistics for naval battles |
Represents user statistics per gamemode
Type:
- Object
NewsInfo
- Source:
Properties:
Name | Type | Description |
---|---|---|
url |
string | The URL to the news/changelog page |
title |
string | The title of the news/update |
date |
string | The date the news was announced/the update was released |
Represents a War Thunder news item
Type:
- Object
SQBStats
- Source:
Properties:
Name | Type | Description |
---|---|---|
airTargetsDestroyed |
number | The total amount of air targets destroyed |
groundTargetsDestroyed |
number | The total amount of ground targets destroyed |
deaths |
number | The total amount of deaths |
battleTime |
string | The total amount of battle time |
Represents statistics for a Squadron Event per difficulty
Type:
- Object
TargetsDestroyed
- Source:
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
total |
number |
<nullable> |
The total amount of targets destroyed in a mode |
air |
number |
<nullable> |
The total amount of air targets destroyed in a mode |
ground |
number |
<nullable> |
The total amount of ground targets destroyed in a mode |
naval |
number |
<nullable> |
The total amount of naval targets destroyed in a mode |
Represents the total amount of targets destroyed in a mode, per vehicle type
Type:
- Object
VehicleStats
- Source:
Properties:
Name | Type | Description |
---|---|---|
vehicles |
number | The total amount of vehicles unlocked for this country |
elite |
number | The total amount of elite vehicles unlocked (all modifications unlocked) for this country |
medals |
number | The total amount of medals for this country |
Represents per-country vehicle statistics
Type:
- Object
wiki
- Source:
Properties:
Name | Type | Description |
---|---|---|
title |
string | The title of the search result's page |
url |
string | The URL to the search result's page |
main |
Boolean | If there is a page named as the search query on the Wiki |
Represents a War Thunder Wiki search result
Type:
- Object
WTEndPointURL
- Source:
URLs to access specific endpoints. These are:
- https://warthunder.com/en
- https://warthunder.com/news3-en.html
- https://static.warthunder.com
- https://wiki.warthunder.com
- https://live.warthunder.com/
Type:
- string