All URIs are relative to https://esi.tech.ccp.is/latest
Method | HTTP request | Description |
---|---|---|
getCharactersCharacterIdPlanets | GET /characters/{character_id}/planets/ | Get colonies |
getCharactersCharacterIdPlanetsPlanetId | GET /characters/{character_id}/planets/{planet_id}/ | Get colony layout |
getUniverseSchematicsSchematicId | GET /universe/schematics/{schematic_id}/ | Get schematic information |
\Swagger\Client\Model\GetCharactersCharacterIdPlanets200Ok[] getCharactersCharacterIdPlanets($character_id, $datasource)
Get colonies
Returns a list of all planetary colonies owned by a character. --- Alternate route: /v1/characters/{character_id}/planets/
Alternate route: /legacy/characters/{character_id}/planets/
Alternate route: /dev/characters/{character_id}/planets/
--- This route is cached for up to 600 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\PlanetaryInteractionApi();
$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->getCharactersCharacterIdPlanets($character_id, $datasource);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PlanetaryInteractionApi->getCharactersCharacterIdPlanets: ', $e->getMessage(), PHP_EOL;
}
?>
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] |
\Swagger\Client\Model\GetCharactersCharacterIdPlanets200Ok[]
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\GetCharactersCharacterIdPlanetsPlanetIdOk getCharactersCharacterIdPlanetsPlanetId($character_id, $planet_id, $datasource)
Get colony layout
Returns full details on the layout of a single planetary colony, including links, pins and routes. Note: Planetary information is only recalculated when the colony is viewed through the client. Information on this endpoint will not update until this criteria is met. --- Alternate route: /v1/characters/{character_id}/planets/{planet_id}/
Alternate route: /legacy/characters/{character_id}/planets/{planet_id}/
Alternate route: /dev/characters/{character_id}/planets/{planet_id}/
--- This route is cached for up to 600 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: evesso
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\PlanetaryInteractionApi();
$character_id = 56; // int | Character id of the target character
$planet_id = 56; // int | Planet id of the target planet
$datasource = "tranquility"; // string | The server name you would like data from
try {
$result = $api_instance->getCharactersCharacterIdPlanetsPlanetId($character_id, $planet_id, $datasource);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PlanetaryInteractionApi->getCharactersCharacterIdPlanetsPlanetId: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
character_id | int | Character id of the target character | |
planet_id | int | Planet id of the target planet | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
\Swagger\Client\Model\GetCharactersCharacterIdPlanetsPlanetIdOk
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\GetUniverseSchematicsSchematicIdOk getUniverseSchematicsSchematicId($schematic_id, $datasource)
Get schematic information
Get information on a planetary factory schematic --- Alternate route: /v1/universe/schematics/{schematic_id}/
Alternate route: /legacy/universe/schematics/{schematic_id}/
Alternate route: /dev/universe/schematics/{schematic_id}/
--- This route is cached for up to 3600 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\PlanetaryInteractionApi();
$schematic_id = 56; // int | A PI schematic ID
$datasource = "tranquility"; // string | The server name you would like data from
try {
$result = $api_instance->getUniverseSchematicsSchematicId($schematic_id, $datasource);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PlanetaryInteractionApi->getUniverseSchematicsSchematicId: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
schematic_id | int | A PI schematic ID | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
\Swagger\Client\Model\GetUniverseSchematicsSchematicIdOk
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]