Sha256: 7fd1a118452f002907c6c628f1e0c67a0aa57ed6e5a2c29e1e942fcfa57a128b

Contents?: true

Size: 1.86 KB

Versions: 3

Compression:

Stored size: 1.86 KB

Contents

# ESIClient::InsuranceApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_insurance_prices**](InsuranceApi.md#get_insurance_prices) | **GET** /v1/insurance/prices/ | List insurance levels


# **get_insurance_prices**
> Array<GetInsurancePrices200Ok> get_insurance_prices(opts)

List insurance levels

Return available insurance levels for all ship types  ---  This route is cached for up to 3600 seconds

### Example
```ruby
# load the gem
require 'esi_client'

api_instance = ESIClient::InsuranceApi.new

opts = { 
  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
}

begin
  #List insurance levels
  result = api_instance.get_insurance_prices(opts)
  p result
rescue ESIClient::ApiError => e
  puts "Exception when calling InsuranceApi->get_insurance_prices: #{e}"
end
```

### Parameters

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] 

### Return type

[**Array<GetInsurancePrices200Ok>**](GetInsurancePrices200Ok.md)

### Authorization

No authorization required

### HTTP request headers

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



Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
esi_client-0.7.6.2 docs/InsuranceApi.md
esi_client-0.7.6.1 docs/InsuranceApi.md
esi_client-1.4.0 docs/InsuranceApi.md