All URIs are relative to https://esi.evetech.net, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
getCharactersCharacterId() | GET /v5/characters/{character_id}/ | Get character's public information |
getCharactersCharacterIdAgentsResearch() | GET /v2/characters/{character_id}/agents_research/ | Get agents research |
getCharactersCharacterIdBlueprints() | GET /v3/characters/{character_id}/blueprints/ | Get blueprints |
getCharactersCharacterIdCorporationhistory() | GET /v2/characters/{character_id}/corporationhistory/ | Get corporation history |
getCharactersCharacterIdFatigue() | GET /v2/characters/{character_id}/fatigue/ | Get jump fatigue |
getCharactersCharacterIdMedals() | GET /v2/characters/{character_id}/medals/ | Get medals |
getCharactersCharacterIdNotifications() | GET /v5/characters/{character_id}/notifications/ | Get character notifications |
getCharactersCharacterIdNotificationsContacts() | GET /v2/characters/{character_id}/notifications/contacts/ | Get new contact notifications |
getCharactersCharacterIdPortrait() | GET /v2/characters/{character_id}/portrait/ | Get character portraits |
getCharactersCharacterIdRoles() | GET /v3/characters/{character_id}/roles/ | Get character corporation roles |
getCharactersCharacterIdStandings() | GET /v2/characters/{character_id}/standings/ | Get standings |
getCharactersCharacterIdTitles() | GET /v2/characters/{character_id}/titles/ | Get character corporation titles |
postCharactersAffiliation() | POST /v2/characters/affiliation/ | Character affiliation |
postCharactersCharacterIdCspa() | POST /v5/characters/{character_id}/cspa/ | Calculate a CSPA charge cost |
getCharactersCharacterId($character_id, $datasource, $if_none_match): \Swagger\Client\Eve\Model\GetCharactersCharacterIdOk
Get character's public information
Public information about a character --- This route is cached for up to 604800 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Eve\Api\CharacterApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$character_id = 56; // int | An EVE character ID
$datasource = 'tranquility'; // string | The server name you would like data from
$if_none_match = 'if_none_match_example'; // string | ETag from a previous request. A 304 will be returned if this matches the current ETag
try {
$result = $apiInstance->getCharactersCharacterId($character_id, $datasource, $if_none_match);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CharacterApi->getCharactersCharacterId: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
datasource | string | The server name you would like data from | [optional] [default to 'tranquility'] |
if_none_match | string | ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional] |
\Swagger\Client\Eve\Model\GetCharactersCharacterIdOk
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getCharactersCharacterIdAgentsResearch($character_id, $datasource, $if_none_match, $token): \Swagger\Client\Eve\Model\GetCharactersCharacterIdAgentsResearch200Ok[]
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
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Eve\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Eve\Api\CharacterApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$character_id = 56; // int | An EVE character ID
$datasource = 'tranquility'; // string | The server name you would like data from
$if_none_match = 'if_none_match_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
try {
$result = $apiInstance->getCharactersCharacterIdAgentsResearch($character_id, $datasource, $if_none_match, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CharacterApi->getCharactersCharacterIdAgentsResearch: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
datasource | string | The server name you would like data from | [optional] [default to 'tranquility'] |
if_none_match | 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] |
\Swagger\Client\Eve\Model\GetCharactersCharacterIdAgentsResearch200Ok[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getCharactersCharacterIdBlueprints($character_id, $datasource, $if_none_match, $page, $token): \Swagger\Client\Eve\Model\GetCharactersCharacterIdBlueprints200Ok[]
Get blueprints
Return a list of blueprints the character owns --- This route is cached for up to 3600 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Eve\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Eve\Api\CharacterApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$character_id = 56; // int | An EVE character ID
$datasource = 'tranquility'; // string | The server name you would like data from
$if_none_match = 'if_none_match_example'; // string | ETag from a previous request. A 304 will be returned if this matches the current ETag
$page = 1; // int | Which page of results to return
$token = 'token_example'; // string | Access token to use if unable to set a header
try {
$result = $apiInstance->getCharactersCharacterIdBlueprints($character_id, $datasource, $if_none_match, $page, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CharacterApi->getCharactersCharacterIdBlueprints: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
datasource | string | The server name you would like data from | [optional] [default to 'tranquility'] |
if_none_match | string | ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional] |
page | int | Which page of results to return | [optional] [default to 1] |
token | string | Access token to use if unable to set a header | [optional] |
\Swagger\Client\Eve\Model\GetCharactersCharacterIdBlueprints200Ok[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getCharactersCharacterIdCorporationhistory($character_id, $datasource, $if_none_match): \Swagger\Client\Eve\Model\GetCharactersCharacterIdCorporationhistory200Ok[]
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
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Eve\Api\CharacterApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$character_id = 56; // int | An EVE character ID
$datasource = 'tranquility'; // string | The server name you would like data from
$if_none_match = 'if_none_match_example'; // string | ETag from a previous request. A 304 will be returned if this matches the current ETag
try {
$result = $apiInstance->getCharactersCharacterIdCorporationhistory($character_id, $datasource, $if_none_match);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CharacterApi->getCharactersCharacterIdCorporationhistory: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
datasource | string | The server name you would like data from | [optional] [default to 'tranquility'] |
if_none_match | string | ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional] |
\Swagger\Client\Eve\Model\GetCharactersCharacterIdCorporationhistory200Ok[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getCharactersCharacterIdFatigue($character_id, $datasource, $if_none_match, $token): \Swagger\Client\Eve\Model\GetCharactersCharacterIdFatigueOk
Get jump fatigue
Return a character's jump activation and fatigue information --- This route is cached for up to 300 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Eve\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Eve\Api\CharacterApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$character_id = 56; // int | An EVE character ID
$datasource = 'tranquility'; // string | The server name you would like data from
$if_none_match = 'if_none_match_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
try {
$result = $apiInstance->getCharactersCharacterIdFatigue($character_id, $datasource, $if_none_match, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CharacterApi->getCharactersCharacterIdFatigue: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
datasource | string | The server name you would like data from | [optional] [default to 'tranquility'] |
if_none_match | 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] |
\Swagger\Client\Eve\Model\GetCharactersCharacterIdFatigueOk
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getCharactersCharacterIdMedals($character_id, $datasource, $if_none_match, $token): \Swagger\Client\Eve\Model\GetCharactersCharacterIdMedals200Ok[]
Get medals
Return a list of medals the character has --- This route is cached for up to 3600 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Eve\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Eve\Api\CharacterApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$character_id = 56; // int | An EVE character ID
$datasource = 'tranquility'; // string | The server name you would like data from
$if_none_match = 'if_none_match_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
try {
$result = $apiInstance->getCharactersCharacterIdMedals($character_id, $datasource, $if_none_match, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CharacterApi->getCharactersCharacterIdMedals: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
datasource | string | The server name you would like data from | [optional] [default to 'tranquility'] |
if_none_match | 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] |
\Swagger\Client\Eve\Model\GetCharactersCharacterIdMedals200Ok[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getCharactersCharacterIdNotifications($character_id, $datasource, $if_none_match, $token): \Swagger\Client\Eve\Model\GetCharactersCharacterIdNotifications200Ok[]
Get character notifications
Return character notifications --- This route is cached for up to 600 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Eve\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Eve\Api\CharacterApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$character_id = 56; // int | An EVE character ID
$datasource = 'tranquility'; // string | The server name you would like data from
$if_none_match = 'if_none_match_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
try {
$result = $apiInstance->getCharactersCharacterIdNotifications($character_id, $datasource, $if_none_match, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CharacterApi->getCharactersCharacterIdNotifications: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
datasource | string | The server name you would like data from | [optional] [default to 'tranquility'] |
if_none_match | 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] |
\Swagger\Client\Eve\Model\GetCharactersCharacterIdNotifications200Ok[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getCharactersCharacterIdNotificationsContacts($character_id, $datasource, $if_none_match, $token): \Swagger\Client\Eve\Model\GetCharactersCharacterIdNotificationsContacts200Ok[]
Get new contact notifications
Return notifications about having been added to someone's contact list --- This route is cached for up to 600 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Eve\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Eve\Api\CharacterApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$character_id = 56; // int | An EVE character ID
$datasource = 'tranquility'; // string | The server name you would like data from
$if_none_match = 'if_none_match_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
try {
$result = $apiInstance->getCharactersCharacterIdNotificationsContacts($character_id, $datasource, $if_none_match, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CharacterApi->getCharactersCharacterIdNotificationsContacts: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
datasource | string | The server name you would like data from | [optional] [default to 'tranquility'] |
if_none_match | 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] |
\Swagger\Client\Eve\Model\GetCharactersCharacterIdNotificationsContacts200Ok[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getCharactersCharacterIdPortrait($character_id, $datasource, $if_none_match): \Swagger\Client\Eve\Model\GetCharactersCharacterIdPortraitOk
Get character portraits
Get portrait urls for a character --- This route expires daily at 11:05
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Eve\Api\CharacterApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$character_id = 56; // int | An EVE character ID
$datasource = 'tranquility'; // string | The server name you would like data from
$if_none_match = 'if_none_match_example'; // string | ETag from a previous request. A 304 will be returned if this matches the current ETag
try {
$result = $apiInstance->getCharactersCharacterIdPortrait($character_id, $datasource, $if_none_match);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CharacterApi->getCharactersCharacterIdPortrait: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
datasource | string | The server name you would like data from | [optional] [default to 'tranquility'] |
if_none_match | string | ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional] |
\Swagger\Client\Eve\Model\GetCharactersCharacterIdPortraitOk
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getCharactersCharacterIdRoles($character_id, $datasource, $if_none_match, $token): \Swagger\Client\Eve\Model\GetCharactersCharacterIdRolesOk
Get character corporation roles
Returns a character's corporation roles --- This route is cached for up to 3600 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Eve\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Eve\Api\CharacterApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$character_id = 56; // int | An EVE character ID
$datasource = 'tranquility'; // string | The server name you would like data from
$if_none_match = 'if_none_match_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
try {
$result = $apiInstance->getCharactersCharacterIdRoles($character_id, $datasource, $if_none_match, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CharacterApi->getCharactersCharacterIdRoles: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
datasource | string | The server name you would like data from | [optional] [default to 'tranquility'] |
if_none_match | 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] |
\Swagger\Client\Eve\Model\GetCharactersCharacterIdRolesOk
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getCharactersCharacterIdStandings($character_id, $datasource, $if_none_match, $token): \Swagger\Client\Eve\Model\GetCharactersCharacterIdStandings200Ok[]
Get standings
Return character standings from agents, NPC corporations, and factions --- This route is cached for up to 3600 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Eve\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Eve\Api\CharacterApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$character_id = 56; // int | An EVE character ID
$datasource = 'tranquility'; // string | The server name you would like data from
$if_none_match = 'if_none_match_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
try {
$result = $apiInstance->getCharactersCharacterIdStandings($character_id, $datasource, $if_none_match, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CharacterApi->getCharactersCharacterIdStandings: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
datasource | string | The server name you would like data from | [optional] [default to 'tranquility'] |
if_none_match | 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] |
\Swagger\Client\Eve\Model\GetCharactersCharacterIdStandings200Ok[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getCharactersCharacterIdTitles($character_id, $datasource, $if_none_match, $token): \Swagger\Client\Eve\Model\GetCharactersCharacterIdTitles200Ok[]
Get character corporation titles
Returns a character's titles --- This route is cached for up to 3600 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Eve\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Eve\Api\CharacterApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$character_id = 56; // int | An EVE character ID
$datasource = 'tranquility'; // string | The server name you would like data from
$if_none_match = 'if_none_match_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
try {
$result = $apiInstance->getCharactersCharacterIdTitles($character_id, $datasource, $if_none_match, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CharacterApi->getCharactersCharacterIdTitles: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
datasource | string | The server name you would like data from | [optional] [default to 'tranquility'] |
if_none_match | 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] |
\Swagger\Client\Eve\Model\GetCharactersCharacterIdTitles200Ok[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
postCharactersAffiliation($characters, $datasource): \Swagger\Client\Eve\Model\PostCharactersAffiliation200Ok[]
Character affiliation
Bulk lookup of character IDs to corporation, alliance and faction --- This route is cached for up to 3600 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Eve\Api\CharacterApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$characters = array(56); // int[] | The character IDs to fetch affiliations for. All characters must exist, or none will be returned
$datasource = 'tranquility'; // string | The server name you would like data from
try {
$result = $apiInstance->postCharactersAffiliation($characters, $datasource);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CharacterApi->postCharactersAffiliation: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
characters | int[] | 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'] |
\Swagger\Client\Eve\Model\PostCharactersAffiliation200Ok[]
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
postCharactersCharacterIdCspa($character_id, $characters, $datasource, $token): float
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 ---
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Eve\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Eve\Api\CharacterApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$character_id = 56; // int | An EVE character ID
$characters = array(56); // int[] | The target characters to calculate the charge for
$datasource = 'tranquility'; // string | The server name you would like data from
$token = 'token_example'; // string | Access token to use if unable to set a header
try {
$result = $apiInstance->postCharactersCharacterIdCspa($character_id, $characters, $datasource, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CharacterApi->postCharactersCharacterIdCspa: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
characters | int[] | The target characters to calculate the charge for | |
datasource | string | The server name you would like data from | [optional] [default to 'tranquility'] |
token | string | Access token to use if unable to set a header | [optional] |
float
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]