All URIs are relative to https://esi.evetech.net, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
getCharactersCharacterIdAssets() | GET /v5/characters/{character_id}/assets/ | Get character assets |
getCorporationsCorporationIdAssets() | GET /v5/corporations/{corporation_id}/assets/ | Get corporation assets |
postCharactersCharacterIdAssetsLocations() | POST /v2/characters/{character_id}/assets/locations/ | Get character asset locations |
postCharactersCharacterIdAssetsNames() | POST /v1/characters/{character_id}/assets/names/ | Get character asset names |
postCorporationsCorporationIdAssetsLocations() | POST /v2/corporations/{corporation_id}/assets/locations/ | Get corporation asset locations |
postCorporationsCorporationIdAssetsNames() | POST /v1/corporations/{corporation_id}/assets/names/ | Get corporation asset names |
getCharactersCharacterIdAssets($character_id, $datasource, $if_none_match, $page, $token): \Swagger\Client\Eve\Model\GetCharactersCharacterIdAssets200Ok[]
Get character assets
Return a list of the characters assets --- 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\AssetsApi(
// 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->getCharactersCharacterIdAssets($character_id, $datasource, $if_none_match, $page, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AssetsApi->getCharactersCharacterIdAssets: ', $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\GetCharactersCharacterIdAssets200Ok[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getCorporationsCorporationIdAssets($corporation_id, $datasource, $if_none_match, $page, $token): \Swagger\Client\Eve\Model\GetCorporationsCorporationIdAssets200Ok[]
Get corporation assets
Return a list of the corporation assets --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
<?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\AssetsApi(
// 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
);
$corporation_id = 56; // int | An EVE corporation 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->getCorporationsCorporationIdAssets($corporation_id, $datasource, $if_none_match, $page, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AssetsApi->getCorporationsCorporationIdAssets: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | int | An EVE corporation 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\GetCorporationsCorporationIdAssets200Ok[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
postCharactersCharacterIdAssetsLocations($character_id, $item_ids, $datasource, $token): \Swagger\Client\Eve\Model\PostCharactersCharacterIdAssetsLocations200Ok[]
Get character asset locations
Return locations for a set of item ids, which you can get from character assets endpoint. Coordinates for items in hangars or stations are set to (0,0,0) ---
<?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\AssetsApi(
// 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
$item_ids = array(56); // int[] | A list of item ids
$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->postCharactersCharacterIdAssetsLocations($character_id, $item_ids, $datasource, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AssetsApi->postCharactersCharacterIdAssetsLocations: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
item_ids | int[] | A list of item ids | |
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] |
\Swagger\Client\Eve\Model\PostCharactersCharacterIdAssetsLocations200Ok[]
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
postCharactersCharacterIdAssetsNames($character_id, $item_ids, $datasource, $token): \Swagger\Client\Eve\Model\PostCharactersCharacterIdAssetsNames200Ok[]
Get character asset names
Return names for a set of item ids, which you can get from character assets endpoint. Typically used for items that can customize names, like containers or ships. ---
<?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\AssetsApi(
// 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
$item_ids = array(56); // int[] | A list of item ids
$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->postCharactersCharacterIdAssetsNames($character_id, $item_ids, $datasource, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AssetsApi->postCharactersCharacterIdAssetsNames: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | An EVE character ID | |
item_ids | int[] | A list of item ids | |
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] |
\Swagger\Client\Eve\Model\PostCharactersCharacterIdAssetsNames200Ok[]
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
postCorporationsCorporationIdAssetsLocations($corporation_id, $item_ids, $datasource, $token): \Swagger\Client\Eve\Model\PostCorporationsCorporationIdAssetsLocations200Ok[]
Get corporation asset locations
Return locations for a set of item ids, which you can get from corporation assets endpoint. Coordinates for items in hangars or stations are set to (0,0,0) --- Requires one of the following EVE corporation role(s): Director
<?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\AssetsApi(
// 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
);
$corporation_id = 56; // int | An EVE corporation ID
$item_ids = array(56); // int[] | A list of item ids
$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->postCorporationsCorporationIdAssetsLocations($corporation_id, $item_ids, $datasource, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AssetsApi->postCorporationsCorporationIdAssetsLocations: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | int | An EVE corporation ID | |
item_ids | int[] | A list of item ids | |
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] |
\Swagger\Client\Eve\Model\PostCorporationsCorporationIdAssetsLocations200Ok[]
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
postCorporationsCorporationIdAssetsNames($corporation_id, $item_ids, $datasource, $token): \Swagger\Client\Eve\Model\PostCorporationsCorporationIdAssetsNames200Ok[]
Get corporation asset names
Return names for a set of item ids, which you can get from corporation assets endpoint. Only valid for items that can customize names, like containers or ships --- Requires one of the following EVE corporation role(s): Director
<?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\AssetsApi(
// 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
);
$corporation_id = 56; // int | An EVE corporation ID
$item_ids = array(56); // int[] | A list of item ids
$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->postCorporationsCorporationIdAssetsNames($corporation_id, $item_ids, $datasource, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AssetsApi->postCorporationsCorporationIdAssetsNames: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
corporation_id | int | An EVE corporation ID | |
item_ids | int[] | A list of item ids | |
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] |
\Swagger\Client\Eve\Model\PostCorporationsCorporationIdAssetsNames200Ok[]
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]