Skip to content

Latest commit

 

History

History
128 lines (90 loc) · 4.72 KB

File metadata and controls

128 lines (90 loc) · 4.72 KB

EveSwaggerInterface.ClonesApi

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

Method HTTP request Description
getCharactersCharacterIdClones GET /characters/{character_id}/clones/ Get clones
getCharactersCharacterIdImplants GET /characters/{character_id}/implants/ Get active implants

getCharactersCharacterIdClones

GetCharactersCharacterIdClonesOk getCharactersCharacterIdClones(characterId, opts)

Get clones

A list of the character's clones --- Alternate route: /dev/characters/{character_id}/clones/ Alternate route: /v3/characters/{character_id}/clones/ Alternate route: /v4/characters/{character_id}/clones/ --- This route is cached for up to 120 seconds

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.ClonesApi();

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.getCharactersCharacterIdClones(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

GetCharactersCharacterIdClonesOk

Authorization

evesso

HTTP request headers

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

getCharactersCharacterIdImplants

['Number'] getCharactersCharacterIdImplants(characterId, opts)

Get active implants

Return implants on the active clone of a character --- Alternate route: /dev/characters/{character_id}/implants/ Alternate route: /legacy/characters/{character_id}/implants/ Alternate route: /v1/characters/{character_id}/implants/ Alternate route: /v2/characters/{character_id}/implants/ --- This route is cached for up to 120 seconds

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.ClonesApi();

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.getCharactersCharacterIdImplants(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

['Number']

Authorization

evesso

HTTP request headers

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