Skip to content

Latest commit

 

History

History
428 lines (300 loc) · 15.6 KB

File metadata and controls

428 lines (300 loc) · 15.6 KB

EveSwaggerInterface.FactionWarfareApi

All URIs are relative to https://esi.evetech.net/latest

Method HTTP request Description
getCharactersCharacterIdFwStats GET /characters/{character_id}/fw/stats/ Overview of a character involved in faction warfare
getCorporationsCorporationIdFwStats GET /corporations/{corporation_id}/fw/stats/ Overview of a corporation involved in faction warfare
getFwLeaderboards GET /fw/leaderboards/ List of the top factions in faction warfare
getFwLeaderboardsCharacters GET /fw/leaderboards/characters/ List of the top pilots in faction warfare
getFwLeaderboardsCorporations GET /fw/leaderboards/corporations/ List of the top corporations in faction warfare
getFwStats GET /fw/stats/ An overview of statistics about factions involved in faction warfare
getFwSystems GET /fw/systems/ Ownership of faction warfare systems
getFwWars GET /fw/wars/ Data about which NPC factions are at war

getCharactersCharacterIdFwStats

GetCharactersCharacterIdFwStatsOk getCharactersCharacterIdFwStats(characterId, opts)

Overview of a character involved in faction warfare

Statistical overview of a character involved in faction warfare --- Alternate route: /dev/characters/{character_id}/fw/stats/ Alternate route: /legacy/characters/{character_id}/fw/stats/ Alternate route: /v1/characters/{character_id}/fw/stats/ Alternate route: /v2/characters/{character_id}/fw/stats/ --- This route expires daily at 11:05

Example

var EveSwaggerInterface = require('eve_swagger_interface');
var defaultClient = EveSwaggerInterface.ApiClient.instance;

// Configure OAuth2 access token for authorization: evesso
var evesso = defaultClient.authentications['evesso'];
evesso.accessToken = 'YOUR ACCESS TOKEN';

var apiInstance = new EveSwaggerInterface.FactionWarfareApi();

var characterId = 56; // Number | An EVE character ID

