Skip to content

Latest commit

 

History

History
868 lines (643 loc) · 36.6 KB

CharacterApi.md

File metadata and controls

868 lines (643 loc) · 36.6 KB

CharacterApi

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

Method HTTP request Description
getCharactersCharacterId GET /v4/characters/{character_id}/ Get character's public information
getCharactersCharacterIdAgentsResearch GET /v1/characters/{character_id}/agents_research/ Get agents research
getCharactersCharacterIdBlueprints GET /v2/characters/{character_id}/blueprints/ Get blueprints
getCharactersCharacterIdCorporationhistory GET /v1/characters/{character_id}/corporationhistory/ Get corporation history
getCharactersCharacterIdFatigue GET /v1/characters/{character_id}/fatigue/ Get jump fatigue
getCharactersCharacterIdMedals GET /v1/characters/{character_id}/medals/ Get medals
getCharactersCharacterIdNotifications GET /v5/characters/{character_id}/notifications/ Get character notifications
getCharactersCharacterIdNotificationsContacts GET /v1/characters/{character_id}/notifications/contacts/ Get new contact notifications
getCharactersCharacterIdPortrait GET /v2/characters/{character_id}/portrait/ Get character portraits
getCharactersCharacterIdRoles GET /v2/characters/{character_id}/roles/ Get character corporation roles
getCharactersCharacterIdStandings GET /v1/characters/{character_id}/standings/ Get standings
getCharactersCharacterIdStats GET /v2/characters/{character_id}/stats/ Yearly aggregate stats
getCharactersCharacterIdTitles GET /v1/characters/{character_id}/titles/ Get character corporation titles
postCharactersAffiliation POST /v1/characters/affiliation/ Character affiliation
postCharactersCharacterIdCspa POST /v4/characters/{character_id}/cspa/ Calculate a CSPA charge cost

getCharactersCharacterId

GetCharactersCharacterIdOk getCharactersCharacterId(characterId, datasource, ifNoneMatch)

Get character's public information

Public information about a character --- This route is cached for up to 3600 seconds

Example

// Import classes:
//import enterprises.orbital.eve.esi.client.invoker.ApiException;
//import enterprises.orbital.eve.esi.client.api.CharacterApi;


