ESI\Client\AssetsApi

All URIs are relative to https://esi.tech.ccp.is/latest

Method HTTP request Description
getCharactersCharacterIdAssets GET /characters/{character_id}/assets/ Get character assets

getCharactersCharacterIdAssets

\ESI\Client\Model\GetCharactersCharacterIdAssets200Ok[] getCharactersCharacterIdAssets($character_id, $datasource)

Get character assets

Return a list of the characters assets --- Alternate route: /v1/characters/{character_id}/assets/ Alternate route: /legacy/characters/{character_id}/assets/ Alternate route: /dev/characters/{character_id}/assets/ --- This route is cached for up to 3600 seconds

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: evesso
ESI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new ESI\Client\Api\AssetsApi();
$character_id = 56; // int | Character id of the target character
$datasource = "tranquility"; // string | The server name you would like data from

try {
    $result = $api_instance->getCharactersCharacterIdAssets($character_id, $datasource);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AssetsApi->getCharactersCharacterIdAssets: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
character_id int Character id of the target character
datasource string The server name you would like data from [optional] [default to tranquility]

Return type

\ESI\Client\Model\GetCharactersCharacterIdAssets200Ok[]

Authorization

evesso

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]