Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 2.2 KB

File metadata and controls

62 lines (43 loc) · 2.2 KB

EveSwaggerInterface.InsuranceApi

All URIs are relative to https://esi.evetech.net/latest

Method HTTP request Description
getInsurancePrices GET /insurance/prices/ List insurance levels

getInsurancePrices

[GetInsurancePrices200Ok] getInsurancePrices(opts)

List insurance levels

Return available insurance levels for all ship types --- Alternate route: /dev/insurance/prices/ Alternate route: /legacy/insurance/prices/ Alternate route: /v1/insurance/prices/ --- This route is cached for up to 3600 seconds

Example

var EveSwaggerInterface = require('eve_swagger_interface');

var apiInstance = new EveSwaggerInterface.InsuranceApi();

var opts = { 
  'acceptLanguage': "en", // String | Language to use in the response
  'datasource': "tranquility", // String | The server name you would like data from
  'ifNoneMatch': "ifNoneMatch_example", // String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  'language': "en" // String | Language to use in the response, takes precedence over Accept-Language
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getInsurancePrices(opts, callback);

Parameters

Name Type Description Notes
acceptLanguage String Language to use in the response [optional] [default to en]
datasource String The server name you would like data from [optional] [default to tranquility]
ifNoneMatch String ETag from a previous request. A 304 will be returned if this matches the current ETag [optional]
language String Language to use in the response, takes precedence over Accept-Language [optional] [default to en]

Return type

[GetInsurancePrices200Ok]

Authorization

No authorization required

HTTP request headers

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