CharacterApi apiInstance = new CharacterApi();
Integer characterId = 56; // Integer | An EVE character ID
String datasource = "tranquility"; // String | The server name you would like data from
String ifNoneMatch = "ifNoneMatch_example"; // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
try {
    GetCharactersCharacterIdOk result = apiInstance.getCharactersCharacterId(characterId, datasource, ifNoneMatch);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling CharacterApi#getCharactersCharacterId");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
characterId Integer An EVE character ID
datasource String The server name you would like data from [optional] [default to tranquility] [enum: tranquility, singularity]
ifNoneMatch String ETag from a previous request. A 304 will be returned if this matches the current ETag [optional]

Return type

GetCharactersCharacterIdOk

Authorization

No authorization required

HTTP request headers

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

getCharactersCharacterIdAgentsResearch

List<GetCharactersCharacterIdAgentsResearch200Ok> getCharactersCharacterIdAgentsResearch(characterId, datasource, ifNoneMatch, token)

Get agents research

Return a list of agents research information for a character. The formula for finding the current research points with an agent is: currentPoints = remainderPoints + pointsPerDay * days(currentTime - researchStartDate) --- This route is cached for up to 3600 seconds

Example

// Import classes:
//import enterprises.orbital.eve.esi.client.invoker.ApiClient;
//import enterprises.orbital.eve.esi.client.invoker.ApiException;
//import enterprises.orbital.eve.esi.client.invoker.Configuration;
//import enterprises.orbital.eve.esi.client.invoker.auth.*;
//import enterprises.orbital.eve.esi.client.api.CharacterApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure OAuth2 access token for authorization: evesso
OAuth evesso = (OAuth) defaultClient.getAuthentication("evesso");
evesso.setAccessToken("YOUR ACCESS TOKEN");

CharacterApi apiInstance = new CharacterApi();
Integer characterId = 56; // Integer | An EVE character ID
String datasource = "tranquility"; // String | The server name you would like data from
String ifNoneMatch = "ifNoneMatch_example"; // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
String token = "token_example"; // String | Access token to use if unable to set a header
try {
    List<GetCharactersCharacterIdAgentsResearch200Ok> result = apiInstance.getCharactersCharacterIdAgentsResearch(characterId, datasource, ifNoneMatch, token);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling CharacterApi#getCharactersCharacterIdAgentsResearch");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
characterId Integer An EVE character ID
datasource String The server name you would like data from [optional] [default to tranquility] [enum: tranquility, singularity]
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

List<GetCharactersCharacterIdAgentsResearch200Ok>

Authorization

evesso

HTTP request headers

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

getCharactersCharacterIdBlueprints

List<GetCharactersCharacterIdBlueprints200Ok> getCharactersCharacterIdBlueprints(characterId, datasource, ifNoneMatch, page, token)

Get blueprints

Return a list of blueprints the character owns --- This route is cached for up to 3600 seconds

Example

// Import classes:
//import enterprises.orbital.eve.esi.client.invoker.ApiClient;
//import enterprises.orbital.eve.esi.client.invoker.ApiException;
//import enterprises.orbital.eve.esi.client.invoker.Configuration;
//import enterprises.orbital.eve.esi.client.invoker.auth.*;
//import enterprises.orbital.eve.esi.client.api.CharacterApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure OAuth2 access token for authorization: evesso
OAuth evesso = (OAuth) defaultClient.getAuthentication("evesso");
evesso.setAccessToken("YOUR ACCESS TOKEN");

CharacterApi apiInstance = new CharacterApi();
Integer characterId = 56; // Integer | An EVE character ID
String datasource = "tranquility"; // String | The server name you would like data from
String ifNoneMatch = "ifNoneMatch_example"; // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
Integer page = 1; // Integer | Which page of results to return
String token = "token_example"; // String | Access token to use if unable to set a header
try {
    List<GetCharactersCharacterIdBlueprints200Ok> result = apiInstance.getCharactersCharacterIdBlueprints(characterId, datasource, ifNoneMatch, page, token);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling CharacterApi#getCharactersCharacterIdBlueprints");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
characterId Integer An EVE character ID
datasource String The server name you would like data from [optional] [default to tranquility] [enum: tranquility, singularity]
ifNoneMatch String ETag from a previous request. A 304 will be returned if this matches the current ETag [optional]
page Integer Which page of results to return [optional] [default to 1]
token String Access token to use if unable to set a header [optional]

Return type

List<GetCharactersCharacterIdBlueprints200Ok>

Authorization

evesso

HTTP request headers

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

getCharactersCharacterIdCorporationhistory

List<GetCharactersCharacterIdCorporationhistory200Ok> getCharactersCharacterIdCorporationhistory(characterId, datasource, ifNoneMatch)

Get corporation history

Get a list of all the corporations a character has been a member of --- This route is cached for up to 86400 seconds

Example

// Import classes:
//import enterprises.orbital.eve.esi.client.invoker.ApiException;
//import enterprises.orbital.eve.esi.client.api.CharacterApi;


CharacterApi apiInstance = new CharacterApi();
Integer characterId = 56; // Integer | An EVE character ID
String datasource = "tranquility"; // String | The server name you would like data from
String ifNoneMatch = "ifNoneMatch_example"; // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
try {
    List<GetCharactersCharacterIdCorporationhistory200Ok> result = apiInstance.getCharactersCharacterIdCorporationhistory(characterId, datasource, ifNoneMatch);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling CharacterApi#getCharactersCharacterIdCorporationhistory");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
characterId Integer An EVE character ID
datasource String The server name you would like data from [optional] [default to tranquility] [enum: tranquility, singularity]
ifNoneMatch String ETag from a previous request. A 304 will be returned if this matches the current ETag [optional]

Return type

List<GetCharactersCharacterIdCorporationhistory200Ok>

Authorization

No authorization required

HTTP request headers

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

getCharactersCharacterIdFatigue

GetCharactersCharacterIdFatigueOk getCharactersCharacterIdFatigue(characterId, datasource, ifNoneMatch, token)

Get jump fatigue

Return a character's jump activation and fatigue information --- This route is cached for up to 300 seconds

Example

// Import classes:
//import enterprises.orbital.eve.esi.client.invoker.ApiClient;
//import enterprises.orbital.eve.esi.client.invoker.ApiException;
//import enterprises.orbital.eve.esi.client.invoker.Configuration;
//import enterprises.orbital.eve.esi.client.invoker.auth.*;
//import enterprises.orbital.eve.esi.client.api.CharacterApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure OAuth2 access token for authorization: evesso
OAuth evesso = (OAuth) defaultClient.getAuthentication("evesso");
evesso.setAccessToken("YOUR ACCESS TOKEN");

CharacterApi apiInstance = new CharacterApi();
Integer characterId = 56; // Integer | An EVE character ID
String datasource = "tranquility"; // String | The server name you would like data from
String ifNoneMatch = "ifNoneMatch_example"; // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
String token = "token_example"; // String | Access token to use if unable to set a header
try {
    GetCharactersCharacterIdFatigueOk result = apiInstance.getCharactersCharacterIdFatigue(characterId, datasource, ifNoneMatch, token);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling CharacterApi#getCharactersCharacterIdFatigue");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
characterId Integer An EVE character ID
datasource String The server name you would like data from [optional] [default to tranquility] [enum: tranquility, singularity]
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

GetCharactersCharacterIdFatigueOk

Authorization

evesso

HTTP request headers

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

getCharactersCharacterIdMedals

List<GetCharactersCharacterIdMedals200Ok> getCharactersCharacterIdMedals(characterId, datasource, ifNoneMatch, token)

Get medals

Return a list of medals the character has --- This route is cached for up to 3600 seconds

Example

// Import classes:
//import enterprises.orbital.eve.esi.client.invoker.ApiClient;
//import enterprises.orbital.eve.esi.client.invoker.ApiException;
//import enterprises.orbital.eve.esi.client.invoker.Configuration;
//import enterprises.orbital.eve.esi.client.invoker.auth.*;
//import enterprises.orbital.eve.esi.client.api.CharacterApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure OAuth2 access token for authorization: evesso
OAuth evesso = (OAuth) defaultClient.getAuthentication("evesso");
evesso.setAccessToken("YOUR ACCESS TOKEN");

CharacterApi apiInstance = new CharacterApi();
Integer characterId = 56; // Integer | An EVE character ID
String datasource = "tranquility"; // String | The server name you would like data from
String ifNoneMatch = "ifNoneMatch_example"; // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
String token = "token_example"; // String | Access token to use if unable to set a header
try {
    List<GetCharactersCharacterIdMedals200Ok> result = apiInstance.getCharactersCharacterIdMedals(characterId, datasource, ifNoneMatch, token);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling CharacterApi#getCharactersCharacterIdMedals");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
characterId Integer An EVE character ID
datasource String The server name you would like data from [optional] [default to tranquility] [enum: tranquility, singularity]
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

List<GetCharactersCharacterIdMedals200Ok>

Authorization

evesso

HTTP request headers

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

getCharactersCharacterIdNotifications

List<GetCharactersCharacterIdNotifications200Ok> getCharactersCharacterIdNotifications(characterId, datasource, ifNoneMatch, token)

Get character notifications

Return character notifications --- This route is cached for up to 600 seconds

Example

// Import classes:
//import enterprises.orbital.eve.esi.client.invoker.ApiClient;
//import enterprises.orbital.eve.esi.client.invoker.ApiException;
//import enterprises.orbital.eve.esi.client.invoker.Configuration;
//import enterprises.orbital.eve.esi.client.invoker.auth.*;
//import enterprises.orbital.eve.esi.client.api.CharacterApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure OAuth2 access token for authorization: evesso
OAuth evesso = (OAuth) defaultClient.getAuthentication("evesso");
evesso.setAccessToken("YOUR ACCESS TOKEN");

CharacterApi apiInstance = new CharacterApi();
Integer characterId = 56; // Integer | An EVE character ID
String datasource = "tranquility"; // String | The server name you would like data from
String ifNoneMatch = "ifNoneMatch_example"; // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
String token = "token_example"; // String | Access token to use if unable to set a header
try {
    List<GetCharactersCharacterIdNotifications200Ok> result = apiInstance.getCharactersCharacterIdNotifications(characterId, datasource, ifNoneMatch, token);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling CharacterApi#getCharactersCharacterIdNotifications");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
characterId Integer An EVE character ID
datasource String The server name you would like data from [optional] [default to tranquility] [enum: tranquility, singularity]
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

List<GetCharactersCharacterIdNotifications200Ok>

Authorization

evesso

HTTP request headers

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

getCharactersCharacterIdNotificationsContacts

List<GetCharactersCharacterIdNotificationsContacts200Ok> getCharactersCharacterIdNotificationsContacts(characterId, datasource, ifNoneMatch, token)

Get new contact notifications

Return notifications about having been added to someone's contact list --- This route is cached for up to 600 seconds

Example

// Import classes:
//import enterprises.orbital.eve.esi.client.invoker.ApiClient;
//import enterprises.orbital.eve.esi.client.invoker.ApiException;
//import enterprises.orbital.eve.esi.client.invoker.Configuration;
//import enterprises.orbital.eve.esi.client.invoker.auth.*;
//import enterprises.orbital.eve.esi.client.api.CharacterApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure OAuth2 access token for authorization: evesso
OAuth evesso = (OAuth) defaultClient.getAuthentication("evesso");
evesso.setAccessToken("YOUR ACCESS TOKEN");

CharacterApi apiInstance = new CharacterApi();
Integer characterId = 56; // Integer | An EVE character ID
String datasource = "tranquility"; // String | The server name you would like data from
String ifNoneMatch = "ifNoneMatch_example"; // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
String token = "token_example"; // String | Access token to use if unable to set a header
try {
    List<GetCharactersCharacterIdNotificationsContacts200Ok> result = apiInstance.getCharactersCharacterIdNotificationsContacts(characterId, datasource, ifNoneMatch, token);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling CharacterApi#getCharactersCharacterIdNotificationsContacts");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
characterId Integer An EVE character ID
datasource String The server name you would like data from [optional] [default to tranquility] [enum: tranquility, singularity]
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

List<GetCharactersCharacterIdNotificationsContacts200Ok>

Authorization

evesso

HTTP request headers

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

getCharactersCharacterIdPortrait

GetCharactersCharacterIdPortraitOk getCharactersCharacterIdPortrait(characterId, datasource, ifNoneMatch)

Get character portraits

Get portrait urls for a character --- This route expires daily at 11:05

Example

// Import classes:
//import enterprises.orbital.eve.esi.client.invoker.ApiException;
//import enterprises.orbital.eve.esi.client.api.CharacterApi;


CharacterApi apiInstance = new CharacterApi();
Integer characterId = 56; // Integer | An EVE character ID
String datasource = "tranquility"; // String | The server name you would like data from
String ifNoneMatch = "ifNoneMatch_example"; // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
try {
    GetCharactersCharacterIdPortraitOk result = apiInstance.getCharactersCharacterIdPortrait(characterId, datasource, ifNoneMatch);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling CharacterApi#getCharactersCharacterIdPortrait");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
characterId Integer An EVE character ID
datasource String The server name you would like data from [optional] [default to tranquility] [enum: tranquility, singularity]
ifNoneMatch String ETag from a previous request. A 304 will be returned if this matches the current ETag [optional]

Return type

GetCharactersCharacterIdPortraitOk

Authorization

No authorization required

HTTP request headers

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

getCharactersCharacterIdRoles

GetCharactersCharacterIdRolesOk getCharactersCharacterIdRoles(characterId, datasource, ifNoneMatch, token)

Get character corporation roles

Returns a character's corporation roles --- This route is cached for up to 3600 seconds

Example

// Import classes:
//import enterprises.orbital.eve.esi.client.invoker.ApiClient;
//import enterprises.orbital.eve.esi.client.invoker.ApiException;
//import enterprises.orbital.eve.esi.client.invoker.Configuration;
//import enterprises.orbital.eve.esi.client.invoker.auth.*;
//import enterprises.orbital.eve.esi.client.api.CharacterApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure OAuth2 access token for authorization: evesso
OAuth evesso = (OAuth) defaultClient.getAuthentication("evesso");
evesso.setAccessToken("YOUR ACCESS TOKEN");

CharacterApi apiInstance = new CharacterApi();
Integer characterId = 56; // Integer | An EVE character ID
String datasource = "tranquility"; // String | The server name you would like data from
String ifNoneMatch = "ifNoneMatch_example"; // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
String token = "token_example"; // String | Access token to use if unable to set a header
try {
    GetCharactersCharacterIdRolesOk result = apiInstance.getCharactersCharacterIdRoles(characterId, datasource, ifNoneMatch, token);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling CharacterApi#getCharactersCharacterIdRoles");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
characterId Integer An EVE character ID
datasource String The server name you would like data from [optional] [default to tranquility] [enum: tranquility, singularity]
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

GetCharactersCharacterIdRolesOk

Authorization

evesso

HTTP request headers

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

getCharactersCharacterIdStandings

List<GetCharactersCharacterIdStandings200Ok> getCharactersCharacterIdStandings(characterId, datasource, ifNoneMatch, token)

Get standings

Return character standings from agents, NPC corporations, and factions --- This route is cached for up to 3600 seconds

Example

// Import classes:
//import enterprises.orbital.eve.esi.client.invoker.ApiClient;
//import enterprises.orbital.eve.esi.client.invoker.ApiException;
//import enterprises.orbital.eve.esi.client.invoker.Configuration;
//import enterprises.orbital.eve.esi.client.invoker.auth.*;
//import enterprises.orbital.eve.esi.client.api.CharacterApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure OAuth2 access token for authorization: evesso
OAuth evesso = (OAuth) defaultClient.getAuthentication("evesso");
evesso.setAccessToken("YOUR ACCESS TOKEN");

CharacterApi apiInstance = new CharacterApi();
Integer characterId = 56; // Integer | An EVE character ID
String datasource = "tranquility"; // String | The server name you would like data from
String ifNoneMatch = "ifNoneMatch_example"; // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
String token = "token_example"; // String | Access token to use if unable to set a header
try {
    List<GetCharactersCharacterIdStandings200Ok> result = apiInstance.getCharactersCharacterIdStandings(characterId, datasource, ifNoneMatch, token);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling CharacterApi#getCharactersCharacterIdStandings");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
characterId Integer An EVE character ID
datasource String The server name you would like data from [optional] [default to tranquility] [enum: tranquility, singularity]
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

List<GetCharactersCharacterIdStandings200Ok>

Authorization

evesso

HTTP request headers

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

getCharactersCharacterIdStats

List<GetCharactersCharacterIdStats200Ok> getCharactersCharacterIdStats(characterId, datasource, ifNoneMatch, token)

Yearly aggregate stats

Returns aggregate yearly stats for a character --- This route is cached for up to 86400 seconds

Example

// Import classes:
//import enterprises.orbital.eve.esi.client.invoker.ApiClient;
//import enterprises.orbital.eve.esi.client.invoker.ApiException;
//import enterprises.orbital.eve.esi.client.invoker.Configuration;
//import enterprises.orbital.eve.esi.client.invoker.auth.*;
//import enterprises.orbital.eve.esi.client.api.CharacterApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure OAuth2 access token for authorization: evesso
OAuth evesso = (OAuth) defaultClient.getAuthentication("evesso");
evesso.setAccessToken("YOUR ACCESS TOKEN");

CharacterApi apiInstance = new CharacterApi();
Integer characterId = 56; // Integer | An EVE character ID
String datasource = "tranquility"; // String | The server name you would like data from
String ifNoneMatch = "ifNoneMatch_example"; // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
String token = "token_example"; // String | Access token to use if unable to set a header
try {
    List<GetCharactersCharacterIdStats200Ok> result = apiInstance.getCharactersCharacterIdStats(characterId, datasource, ifNoneMatch, token);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling CharacterApi#getCharactersCharacterIdStats");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
characterId Integer An EVE character ID
datasource String The server name you would like data from [optional] [default to tranquility] [enum: tranquility, singularity]
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

List<GetCharactersCharacterIdStats200Ok>

Authorization

evesso

HTTP request headers

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

getCharactersCharacterIdTitles

List<GetCharactersCharacterIdTitles200Ok> getCharactersCharacterIdTitles(characterId, datasource, ifNoneMatch, token)

Get character corporation titles

Returns a character's titles --- This route is cached for up to 3600 seconds

Example

// Import classes:
//import enterprises.orbital.eve.esi.client.invoker.ApiClient;
//import enterprises.orbital.eve.esi.client.invoker.ApiException;
//import enterprises.orbital.eve.esi.client.invoker.Configuration;
//import enterprises.orbital.eve.esi.client.invoker.auth.*;
//import enterprises.orbital.eve.esi.client.api.CharacterApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure OAuth2 access token for authorization: evesso
OAuth evesso = (OAuth) defaultClient.getAuthentication("evesso");
evesso.setAccessToken("YOUR ACCESS TOKEN");

CharacterApi apiInstance = new CharacterApi();
Integer characterId = 56; // Integer | An EVE character ID
String datasource = "tranquility"; // String | The server name you would like data from
String ifNoneMatch = "ifNoneMatch_example"; // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
String token = "token_example"; // String | Access token to use if unable to set a header
try {
    List<GetCharactersCharacterIdTitles200Ok> result = apiInstance.getCharactersCharacterIdTitles(characterId, datasource, ifNoneMatch, token);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling CharacterApi#getCharactersCharacterIdTitles");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
characterId Integer An EVE character ID
datasource String The server name you would like data from [optional] [default to tranquility] [enum: tranquility, singularity]
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

List<GetCharactersCharacterIdTitles200Ok>

Authorization

evesso

HTTP request headers

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

postCharactersAffiliation

List<PostCharactersAffiliation200Ok> postCharactersAffiliation(characters, datasource)

Character affiliation

Bulk lookup of character IDs to corporation, alliance and faction --- This route is cached for up to 3600 seconds

Example

// Import classes:
//import enterprises.orbital.eve.esi.client.invoker.ApiException;
//import enterprises.orbital.eve.esi.client.api.CharacterApi;


CharacterApi apiInstance = new CharacterApi();
List<Integer> characters = Arrays.asList(new List<Integer>()); // List<Integer> | The character IDs to fetch affiliations for. All characters must exist, or none will be returned
String datasource = "tranquility"; // String | The server name you would like data from
try {
    List<PostCharactersAffiliation200Ok> result = apiInstance.postCharactersAffiliation(characters, datasource);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling CharacterApi#postCharactersAffiliation");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
characters List<Integer> The character IDs to fetch affiliations for. All characters must exist, or none will be returned
datasource String The server name you would like data from [optional] [default to tranquility] [enum: tranquility, singularity]

Return type

List<PostCharactersAffiliation200Ok>

Authorization

No authorization required

HTTP request headers

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

postCharactersCharacterIdCspa

Float postCharactersCharacterIdCspa(characterId, characters, datasource, token)

Calculate a CSPA charge cost

Takes a source character ID in the url and a set of target character ID's in the body, returns a CSPA charge cost ---

Example

// Import classes:
//import enterprises.orbital.eve.esi.client.invoker.ApiClient;
//import enterprises.orbital.eve.esi.client.invoker.ApiException;
//import enterprises.orbital.eve.esi.client.invoker.Configuration;
//import enterprises.orbital.eve.esi.client.invoker.auth.*;
//import enterprises.orbital.eve.esi.client.api.CharacterApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure OAuth2 access token for authorization: evesso
OAuth evesso = (OAuth) defaultClient.getAuthentication("evesso");
evesso.setAccessToken("YOUR ACCESS TOKEN");

CharacterApi apiInstance = new CharacterApi();
Integer characterId = 56; // Integer | An EVE character ID
List<Integer> characters = Arrays.asList(new List<Integer>()); // List<Integer> | The target characters to calculate the charge for
String datasource = "tranquility"; // String | The server name you would like data from
String token = "token_example"; // String | Access token to use if unable to set a header
try {
    Float result = apiInstance.postCharactersCharacterIdCspa(characterId, characters, datasource, token);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling CharacterApi#postCharactersCharacterIdCspa");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
characterId Integer An EVE character ID
characters List<Integer> The target characters to calculate the charge for
datasource String The server name you would like data from [optional] [default to tranquility] [enum: tranquility, singularity]
token String Access token to use if unable to set a header [optional]

Return type

Float

Authorization

evesso

HTTP request headers

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