Players Statistics
Description
This request will return statistics about the requested player for the current WGL season.
| URI | api.fantasywgl.com/request/{API_KEY}/stat_player/ |
| Request Method | GET, POST |
Parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| player | TRUE | integer,list | null | Player's Fantasy WGL ID# |
Response
Meta Information
| Field | Type | Description |
|---|---|---|
| count | integer | Number of players included in the response |
| timezone | Time zone information about the timestamps in the response | |
| timezone.offset | integer | Number of seconds from UTC (Z ) |
| timezone.abbrev | string | Text format of Time Zone (T ) |
| timezone.diff | string | Hour Differential from UTC (O ) |
Data
| Field | Type | Description |
|---|---|---|
| info | Information about the player | |
| info.id | integer | FWGL Player ID Number |
| info.name | string | Player's Name |
| info.leagueAcctID | integer | Player's WGL account ID |
| info.personalAcctID | integer | Player's personal account ID |
| info.teamID | integer | Player's WGL team ID in the FWGL system |
| info.teamName | integer | Player's WGL team name |
| info.teamClanID | integer | Player's WGL team Clan ID |
| info.nextOppID | integer, null | Player's team's next opponent team ID in the FWGL system |
| info.nextOppName | string, null | Player's team's next opponent team name |
| info.nextMatchID | integer, null | Player's team's next match ID number |
| info.nextMatchTime | timestamp, null | Date of player's team's next match |
| stats | Player's Statistics | |
| stats.fantasyPoints | decimal | Fantasy Points scored by this player |
| stats.battlesPlayed | integer | Battles played by this player |
| stats.averageTier | decimal | Average tier played by this player |
| stats.kills | integer | Vehicles destroyed by this player |
| stats.damageDealt | integer | Damage dealt by this player |
| stats.hitRatio | decimal | Player's hitrate |
| stats.penetrationRatio | decimal | Player's penetration rate |
| stats.damageRatio | decimal | Player's damage rate |
| stats.capturePoints | integer | Base capture points earned by this player |
| stats.defensePoints | integer | Base defense points earned by this player |
| stats.spottedTanks | integer | Number of enemy vehicles spotted by this player |
| stats.distanceTraveled | integer | Total distance travelled (meters) by this player |
| vehicles | Player's Statistics by Vehicle | |
| vehicles.vehicle | string | Vehicle ID |
| vehicles.fantasyPoints | decimal | Fantasy Points scored by this player in this vehicle |
| vehicles.battlesPlayed | integer | Battles played by this player in this vehicle |
| vehicles.vehicleTier | integer | Tier level of this vehicle |
| vehicles.kills | integer | Vehicles destroyed by this player in this vehicle |
| vehicles.damageDealt | integer | Damage dealt by this player in this vehicle |
| vehicles.hitRatio | decimal | Player's hitrate in this vehicle |
| vehicles.penetrationRatio | decimal | Player's penetration rate in this vehicle |
| vehicles.damageRatio | decimal | Player's damage rate in this vehicle |
| vehicles.capturePoints | integer | Base capture points earned by this player in this vehicle |
| vehicles.defensePoints | integer | Base defense points earned by this player in this vehicle |
| vehicles.spottedTanks | integer | Number of enemy vehicles spotted by this player in this vehicle |
| vehicles.distanceTraveled | integer | Total distance travelled (meters) by this player in this vehicle |
Errors
Full List| Code | Message | Description |
|---|---|---|
| 600 | REQUIRED_FIELD_MISSING | One or more required fields does not have a requested value. |
| 622 | INVALID_SEARCH | The search parameter was not valid. It could have been too short or of the wrong format. |
| 623 | NO_SEARCH_RESULTS | There were results found based on the value sent in the search parameter. |
<?xml version="1.0"?>
<response>
<status>ok</status>
<requestDetails>
<key>demo</key>
<request>stat_player</request>
<output>xml</output>
<player>60</player>
<apiKeyAlias>Hyp's Test Environment</apiKeyAlias>
</requestDetails>
<meta>
<timezone>
<offset>-28800</offset>
<abbrev>PST</abbrev>
<diff>-0800</diff>
</timezone>
<count>1</count>
</meta>
<data>
<player>
<info>
<id>60</id>
<name>Adroxis</name>
<leagueAcctID>1017140373</leagueAcctID>
<personalAcctID>1001409395</personalAcctID>
<teamID>7</teamID>
<teamName>S.I.M.P.</teamName>
<teamClanID>1000010296</teamClanID>
<nextOppID/>
<nextOppName/>
<nextMatchID/>
<nextMatchTime/>
</info>
<stats>
<fantasyPoints>4366.4</fantasyPoints>
<battlesPlayed>93</battlesPlayed>
<averageTier>10.0</averageTier>
<kills>84</kills>
<damageDealt>183148</damageDealt>
<hitRatio>0.78</hitRatio>
<penetrationRatio>0.59</penetrationRatio>
<damageRatio>1.09</damageRatio>
<capturePoints>100</capturePoints>
<defensePoints>265</defensePoints>
<spottedTanks>78</spottedTanks>
<distanceTraveled>109092</distanceTraveled>
</stats>
<vehicles>
<vehicle>
<vehicle>uk:GB13_FV215b</vehicle>
<fantasyPoints>1285.3</fantasyPoints>
<battlesPlayed>26</battlesPlayed>
<vehicleTier>10</vehicleTier>
<kills>30</kills>
<damageDealt>61069</damageDealt>
<hitRatio>0.84</hitRatio>
<penetrationRatio>0.63</penetrationRatio>
<damageRatio>1.19</damageRatio>
<capturePoints>34</capturePoints>
<defensePoints>28</defensePoints>
<spottedTanks>13</spottedTanks>
<distanceTraveled>33668</distanceTraveled>
</vehicle>
<vehicle>
<vehicle>czech:Cz04_T50_51</vehicle>
<fantasyPoints>507.4</fantasyPoints>
<battlesPlayed>12</battlesPlayed>
<vehicleTier>10</vehicleTier>
<kills>10</kills>
<damageDealt>21514</damageDealt>
<hitRatio>0.94</hitRatio>
<penetrationRatio>0.77</penetrationRatio>
<damageRatio>1.12</damageRatio>
<capturePoints>0</capturePoints>
<defensePoints>0</defensePoints>
<spottedTanks>10</spottedTanks>
<distanceTraveled>10961</distanceTraveled>
</vehicle>
<vehicle>
<vehicle>usa:A69_T110E5</vehicle>
<fantasyPoints>584.4</fantasyPoints>
<battlesPlayed>11</battlesPlayed>
<vehicleTier>10</vehicleTier>
<kills>6</kills>
<damageDealt>21851</damageDealt>
<hitRatio>0.66</hitRatio>
<penetrationRatio>0.46</penetrationRatio>
<damageRatio>1.19</damageRatio>
<capturePoints>0</capturePoints>
<defensePoints>140</defensePoints>
<spottedTanks>11</spottedTanks>
<distanceTraveled>11509</distanceTraveled>
</vehicle>
<vehicle>
<vehicle>japan:ST_B1</vehicle>
<fantasyPoints>316.3</fantasyPoints>
<battlesPlayed>9</battlesPlayed>
<vehicleTier>10</vehicleTier>
<kills>7</kills>
<damageDealt>13773</damageDealt>
<hitRatio>0.70</hitRatio>
<penetrationRatio>0.48</penetrationRatio>
<damageRatio>0.93</damageRatio>
<capturePoints>0</capturePoints>
<defensePoints>0</defensePoints>
<spottedTanks>14</spottedTanks>
<distanceTraveled>10388</distanceTraveled>
</vehicle>
<vehicle>
<vehicle>ussr:IS-7</vehicle>
<fantasyPoints>362.9</fantasyPoints>
<battlesPlayed>8</battlesPlayed>
<vehicleTier>10</vehicleTier>
<kills>4</kills>
<damageDealt>13928</damageDealt>
<hitRatio>0.69</hitRatio>
<penetrationRatio>0.54</penetrationRatio>
<damageRatio>1.00</damageRatio>
<capturePoints>0</capturePoints>
<defensePoints>18</defensePoints>
<spottedTanks>8</spottedTanks>
<distanceTraveled>9096</distanceTraveled>
</vehicle>
<vehicle>
<vehicle>ussr:R90_IS_4M</vehicle>
<fantasyPoints>285.4</fantasyPoints>
<battlesPlayed>7</battlesPlayed>
<vehicleTier>10</vehicleTier>
<kills>5</kills>
<damageDealt>13399</damageDealt>
<hitRatio>0.88</hitRatio>
<penetrationRatio>0.65</penetrationRatio>
<damageRatio>0.86</damageRatio>
<capturePoints>7</capturePoints>
<defensePoints>0</defensePoints>
<spottedTanks>8</spottedTanks>
<distanceTraveled>7613</distanceTraveled>
</vehicle>
<vehicle>
<vehicle>ussr:Object_907</vehicle>
<fantasyPoints>378.6</fantasyPoints>
<battlesPlayed>7</battlesPlayed>
<vehicleTier>10</vehicleTier>
<kills>8</kills>
<damageDealt>13319</damageDealt>
<hitRatio>0.68</hitRatio>
<penetrationRatio>0.58</penetrationRatio>
<damageRatio>1.08</damageRatio>
<capturePoints>0</capturePoints>
<defensePoints>66</defensePoints>
<spottedTanks>6</spottedTanks>
<distanceTraveled>10277</distanceTraveled>
</vehicle>
<vehicle>
<vehicle>china:Ch22_113</vehicle>
<fantasyPoints>292.2</fantasyPoints>
<battlesPlayed>5</battlesPlayed>
<vehicleTier>10</vehicleTier>
<kills>9</kills>
<damageDealt>9697</damageDealt>
<hitRatio>0.85</hitRatio>
<penetrationRatio>0.63</penetrationRatio>
<damageRatio>0.95</damageRatio>
<capturePoints>59</capturePoints>
<defensePoints>0</defensePoints>
<spottedTanks>2</spottedTanks>
<distanceTraveled>6843</distanceTraveled>
</vehicle>
<vehicle>
<vehicle>germany:E-100</vehicle>
<fantasyPoints>196.2</fantasyPoints>
<battlesPlayed>4</battlesPlayed>
<vehicleTier>10</vehicleTier>
<kills>3</kills>
<damageDealt>10231</damageDealt>
<hitRatio>0.86</hitRatio>
<penetrationRatio>0.68</penetrationRatio>
<damageRatio>1.24</damageRatio>
<capturePoints>0</capturePoints>
<defensePoints>13</defensePoints>
<spottedTanks>3</spottedTanks>
<distanceTraveled>3421</distanceTraveled>
</vehicle>
<vehicle>
<vehicle>france:Bat_Chatillon25t</vehicle>
<fantasyPoints>148.9</fantasyPoints>
<battlesPlayed>3</battlesPlayed>
<vehicleTier>10</vehicleTier>
<kills>2</kills>
<damageDealt>4367</damageDealt>
<hitRatio>0.71</hitRatio>
<penetrationRatio>0.57</penetrationRatio>
<damageRatio>1.98</damageRatio>
<capturePoints>0</capturePoints>
<defensePoints>0</defensePoints>
<spottedTanks>3</spottedTanks>
<distanceTraveled>4366</distanceTraveled>
</vehicle>
<vehicle>
<vehicle>ussr:R110_Object_260</vehicle>
<fantasyPoints>8.8</fantasyPoints>
<battlesPlayed>1</battlesPlayed>
<vehicleTier>10</vehicleTier>
<kills>0</kills>
<damageDealt>0</damageDealt>
<hitRatio>0.00</hitRatio>
<penetrationRatio>0.00</penetrationRatio>
<damageRatio>0.00</damageRatio>
<capturePoints>0</capturePoints>
<defensePoints>0</defensePoints>
<spottedTanks>0</spottedTanks>
<distanceTraveled>950</distanceTraveled>
</vehicle>
</vehicles>
</player>
</data>
</response>
{
"status": "ok",
"requestDetails": {
"key": "demo",
"request": "stat_player",
"output": "json",
"player": "60",
"apiKeyAlias": "Hyp's Test Environment"
},
"meta": {
"timezone": {
"offset": "-28800",
"abbrev": "PST",
"diff": "-0800"
},
"count": 1
},
"data": {
"60": {
"info": {
"id": "60",
"name": "Adroxis",
"leagueAcctID": "1017140373",
"personalAcctID": "1001409395",
"teamID": "7",
"teamName": "S.I.M.P.",
"teamClanID": "1000010296",
"nextOppID": null,
"nextOppName": null,
"nextMatchID": null,
"nextMatchTime": null
},
"stats": {
"fantasyPoints": "4366.4",
"battlesPlayed": "93",
"averageTier": "10.0",
"kills": "84",
"damageDealt": "183148",
"hitRatio": "0.78",
"penetrationRatio": "0.59",
"damageRatio": "1.09",
"capturePoints": "100",
"defensePoints": "265",
"spottedTanks": "78",
"distanceTraveled": "109092"
},
"vehicles": [
{
"vehicle": "uk:GB13_FV215b",
"fantasyPoints": "1285.3",
"battlesPlayed": "26",
"vehicleTier": "10",
"kills": "30",
"damageDealt": "61069",
"hitRatio": "0.84",
"penetrationRatio": "0.63",
"damageRatio": "1.19",
"capturePoints": "34",
"defensePoints": "28",
"spottedTanks": "13",
"distanceTraveled": "33668"
},
{
"vehicle": "czech:Cz04_T50_51",
"fantasyPoints": "507.4",
"battlesPlayed": "12",
"vehicleTier": "10",
"kills": "10",
"damageDealt": "21514",
"hitRatio": "0.94",
"penetrationRatio": "0.77",
"damageRatio": "1.12",
"capturePoints": "0",
"defensePoints": "0",
"spottedTanks": "10",
"distanceTraveled": "10961"
},
{
"vehicle": "usa:A69_T110E5",
"fantasyPoints": "584.4",
"battlesPlayed": "11",
"vehicleTier": "10",
"kills": "6",
"damageDealt": "21851",
"hitRatio": "0.66",
"penetrationRatio": "0.46",
"damageRatio": "1.19",
"capturePoints": "0",
"defensePoints": "140",
"spottedTanks": "11",
"distanceTraveled": "11509"
},
{
"vehicle": "japan:ST_B1",
"fantasyPoints": "316.3",
"battlesPlayed": "9",
"vehicleTier": "10",
"kills": "7",
"damageDealt": "13773",
"hitRatio": "0.70",
"penetrationRatio": "0.48",
"damageRatio": "0.93",
"capturePoints": "0",
"defensePoints": "0",
"spottedTanks": "14",
"distanceTraveled": "10388"
},
{
"vehicle": "ussr:IS-7",
"fantasyPoints": "362.9",
"battlesPlayed": "8",
"vehicleTier": "10",
"kills": "4",
"damageDealt": "13928",
"hitRatio": "0.69",
"penetrationRatio": "0.54",
"damageRatio": "1.00",
"capturePoints": "0",
"defensePoints": "18",
"spottedTanks": "8",
"distanceTraveled": "9096"
},
{
"vehicle": "ussr:R90_IS_4M",
"fantasyPoints": "285.4",
"battlesPlayed": "7",
"vehicleTier": "10",
"kills": "5",
"damageDealt": "13399",
"hitRatio": "0.88",
"penetrationRatio": "0.65",
"damageRatio": "0.86",
"capturePoints": "7",
"defensePoints": "0",
"spottedTanks": "8",
"distanceTraveled": "7613"
},
{
"vehicle": "ussr:Object_907",
"fantasyPoints": "378.6",
"battlesPlayed": "7",
"vehicleTier": "10",
"kills": "8",
"damageDealt": "13319",
"hitRatio": "0.68",
"penetrationRatio": "0.58",
"damageRatio": "1.08",
"capturePoints": "0",
"defensePoints": "66",
"spottedTanks": "6",
"distanceTraveled": "10277"
},
{
"vehicle": "china:Ch22_113",
"fantasyPoints": "292.2",
"battlesPlayed": "5",
"vehicleTier": "10",
"kills": "9",
"damageDealt": "9697",
"hitRatio": "0.85",
"penetrationRatio": "0.63",
"damageRatio": "0.95",
"capturePoints": "59",
"defensePoints": "0",
"spottedTanks": "2",
"distanceTraveled": "6843"
},
{
"vehicle": "germany:E-100",
"fantasyPoints": "196.2",
"battlesPlayed": "4",
"vehicleTier": "10",
"kills": "3",
"damageDealt": "10231",
"hitRatio": "0.86",
"penetrationRatio": "0.68",
"damageRatio": "1.24",
"capturePoints": "0",
"defensePoints": "13",
"spottedTanks": "3",
"distanceTraveled": "3421"
},
{
"vehicle": "france:Bat_Chatillon25t",
"fantasyPoints": "148.9",
"battlesPlayed": "3",
"vehicleTier": "10",
"kills": "2",
"damageDealt": "4367",
"hitRatio": "0.71",
"penetrationRatio": "0.57",
"damageRatio": "1.98",
"capturePoints": "0",
"defensePoints": "0",
"spottedTanks": "3",
"distanceTraveled": "4366"
},
{
"vehicle": "ussr:R110_Object_260",
"fantasyPoints": "8.8",
"battlesPlayed": "1",
"vehicleTier": "10",
"kills": "0",
"damageDealt": "0",
"hitRatio": "0.00",
"penetrationRatio": "0.00",
"damageRatio": "0.00",
"capturePoints": "0",
"defensePoints": "0",
"spottedTanks": "0",
"distanceTraveled": "950"
}
]
}
}
}
