All URIs are relative to https://esi.evetech.net/latest
Method | HTTP request | Description |
---|---|---|
getCharactersCharacterIdLocation | GET /characters/{character_id}/location/ | Get character location |
getCharactersCharacterIdOnline | GET /characters/{character_id}/online/ | Get character online |
getCharactersCharacterIdShip | GET /characters/{character_id}/ship/ | Get current ship |
\Swagger\Client\Model\GetCharactersCharacterIdLocationOk getCharactersCharacterIdLocation($character_id, $datasource, $if_none_match, $token)
Get character location
Information about the characters current location. Returns the current solar system id, and also the current station or structure ID if applicable --- Alternate route: /dev/characters/{character_id}/location/
Alternate route: /legacy/characters/{character_id}/location/
Alternate route: /v1/characters/{character_id}/location/
Alternate route: /v2/characters/{character_id}/location/
--- This route is cached for up to 5 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Api\LocationApi(
// 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->getCharactersCharacterIdLocation($character_id, $datasource, $if_none_match, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LocationApi->getCharactersCharacterIdLocation: ', $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\Model\GetCharactersCharacterIdLocationOk
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\GetCharactersCharacterIdOnlineOk getCharactersCharacterIdOnline($character_id, $datasource, $if_none_match, $token)
Get character online
Checks if the character is currently online --- Alternate route: /dev/characters/{character_id}/online/
Alternate route: /v2/characters/{character_id}/online/
Alternate route: /v3/characters/{character_id}/online/
--- This route is cached for up to 60 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Api\LocationApi(
// 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->getCharactersCharacterIdOnline($character_id, $datasource, $if_none_match, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LocationApi->getCharactersCharacterIdOnline: ', $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\Model\GetCharactersCharacterIdOnlineOk
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\GetCharactersCharacterIdShipOk getCharactersCharacterIdShip($character_id, $datasource, $if_none_match, $token)
Get current ship
Get the current ship type, name and id --- Alternate route: /dev/characters/{character_id}/ship/
Alternate route: /legacy/characters/{character_id}/ship/
Alternate route: /v1/characters/{character_id}/ship/
Alternate route: /v2/characters/{character_id}/ship/
--- This route is cached for up to 5 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Api\LocationApi(
// 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->getCharactersCharacterIdShip($character_id, $datasource, $if_none_match, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LocationApi->getCharactersCharacterIdShip: ', $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\Model\GetCharactersCharacterIdShipOk
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]