All URIs are relative to https://esi.tech.ccp.is/latest
Method | HTTP request | Description |
---|---|---|
getInsurancePrices | GET /insurance/prices/ | List insurance levels |
\Swagger\Client\Model\GetInsurancePrices200Ok[] getInsurancePrices($datasource, $language, $user_agent, $x_user_agent)
List insurance levels
Return available insurance levels for all ship types --- Alternate route: /v1/insurance/prices/
Alternate route: /legacy/insurance/prices/
Alternate route: /dev/insurance/prices/
--- This route is cached for up to 3600 seconds
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\InsuranceApi(new \Http\Adapter\Guzzle6\Client());
$datasource = "tranquility"; // string | The server name you would like data from
$language = "en-us"; // string | Language to use in the response
$user_agent = "user_agent_example"; // string | Client identifier, takes precedence over headers
$x_user_agent = "x_user_agent_example"; // string | Client identifier, takes precedence over User-Agent
try {
$result = $api_instance->getInsurancePrices($datasource, $language, $user_agent, $x_user_agent);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InsuranceApi->getInsurancePrices: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
language | string | Language to use in the response | [optional] [default to en-us] |
user_agent | string | Client identifier, takes precedence over headers | [optional] |
x_user_agent | string | Client identifier, takes precedence over User-Agent | [optional] |
\Swagger\Client\Model\GetInsurancePrices200Ok[]
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]