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 |
GetCharactersCharacterIdOk getCharactersCharacterId(characterId, datasource, ifNoneMatch)
Get character's public information
Public information about a character --- This route is cached for up to 3600 seconds
// 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();
}
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] |
No authorization required
- Content-Type: application/json
- Accept: application/json
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
// 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();
}
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] |
List<GetCharactersCharacterIdAgentsResearch200Ok>
- Content-Type: application/json
- Accept: application/json
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
// 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();
}
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] |
List<GetCharactersCharacterIdBlueprints200Ok>
- Content-Type: application/json
- Accept: application/json
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
// 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();
}
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] |
List<GetCharactersCharacterIdCorporationhistory200Ok>
No authorization required
- Content-Type: application/json
- Accept: application/json
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
// 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();
}
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] |
GetCharactersCharacterIdFatigueOk
- Content-Type: application/json
- Accept: application/json
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
// 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();
}
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] |
List<GetCharactersCharacterIdMedals200Ok>
- Content-Type: application/json
- Accept: application/json
List<GetCharactersCharacterIdNotifications200Ok> getCharactersCharacterIdNotifications(characterId, datasource, ifNoneMatch, token)
Get character notifications
Return character notifications --- This route is cached for up to 600 seconds
// 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();
}
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] |
List<GetCharactersCharacterIdNotifications200Ok>
- Content-Type: application/json
- Accept: application/json
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
// 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();
}
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] |
List<GetCharactersCharacterIdNotificationsContacts200Ok>
- Content-Type: application/json
- Accept: application/json
GetCharactersCharacterIdPortraitOk getCharactersCharacterIdPortrait(characterId, datasource, ifNoneMatch)
Get character portraits
Get portrait urls for a character --- This route expires daily at 11:05
// 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();
}
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] |
GetCharactersCharacterIdPortraitOk
No authorization required
- Content-Type: application/json
- Accept: application/json
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
// 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();
}
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] |
GetCharactersCharacterIdRolesOk
- Content-Type: application/json
- Accept: application/json
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
// 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();
}
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] |
List<GetCharactersCharacterIdStandings200Ok>
- Content-Type: application/json
- Accept: application/json
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
// 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();
}
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] |
List<GetCharactersCharacterIdStats200Ok>
- Content-Type: application/json
- Accept: application/json
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
// 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();
}
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] |
List<GetCharactersCharacterIdTitles200Ok>
- Content-Type: application/json
- Accept: application/json
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
// 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();
}
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] |
List<PostCharactersAffiliation200Ok>
No authorization required
- Content-Type: application/json
- Accept: application/json
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 ---
// 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();
}
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] |
Float
- Content-Type: application/json
- Accept: application/json