ESI\Client\SovereigntyApi
All URIs are relative to https://esi.tech.ccp.is/latest
Method | HTTP request | Description |
---|---|---|
getSovereigntyCampaigns | GET /sovereignty/campaigns/ | List sovereignty campaigns |
getSovereigntyStructures | GET /sovereignty/structures/ | List sovereignty structures |
getSovereigntyCampaigns
\ESI\Client\Model\GetSovereigntyCampaigns200Ok[] getSovereigntyCampaigns($datasource)
List sovereignty campaigns
Shows sovereignty data for campaigns. --- Alternate route: /v1/sovereignty/campaigns/
Alternate route: /legacy/sovereignty/campaigns/
Alternate route: /dev/sovereignty/campaigns/
--- This route is cached for up to 5 seconds
Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new ESI\Client\Api\SovereigntyApi();
$datasource = "tranquility"; // string | The server name you would like data from
try {
$result = $api_instance->getSovereigntyCampaigns($datasource);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SovereigntyApi->getSovereigntyCampaigns: ', $e->getMessage(), PHP_EOL;
}
?>
Parameters
Name | Type | Description | Notes |
---|---|---|---|
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
Return type
\ESI\Client\Model\GetSovereigntyCampaigns200Ok[]
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getSovereigntyStructures
\ESI\Client\Model\GetSovereigntyStructures200Ok[] getSovereigntyStructures($datasource)
List sovereignty structures
Shows sovereignty data for structures. --- Alternate route: /v1/sovereignty/structures/
Alternate route: /legacy/sovereignty/structures/
Alternate route: /dev/sovereignty/structures/
--- This route is cached for up to 120 seconds
Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new ESI\Client\Api\SovereigntyApi();
$datasource = "tranquility"; // string | The server name you would like data from
try {
$result = $api_instance->getSovereigntyStructures($datasource);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SovereigntyApi->getSovereigntyStructures: ', $e->getMessage(), PHP_EOL;
}
?>
Parameters
Name | Type | Description | Notes |
---|---|---|---|
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
Return type
\ESI\Client\Model\GetSovereigntyStructures200Ok[]
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]