var opts = { 
  'datasource': "tranquility", // String | The server name you would like data from
  'ifNoneMatch': "ifNoneMatch_example", // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  'token': "token_example" // String | Access token to use if unable to set a header
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getCharactersCharacterIdFwStats(characterId, opts, callback);

Parameters

Name Type Description Notes
characterId Number An EVE character ID
datasource String The server name you would like data from [optional] [default to tranquility]
ifNoneMatch String ETag from a previous request. A 304 will be returned if this matches the current ETag [optional]
token String Access token to use if unable to set a header [optional]

Return type

GetCharactersCharacterIdFwStatsOk

Authorization

evesso

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

getCorporationsCorporationIdFwStats

GetCorporationsCorporationIdFwStatsOk getCorporationsCorporationIdFwStats(corporationId, opts)

Overview of a corporation involved in faction warfare

Statistics about a corporation involved in faction warfare --- Alternate route: /dev/corporations/{corporation_id}/fw/stats/ Alternate route: /legacy/corporations/{corporation_id}/fw/stats/ Alternate route: /v1/corporations/{corporation_id}/fw/stats/ Alternate route: /v2/corporations/{corporation_id}/fw/stats/ --- This route expires daily at 11:05

Example

var EveSwaggerInterface = require('eve_swagger_interface');
var defaultClient = EveSwaggerInterface.ApiClient.instance;

// Configure OAuth2 access token for authorization: evesso
var evesso = defaultClient.authentications['evesso'];
evesso.accessToken = 'YOUR ACCESS TOKEN';

var apiInstance = new EveSwaggerInterface.FactionWarfareApi();

var corporationId = 56; // Number | An EVE corporation ID

var opts = { 
  'datasource': "tranquility", // String | The server name you would like data from
  'ifNoneMatch': "ifNoneMatch_example", // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  'token': "token_example" // String | Access token to use if unable to set a header
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getCorporationsCorporationIdFwStats(corporationId, opts, callback);

Parameters

Name Type Description Notes
corporationId Number An EVE corporation ID
datasource String The server name you would like data from [optional] [default to tranquility]
ifNoneMatch String ETag from a previous request. A 304 will be returned if this matches the current ETag [optional]
token String Access token to use if unable to set a header [optional]

Return type

GetCorporationsCorporationIdFwStatsOk

Authorization

evesso

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

getFwLeaderboards

GetFwLeaderboardsOk getFwLeaderboards(opts)

List of the top factions in faction warfare

Top 4 leaderboard of factions for kills and victory points separated by total, last week and yesterday --- Alternate route: /dev/fw/leaderboards/ Alternate route: /legacy/fw/leaderboards/ Alternate route: /v1/fw/leaderboards/ Alternate route: /v2/fw/leaderboards/ --- This route expires daily at 11:05

Example

var EveSwaggerInterface = require('eve_swagger_interface');

var apiInstance = new EveSwaggerInterface.FactionWarfareApi();

var opts = { 
  'datasource': "tranquility", // String | The server name you would like data from
  'ifNoneMatch': "ifNoneMatch_example", // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getFwLeaderboards(opts, callback);

Parameters

Name Type Description Notes
datasource String The server name you would like data from [optional] [default to tranquility]
ifNoneMatch String ETag from a previous request. A 304 will be returned if this matches the current ETag [optional]

Return type

GetFwLeaderboardsOk

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

getFwLeaderboardsCharacters

GetFwLeaderboardsCharactersOk getFwLeaderboardsCharacters(opts)

List of the top pilots in faction warfare

Top 100 leaderboard of pilots for kills and victory points separated by total, last week and yesterday --- Alternate route: /dev/fw/leaderboards/characters/ Alternate route: /legacy/fw/leaderboards/characters/ Alternate route: /v1/fw/leaderboards/characters/ Alternate route: /v2/fw/leaderboards/characters/ --- This route expires daily at 11:05

Example

var EveSwaggerInterface = require('eve_swagger_interface');

var apiInstance = new EveSwaggerInterface.FactionWarfareApi();

var opts = { 
  'datasource': "tranquility", // String | The server name you would like data from
  'ifNoneMatch': "ifNoneMatch_example", // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getFwLeaderboardsCharacters(opts, callback);

Parameters

Name Type Description Notes
datasource String The server name you would like data from [optional] [default to tranquility]
ifNoneMatch String ETag from a previous request. A 304 will be returned if this matches the current ETag [optional]

Return type

GetFwLeaderboardsCharactersOk

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

getFwLeaderboardsCorporations

GetFwLeaderboardsCorporationsOk getFwLeaderboardsCorporations(opts)

List of the top corporations in faction warfare

Top 10 leaderboard of corporations for kills and victory points separated by total, last week and yesterday --- Alternate route: /dev/fw/leaderboards/corporations/ Alternate route: /legacy/fw/leaderboards/corporations/ Alternate route: /v1/fw/leaderboards/corporations/ Alternate route: /v2/fw/leaderboards/corporations/ --- This route expires daily at 11:05

Example

var EveSwaggerInterface = require('eve_swagger_interface');

var apiInstance = new EveSwaggerInterface.FactionWarfareApi();

var opts = { 
  'datasource': "tranquility", // String | The server name you would like data from
  'ifNoneMatch': "ifNoneMatch_example", // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getFwLeaderboardsCorporations(opts, callback);

Parameters

Name Type Description Notes
datasource String The server name you would like data from [optional] [default to tranquility]
ifNoneMatch String ETag from a previous request. A 304 will be returned if this matches the current ETag [optional]

Return type

GetFwLeaderboardsCorporationsOk

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

getFwStats

[GetFwStats200Ok] getFwStats(opts)

An overview of statistics about factions involved in faction warfare

Statistical overviews of factions involved in faction warfare --- Alternate route: /dev/fw/stats/ Alternate route: /legacy/fw/stats/ Alternate route: /v1/fw/stats/ Alternate route: /v2/fw/stats/ --- This route expires daily at 11:05

Example

var EveSwaggerInterface = require('eve_swagger_interface');

var apiInstance = new EveSwaggerInterface.FactionWarfareApi();

var opts = { 
  'datasource': "tranquility", // String | The server name you would like data from
  'ifNoneMatch': "ifNoneMatch_example", // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getFwStats(opts, callback);

Parameters

Name Type Description Notes
datasource String The server name you would like data from [optional] [default to tranquility]
ifNoneMatch String ETag from a previous request. A 304 will be returned if this matches the current ETag [optional]

Return type

[GetFwStats200Ok]

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

getFwSystems

[GetFwSystems200Ok] getFwSystems(opts)

Ownership of faction warfare systems

An overview of the current ownership of faction warfare solar systems --- Alternate route: /dev/fw/systems/ Alternate route: /v2/fw/systems/ Alternate route: /v3/fw/systems/ --- This route is cached for up to 1800 seconds

Example

var EveSwaggerInterface = require('eve_swagger_interface');

var apiInstance = new EveSwaggerInterface.FactionWarfareApi();

var opts = { 
  'datasource': "tranquility", // String | The server name you would like data from
  'ifNoneMatch': "ifNoneMatch_example", // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getFwSystems(opts, callback);

Parameters

Name Type Description Notes
datasource String The server name you would like data from [optional] [default to tranquility]
ifNoneMatch String ETag from a previous request. A 304 will be returned if this matches the current ETag [optional]

Return type

[GetFwSystems200Ok]

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

getFwWars

[GetFwWars200Ok] getFwWars(opts)

Data about which NPC factions are at war

Data about which NPC factions are at war --- Alternate route: /dev/fw/wars/ Alternate route: /legacy/fw/wars/ Alternate route: /v1/fw/wars/ Alternate route: /v2/fw/wars/ --- This route expires daily at 11:05

Example

var EveSwaggerInterface = require('eve_swagger_interface');

var apiInstance = new EveSwaggerInterface.FactionWarfareApi();

var opts = { 
  'datasource': "tranquility", // String | The server name you would like data from
  'ifNoneMatch': "ifNoneMatch_example", // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getFwWars(opts, callback);

Parameters

Name Type Description Notes
datasource String The server name you would like data from [optional] [default to tranquility]
ifNoneMatch String ETag from a previous request. A 304 will be returned if this matches the current ETag [optional]

Return type

[GetFwWars200Ok]

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json