APIv2 Char Factional Warfare Stats XML
From EVEDev
Revision as of 21:14, 15 January 2011 by Lewismoten (Talk | contribs)
| API Methods - Category Home - API Overview - API Page Index - API Libraries - API Wanted Features |
Contents |
/char/FacWarStats.xml.aspx
Overview
If the character is enlisted in Factional Warfare, this will return the faction the character is enlisted in, the current rank and the highest rank the character ever had attained, and how many kills and victory points the character obtained yesterday, in the last week, and total. Otherwise returns an error code.
124: Character not enlisted in Factional Warfare.
Data Caching
This method is cached according to the Modified Short Cache Style. However, the data is only calculated on TQ once a day during downtime. [1]
Input Arguments
| Name | Type | Description |
|---|---|---|
| apiKey | char(64) | Limited access API key of account. |
| userID | int | userID of account for authentication. |
| characterID | int | The ID of the character for the requested data, from Character List. |
Sample
<?xml version='1.0' encoding='UTF-8'?> <eveapi version="2"> <currentTime>2008-07-10 13:12:49</currentTime> <result> <factionID>500001</factionID> <factionName>Caldari State</factionName> <enlisted>2008-06-10 22:10:00</enlisted> <currentRank>4</currentRank> <highestRank>4</highestRank> <killsYesterday>0</killsYesterday> <killsLastWeek>0</killsLastWeek> <killsTotal>0</killsTotal> <victoryPointsYesterday>0</victoryPointsYesterday> <victoryPointsLastWeek>1044</victoryPointsLastWeek> <victoryPointsTotal>0</victoryPointsTotal> </result> <cachedUntil>2008-07-10 14:12:49</cachedUntil> </eveapi>
Output
| Name | Type | Description |
|---|---|---|
| factionID | int | ID number of the faction. |
| factionName | string | Name of the faction. |
| enlisted | date string | Date character enlisted in the faction. |
| currentRank | int | Characters current faction rank. |
| highestRank | int | Characters highest faction rank. |
| killsYesterday | int | Number of ships character destroyed yesterday. |
| killsLastWeek | int | Number of ships character destroyed last week. |
| killsTotal | int | Number of total ships character destroyed. |
| victoryPointsYesterday | int | Number of victory points character acquired yesterday. |
| victoryPointsLastWeek | int | Number of victory points character acquired last week. |
| victoryPointsTotal | int | Number of total victory points character acquired. |