ruby-esi

ESI - the Ruby gem for the EVE Swagger Interface

An OpenAPI for EVE Online

This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.17
  • Package version: 0.5.0
  • Build package: io.swagger.codegen.v3.generators.ruby.RubyClientCodegen

Installation

Build a gem

To build the Ruby code into a gem:

gem build ruby-esi.gemspec

Then either install the gem locally:

gem install ./ruby-esi-0.5.0.gem

(for development, run gem install --dev ./ruby-esi-0.5.0.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'ruby-esi', '~> 0.5.0'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:

gem 'ruby-esi', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'ruby-esi'

api_instance = ESI::AllianceApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #List all alliances
  result = api_instance.get_alliances(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling AllianceApi->get_alliances: #{e}"
end

api_instance = ESI::AllianceApi.new
alliance_id = 56 # Integer | An EVE alliance ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get alliance information
  result = api_instance.get_alliances_alliance_id(alliance_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling AllianceApi->get_alliances_alliance_id: #{e}"
end

api_instance = ESI::AllianceApi.new
alliance_id = 56 # Integer | An EVE alliance ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #List alliance's corporations
  result = api_instance.get_alliances_alliance_id_corporations(alliance_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling AllianceApi->get_alliances_alliance_id_corporations: #{e}"
end

api_instance = ESI::AllianceApi.new
alliance_id = 56 # Integer | An EVE alliance ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get alliance icon
  result = api_instance.get_alliances_alliance_id_icons(alliance_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling AllianceApi->get_alliances_alliance_id_icons: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::AssetsApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get character assets
  result = api_instance.get_characters_character_id_assets(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling AssetsApi->get_characters_character_id_assets: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::AssetsApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation assets
  result = api_instance.get_corporations_corporation_id_assets(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling AssetsApi->get_corporations_corporation_id_assets: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::AssetsApi.new
body = [56] # Array<Integer> | A list of item ids
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get character asset locations
  result = api_instance.post_characters_character_id_assets_locations(body, character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling AssetsApi->post_characters_character_id_assets_locations: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::AssetsApi.new
body = [56] # Array<Integer> | A list of item ids
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get character asset names
  result = api_instance.post_characters_character_id_assets_names(body, character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling AssetsApi->post_characters_character_id_assets_names: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::AssetsApi.new
body = [56] # Array<Integer> | A list of item ids
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation asset locations
  result = api_instance.post_corporations_corporation_id_assets_locations(body, corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling AssetsApi->post_corporations_corporation_id_assets_locations: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::AssetsApi.new
body = [56] # Array<Integer> | A list of item ids
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation asset names
  result = api_instance.post_corporations_corporation_id_assets_names(body, corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling AssetsApi->post_corporations_corporation_id_assets_names: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::BookmarksApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #List bookmarks
  result = api_instance.get_characters_character_id_bookmarks(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling BookmarksApi->get_characters_character_id_bookmarks: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::BookmarksApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #List bookmark folders
  result = api_instance.get_characters_character_id_bookmarks_folders(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling BookmarksApi->get_characters_character_id_bookmarks_folders: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::BookmarksApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #List corporation bookmarks
  result = api_instance.get_corporations_corporation_id_bookmarks(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling BookmarksApi->get_corporations_corporation_id_bookmarks: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::BookmarksApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #List corporation bookmark folders
  result = api_instance.get_corporations_corporation_id_bookmarks_folders(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling BookmarksApi->get_corporations_corporation_id_bookmarks_folders: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CalendarApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  from_event: 56, # Integer | The event ID to retrieve events from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #List calendar event summaries
  result = api_instance.get_characters_character_id_calendar(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CalendarApi->get_characters_character_id_calendar: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CalendarApi.new
character_id = 56 # Integer | An EVE character ID
event_id = 56 # Integer | The id of the event requested
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get an event
  result = api_instance.get_characters_character_id_calendar_event_id(character_id, event_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CalendarApi->get_characters_character_id_calendar_event_id: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CalendarApi.new
character_id = 56 # Integer | An EVE character ID
event_id = 56 # Integer | The id of the event requested
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get attendees
  result = api_instance.get_characters_character_id_calendar_event_id_attendees(character_id, event_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CalendarApi->get_characters_character_id_calendar_event_id_attendees: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CalendarApi.new
body = ESI::PutCharactersCharacterIdCalendarEventIdResponse.new # PutCharactersCharacterIdCalendarEventIdResponse | The response value to set, overriding current value
character_id = 56 # Integer | An EVE character ID
event_id = 56 # Integer | The ID of the event requested
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Respond to an event
  api_instance.put_characters_character_id_calendar_event_id(body, character_id, event_id, opts)
rescue ESI::ApiError => e
  puts "Exception when calling CalendarApi->put_characters_character_id_calendar_event_id: #{e}"
end

api_instance = ESI::CharacterApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get character's public information
  result = api_instance.get_characters_character_id(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CharacterApi->get_characters_character_id: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CharacterApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get agents research
  result = api_instance.get_characters_character_id_agents_research(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CharacterApi->get_characters_character_id_agents_research: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CharacterApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get blueprints
  result = api_instance.get_characters_character_id_blueprints(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CharacterApi->get_characters_character_id_blueprints: #{e}"
end

api_instance = ESI::CharacterApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get corporation history
  result = api_instance.get_characters_character_id_corporationhistory(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CharacterApi->get_characters_character_id_corporationhistory: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CharacterApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get jump fatigue
  result = api_instance.get_characters_character_id_fatigue(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CharacterApi->get_characters_character_id_fatigue: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CharacterApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get medals
  result = api_instance.get_characters_character_id_medals(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CharacterApi->get_characters_character_id_medals: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CharacterApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get character notifications
  result = api_instance.get_characters_character_id_notifications(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CharacterApi->get_characters_character_id_notifications: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CharacterApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get new contact notifications
  result = api_instance.get_characters_character_id_notifications_contacts(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CharacterApi->get_characters_character_id_notifications_contacts: #{e}"
end

api_instance = ESI::CharacterApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get character portraits
  result = api_instance.get_characters_character_id_portrait(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CharacterApi->get_characters_character_id_portrait: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CharacterApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get character corporation roles
  result = api_instance.get_characters_character_id_roles(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CharacterApi->get_characters_character_id_roles: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CharacterApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get standings
  result = api_instance.get_characters_character_id_standings(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CharacterApi->get_characters_character_id_standings: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CharacterApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get character corporation titles
  result = api_instance.get_characters_character_id_titles(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CharacterApi->get_characters_character_id_titles: #{e}"
end

api_instance = ESI::CharacterApi.new
body = [56] # Array<Integer> | The character IDs to fetch affiliations for. All characters must exist, or none will be returned
opts = { 
  datasource: 'tranquility' # String | The server name you would like data from
}

begin
  #Character affiliation
  result = api_instance.post_characters_affiliation(body, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CharacterApi->post_characters_affiliation: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CharacterApi.new
body = [56] # Array<Integer> | The target characters to calculate the charge for
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Calculate a CSPA charge cost
  result = api_instance.post_characters_character_id_cspa(body, character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CharacterApi->post_characters_character_id_cspa: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::ClonesApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get clones
  result = api_instance.get_characters_character_id_clones(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling ClonesApi->get_characters_character_id_clones: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::ClonesApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get active implants
  result = api_instance.get_characters_character_id_implants(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling ClonesApi->get_characters_character_id_implants: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::ContactsApi.new
character_id = 56 # Integer | An EVE character ID
contact_ids = [56] # Array<Integer> | A list of contacts to delete
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Delete contacts
  api_instance.delete_characters_character_id_contacts(character_id, contact_ids, opts)
rescue ESI::ApiError => e
  puts "Exception when calling ContactsApi->delete_characters_character_id_contacts: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::ContactsApi.new
alliance_id = 56 # Integer | An EVE alliance ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get alliance contacts
  result = api_instance.get_alliances_alliance_id_contacts(alliance_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling ContactsApi->get_alliances_alliance_id_contacts: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::ContactsApi.new
alliance_id = 56 # Integer | An EVE alliance ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get alliance contact labels
  result = api_instance.get_alliances_alliance_id_contacts_labels(alliance_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling ContactsApi->get_alliances_alliance_id_contacts_labels: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::ContactsApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get contacts
  result = api_instance.get_characters_character_id_contacts(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling ContactsApi->get_characters_character_id_contacts: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::ContactsApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get contact labels
  result = api_instance.get_characters_character_id_contacts_labels(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling ContactsApi->get_characters_character_id_contacts_labels: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::ContactsApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation contacts
  result = api_instance.get_corporations_corporation_id_contacts(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling ContactsApi->get_corporations_corporation_id_contacts: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::ContactsApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation contact labels
  result = api_instance.get_corporations_corporation_id_contacts_labels(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling ContactsApi->get_corporations_corporation_id_contacts_labels: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::ContactsApi.new
body = [56] # Array<Integer> | A list of contacts
character_id = 56 # Integer | An EVE character ID
standing = 3.4 # Float | Standing for the contact
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  label_ids: [56], # Array<Integer> | Add custom labels to the new contact
  token: 'token_example', # String | Access token to use if unable to set a header
  watched: false # BOOLEAN | Whether the contact should be watched, note this is only effective on characters
}

begin
  #Add contacts
  result = api_instance.post_characters_character_id_contacts(body, character_id, standing, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling ContactsApi->post_characters_character_id_contacts: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::ContactsApi.new
body = [56] # Array<Integer> | A list of contacts
character_id = 56 # Integer | An EVE character ID
standing = 3.4 # Float | Standing for the contact
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  label_ids: [56], # Array<Integer> | Add custom labels to the contact
  token: 'token_example', # String | Access token to use if unable to set a header
  watched: false # BOOLEAN | Whether the contact should be watched, note this is only effective on characters
}

begin
  #Edit contacts
  api_instance.put_characters_character_id_contacts(body, character_id, standing, opts)
rescue ESI::ApiError => e
  puts "Exception when calling ContactsApi->put_characters_character_id_contacts: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::ContractsApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get contracts
  result = api_instance.get_characters_character_id_contracts(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling ContractsApi->get_characters_character_id_contracts: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::ContractsApi.new
character_id = 56 # Integer | An EVE character ID
contract_id = 56 # Integer | ID of a contract
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get contract bids
  result = api_instance.get_characters_character_id_contracts_contract_id_bids(character_id, contract_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling ContractsApi->get_characters_character_id_contracts_contract_id_bids: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::ContractsApi.new
character_id = 56 # Integer | An EVE character ID
contract_id = 56 # Integer | ID of a contract
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get contract items
  result = api_instance.get_characters_character_id_contracts_contract_id_items(character_id, contract_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling ContractsApi->get_characters_character_id_contracts_contract_id_items: #{e}"
end

api_instance = ESI::ContractsApi.new
contract_id = 56 # Integer | ID of a contract
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1 # Integer | Which page of results to return
}

begin
  #Get public contract bids
  result = api_instance.get_contracts_public_bids_contract_id(contract_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling ContractsApi->get_contracts_public_bids_contract_id: #{e}"
end

api_instance = ESI::ContractsApi.new
contract_id = 56 # Integer | ID of a contract
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1 # Integer | Which page of results to return
}

begin
  #Get public contract items
  result = api_instance.get_contracts_public_items_contract_id(contract_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling ContractsApi->get_contracts_public_items_contract_id: #{e}"
end

api_instance = ESI::ContractsApi.new
region_id = 56 # Integer | An EVE region id
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1 # Integer | Which page of results to return
}

begin
  #Get public contracts
  result = api_instance.get_contracts_public_region_id(region_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling ContractsApi->get_contracts_public_region_id: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::ContractsApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation contracts
  result = api_instance.get_corporations_corporation_id_contracts(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling ContractsApi->get_corporations_corporation_id_contracts: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::ContractsApi.new
contract_id = 56 # Integer | ID of a contract
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation contract bids
  result = api_instance.get_corporations_corporation_id_contracts_contract_id_bids(contract_id, corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling ContractsApi->get_corporations_corporation_id_contracts_contract_id_bids: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::ContractsApi.new
contract_id = 56 # Integer | ID of a contract
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation contract items
  result = api_instance.get_corporations_corporation_id_contracts_contract_id_items(contract_id, corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling ContractsApi->get_corporations_corporation_id_contracts_contract_id_items: #{e}"
end

api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get corporation information
  result = api_instance.get_corporations_corporation_id(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_corporation_id: #{e}"
end

api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get alliance history
  result = api_instance.get_corporations_corporation_id_alliancehistory(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_corporation_id_alliancehistory: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation blueprints
  result = api_instance.get_corporations_corporation_id_blueprints(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_corporation_id_blueprints: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get all corporation ALSC logs
  result = api_instance.get_corporations_corporation_id_containers_logs(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_corporation_id_containers_logs: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation divisions
  result = api_instance.get_corporations_corporation_id_divisions(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_corporation_id_divisions: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation facilities
  result = api_instance.get_corporations_corporation_id_facilities(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_corporation_id_facilities: #{e}"
end

api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get corporation icon
  result = api_instance.get_corporations_corporation_id_icons(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_corporation_id_icons: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation medals
  result = api_instance.get_corporations_corporation_id_medals(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_corporation_id_medals: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation issued medals
  result = api_instance.get_corporations_corporation_id_medals_issued(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_corporation_id_medals_issued: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation members
  result = api_instance.get_corporations_corporation_id_members(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_corporation_id_members: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation member limit
  result = api_instance.get_corporations_corporation_id_members_limit(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_corporation_id_members_limit: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation's members' titles
  result = api_instance.get_corporations_corporation_id_members_titles(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_corporation_id_members_titles: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Track corporation members
  result = api_instance.get_corporations_corporation_id_membertracking(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_corporation_id_membertracking: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation member roles
  result = api_instance.get_corporations_corporation_id_roles(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_corporation_id_roles: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation member roles history
  result = api_instance.get_corporations_corporation_id_roles_history(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_corporation_id_roles_history: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation shareholders
  result = api_instance.get_corporations_corporation_id_shareholders(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_corporation_id_shareholders: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation standings
  result = api_instance.get_corporations_corporation_id_standings(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_corporation_id_standings: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation starbases (POSes)
  result = api_instance.get_corporations_corporation_id_starbases(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_corporation_id_starbases: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
starbase_id = 789 # Integer | An EVE starbase (POS) ID
system_id = 56 # Integer | The solar system this starbase (POS) is located in,
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get starbase (POS) detail
  result = api_instance.get_corporations_corporation_id_starbases_starbase_id(corporation_id, starbase_id, system_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_corporation_id_starbases_starbase_id: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  accept_language: 'en', # String | Language to use in the response
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_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
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation structures
  result = api_instance.get_corporations_corporation_id_structures(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_corporation_id_structures: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::CorporationApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation titles
  result = api_instance.get_corporations_corporation_id_titles(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_corporation_id_titles: #{e}"
end

api_instance = ESI::CorporationApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get npc corporations
  result = api_instance.get_corporations_npccorps(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling CorporationApi->get_corporations_npccorps: #{e}"
end

api_instance = ESI::DogmaApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get attributes
  result = api_instance.get_dogma_attributes(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling DogmaApi->get_dogma_attributes: #{e}"
end

api_instance = ESI::DogmaApi.new
attribute_id = 56 # Integer | A dogma attribute ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get attribute information
  result = api_instance.get_dogma_attributes_attribute_id(attribute_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling DogmaApi->get_dogma_attributes_attribute_id: #{e}"
end

api_instance = ESI::DogmaApi.new
item_id = 789 # Integer | item_id integer
type_id = 56 # Integer | type_id integer
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get dynamic item information
  result = api_instance.get_dogma_dynamic_items_type_id_item_id(item_id, type_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling DogmaApi->get_dogma_dynamic_items_type_id_item_id: #{e}"
end

api_instance = ESI::DogmaApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get effects
  result = api_instance.get_dogma_effects(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling DogmaApi->get_dogma_effects: #{e}"
end

api_instance = ESI::DogmaApi.new
effect_id = 56 # Integer | A dogma effect ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get effect information
  result = api_instance.get_dogma_effects_effect_id(effect_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling DogmaApi->get_dogma_effects_effect_id: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::FactionWarfareApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Overview of a character involved in faction warfare
  result = api_instance.get_characters_character_id_fw_stats(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling FactionWarfareApi->get_characters_character_id_fw_stats: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::FactionWarfareApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Overview of a corporation involved in faction warfare
  result = api_instance.get_corporations_corporation_id_fw_stats(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling FactionWarfareApi->get_corporations_corporation_id_fw_stats: #{e}"
end

api_instance = ESI::FactionWarfareApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #List of the top factions in faction warfare
  result = api_instance.get_fw_leaderboards(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling FactionWarfareApi->get_fw_leaderboards: #{e}"
end

api_instance = ESI::FactionWarfareApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #List of the top pilots in faction warfare
  result = api_instance.get_fw_leaderboards_characters(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling FactionWarfareApi->get_fw_leaderboards_characters: #{e}"
end

api_instance = ESI::FactionWarfareApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #List of the top corporations in faction warfare
  result = api_instance.get_fw_leaderboards_corporations(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling FactionWarfareApi->get_fw_leaderboards_corporations: #{e}"
end

api_instance = ESI::FactionWarfareApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #An overview of statistics about factions involved in faction warfare
  result = api_instance.get_fw_stats(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling FactionWarfareApi->get_fw_stats: #{e}"
end

api_instance = ESI::FactionWarfareApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Ownership of faction warfare systems
  result = api_instance.get_fw_systems(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling FactionWarfareApi->get_fw_systems: #{e}"
end

api_instance = ESI::FactionWarfareApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Data about which NPC factions are at war
  result = api_instance.get_fw_wars(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling FactionWarfareApi->get_fw_wars: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::FittingsApi.new
character_id = 56 # Integer | An EVE character ID
fitting_id = 56 # Integer | ID for a fitting of this character
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Delete fitting
  api_instance.delete_characters_character_id_fittings_fitting_id(character_id, fitting_id, opts)
rescue ESI::ApiError => e
  puts "Exception when calling FittingsApi->delete_characters_character_id_fittings_fitting_id: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::FittingsApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get fittings
  result = api_instance.get_characters_character_id_fittings(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling FittingsApi->get_characters_character_id_fittings: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::FittingsApi.new
body = ESI::PostCharactersCharacterIdFittingsFitting.new # PostCharactersCharacterIdFittingsFitting | Details about the new fitting
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Create fitting
  result = api_instance.post_characters_character_id_fittings(body, character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling FittingsApi->post_characters_character_id_fittings: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::FleetsApi.new
fleet_id = 789 # Integer | ID for a fleet
member_id = 56 # Integer | The character ID of a member in this fleet
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Kick fleet member
  api_instance.delete_fleets_fleet_id_members_member_id(fleet_id, member_id, opts)
rescue ESI::ApiError => e
  puts "Exception when calling FleetsApi->delete_fleets_fleet_id_members_member_id: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::FleetsApi.new
fleet_id = 789 # Integer | ID for a fleet
squad_id = 789 # Integer | The squad to delete
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Delete fleet squad
  api_instance.delete_fleets_fleet_id_squads_squad_id(fleet_id, squad_id, opts)
rescue ESI::ApiError => e
  puts "Exception when calling FleetsApi->delete_fleets_fleet_id_squads_squad_id: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::FleetsApi.new
fleet_id = 789 # Integer | ID for a fleet
wing_id = 789 # Integer | The wing to delete
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Delete fleet wing
  api_instance.delete_fleets_fleet_id_wings_wing_id(fleet_id, wing_id, opts)
rescue ESI::ApiError => e
  puts "Exception when calling FleetsApi->delete_fleets_fleet_id_wings_wing_id: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::FleetsApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get character fleet info
  result = api_instance.get_characters_character_id_fleet(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling FleetsApi->get_characters_character_id_fleet: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::FleetsApi.new
fleet_id = 789 # Integer | ID for a fleet
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get fleet information
  result = api_instance.get_fleets_fleet_id(fleet_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling FleetsApi->get_fleets_fleet_id: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::FleetsApi.new
fleet_id = 789 # Integer | ID for a fleet
opts = { 
  accept_language: 'en', # String | Language to use in the response
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_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
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get fleet members
  result = api_instance.get_fleets_fleet_id_members(fleet_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling FleetsApi->get_fleets_fleet_id_members: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::FleetsApi.new
fleet_id = 789 # Integer | ID for a fleet
opts = { 
  accept_language: 'en', # String | Language to use in the response
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_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
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get fleet wings
  result = api_instance.get_fleets_fleet_id_wings(fleet_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling FleetsApi->get_fleets_fleet_id_wings: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::FleetsApi.new
body = ESI::PostFleetsFleetIdMembersInvitation.new # PostFleetsFleetIdMembersInvitation | Details of the invitation
fleet_id = 789 # Integer | ID for a fleet
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Create fleet invitation
  api_instance.post_fleets_fleet_id_members(body, fleet_id, opts)
rescue ESI::ApiError => e
  puts "Exception when calling FleetsApi->post_fleets_fleet_id_members: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::FleetsApi.new
fleet_id = 789 # Integer | ID for a fleet
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Create fleet wing
  result = api_instance.post_fleets_fleet_id_wings(fleet_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling FleetsApi->post_fleets_fleet_id_wings: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::FleetsApi.new
fleet_id = 789 # Integer | ID for a fleet
wing_id = 789 # Integer | The wing_id to create squad in
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Create fleet squad
  result = api_instance.post_fleets_fleet_id_wings_wing_id_squads(fleet_id, wing_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling FleetsApi->post_fleets_fleet_id_wings_wing_id_squads: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::FleetsApi.new
body = ESI::PutFleetsFleetIdNewSettings.new # PutFleetsFleetIdNewSettings | What to update for this fleet
fleet_id = 789 # Integer | ID for a fleet
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Update fleet
  api_instance.put_fleets_fleet_id(body, fleet_id, opts)
rescue ESI::ApiError => e
  puts "Exception when calling FleetsApi->put_fleets_fleet_id: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::FleetsApi.new
body = ESI::PutFleetsFleetIdMembersMemberIdMovement.new # PutFleetsFleetIdMembersMemberIdMovement | Details of the invitation
fleet_id = 789 # Integer | ID for a fleet
member_id = 56 # Integer | The character ID of a member in this fleet
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Move fleet member
  api_instance.put_fleets_fleet_id_members_member_id(body, fleet_id, member_id, opts)
rescue ESI::ApiError => e
  puts "Exception when calling FleetsApi->put_fleets_fleet_id_members_member_id: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::FleetsApi.new
body = ESI::PutFleetsFleetIdSquadsSquadIdNaming.new # PutFleetsFleetIdSquadsSquadIdNaming | New name of the squad
fleet_id = 789 # Integer | ID for a fleet
squad_id = 789 # Integer | The squad to rename
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Rename fleet squad
  api_instance.put_fleets_fleet_id_squads_squad_id(body, fleet_id, squad_id, opts)
rescue ESI::ApiError => e
  puts "Exception when calling FleetsApi->put_fleets_fleet_id_squads_squad_id: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::FleetsApi.new
body = ESI::PutFleetsFleetIdWingsWingIdNaming.new # PutFleetsFleetIdWingsWingIdNaming | New name of the wing
fleet_id = 789 # Integer | ID for a fleet
wing_id = 789 # Integer | The wing to rename
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Rename fleet wing
  api_instance.put_fleets_fleet_id_wings_wing_id(body, fleet_id, wing_id, opts)
rescue ESI::ApiError => e
  puts "Exception when calling FleetsApi->put_fleets_fleet_id_wings_wing_id: #{e}"
end

api_instance = ESI::IncursionsApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #List incursions
  result = api_instance.get_incursions(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling IncursionsApi->get_incursions: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::IndustryApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  include_completed: true, # BOOLEAN | Whether to retrieve completed character industry jobs. Only includes jobs from the past 90 days
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #List character industry jobs
  result = api_instance.get_characters_character_id_industry_jobs(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling IndustryApi->get_characters_character_id_industry_jobs: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::IndustryApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Character mining ledger
  result = api_instance.get_characters_character_id_mining(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling IndustryApi->get_characters_character_id_mining: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::IndustryApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Moon extraction timers
  result = api_instance.get_corporation_corporation_id_mining_extractions(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling IndustryApi->get_corporation_corporation_id_mining_extractions: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::IndustryApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Corporation mining observers
  result = api_instance.get_corporation_corporation_id_mining_observers(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling IndustryApi->get_corporation_corporation_id_mining_observers: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::IndustryApi.new
corporation_id = 56 # Integer | An EVE corporation ID
observer_id = 789 # Integer | A mining observer id
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Observed corporation mining
  result = api_instance.get_corporation_corporation_id_mining_observers_observer_id(corporation_id, observer_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling IndustryApi->get_corporation_corporation_id_mining_observers_observer_id: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::IndustryApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  include_completed: false, # BOOLEAN | Whether to retrieve completed corporation industry jobs. Only includes jobs from the past 90 days
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #List corporation industry jobs
  result = api_instance.get_corporations_corporation_id_industry_jobs(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling IndustryApi->get_corporations_corporation_id_industry_jobs: #{e}"
end

api_instance = ESI::IndustryApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #List industry facilities
  result = api_instance.get_industry_facilities(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling IndustryApi->get_industry_facilities: #{e}"
end

api_instance = ESI::IndustryApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #List solar system cost indices
  result = api_instance.get_industry_systems(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling IndustryApi->get_industry_systems: #{e}"
end

api_instance = ESI::InsuranceApi.new
opts = { 
  accept_language: 'en', # String | Language to use in the response
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_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
}

begin
  #List insurance levels
  result = api_instance.get_insurance_prices(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling InsuranceApi->get_insurance_prices: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::KillmailsApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get a character's recent kills and losses
  result = api_instance.get_characters_character_id_killmails_recent(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling KillmailsApi->get_characters_character_id_killmails_recent: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::KillmailsApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get a corporation's recent kills and losses
  result = api_instance.get_corporations_corporation_id_killmails_recent(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling KillmailsApi->get_corporations_corporation_id_killmails_recent: #{e}"
end

api_instance = ESI::KillmailsApi.new
killmail_hash = 'killmail_hash_example' # String | The killmail hash for verification
killmail_id = 56 # Integer | The killmail ID to be queried
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get a single killmail
  result = api_instance.get_killmails_killmail_id_killmail_hash(killmail_hash, killmail_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling KillmailsApi->get_killmails_killmail_id_killmail_hash: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::LocationApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get character location
  result = api_instance.get_characters_character_id_location(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling LocationApi->get_characters_character_id_location: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::LocationApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get character online
  result = api_instance.get_characters_character_id_online(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling LocationApi->get_characters_character_id_online: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::LocationApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get current ship
  result = api_instance.get_characters_character_id_ship(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling LocationApi->get_characters_character_id_ship: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::LoyaltyApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get loyalty points
  result = api_instance.get_characters_character_id_loyalty_points(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling LoyaltyApi->get_characters_character_id_loyalty_points: #{e}"
end

api_instance = ESI::LoyaltyApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #List loyalty store offers
  result = api_instance.get_loyalty_stores_corporation_id_offers(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling LoyaltyApi->get_loyalty_stores_corporation_id_offers: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::MailApi.new
character_id = 56 # Integer | An EVE character ID
label_id = 56 # Integer | An EVE label id
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Delete a mail label
  api_instance.delete_characters_character_id_mail_labels_label_id(character_id, label_id, opts)
rescue ESI::ApiError => e
  puts "Exception when calling MailApi->delete_characters_character_id_mail_labels_label_id: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::MailApi.new
character_id = 56 # Integer | An EVE character ID
mail_id = 56 # Integer | An EVE mail ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Delete a mail
  api_instance.delete_characters_character_id_mail_mail_id(character_id, mail_id, opts)
rescue ESI::ApiError => e
  puts "Exception when calling MailApi->delete_characters_character_id_mail_mail_id: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::MailApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  labels: [56], # Array<Integer> | Fetch only mails that match one or more of the given labels
  last_mail_id: 56, # Integer | List only mail with an ID lower than the given ID, if present
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Return mail headers
  result = api_instance.get_characters_character_id_mail(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling MailApi->get_characters_character_id_mail: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::MailApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get mail labels and unread counts
  result = api_instance.get_characters_character_id_mail_labels(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling MailApi->get_characters_character_id_mail_labels: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::MailApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Return mailing list subscriptions
  result = api_instance.get_characters_character_id_mail_lists(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling MailApi->get_characters_character_id_mail_lists: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::MailApi.new
character_id = 56 # Integer | An EVE character ID
mail_id = 56 # Integer | An EVE mail ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Return a mail
  result = api_instance.get_characters_character_id_mail_mail_id(character_id, mail_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling MailApi->get_characters_character_id_mail_mail_id: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::MailApi.new
body = ESI::PostCharactersCharacterIdMailMail.new # PostCharactersCharacterIdMailMail | The mail to send
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Send a new mail
  result = api_instance.post_characters_character_id_mail(body, character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling MailApi->post_characters_character_id_mail: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::MailApi.new
body = ESI::PostCharactersCharacterIdMailLabelsLabel.new # PostCharactersCharacterIdMailLabelsLabel | Label to create
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Create a mail label
  result = api_instance.post_characters_character_id_mail_labels(body, character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling MailApi->post_characters_character_id_mail_labels: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::MailApi.new
body = ESI::PutCharactersCharacterIdMailMailIdContents.new # PutCharactersCharacterIdMailMailIdContents | Data used to update the mail
character_id = 56 # Integer | An EVE character ID
mail_id = 56 # Integer | An EVE mail ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Update metadata about a mail
  api_instance.put_characters_character_id_mail_mail_id(body, character_id, mail_id, opts)
rescue ESI::ApiError => e
  puts "Exception when calling MailApi->put_characters_character_id_mail_mail_id: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::MarketApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #List open orders from a character
  result = api_instance.get_characters_character_id_orders(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling MarketApi->get_characters_character_id_orders: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::MarketApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #List historical orders by a character
  result = api_instance.get_characters_character_id_orders_history(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling MarketApi->get_characters_character_id_orders_history: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::MarketApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #List open orders from a corporation
  result = api_instance.get_corporations_corporation_id_orders(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling MarketApi->get_corporations_corporation_id_orders: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::MarketApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #List historical orders from a corporation
  result = api_instance.get_corporations_corporation_id_orders_history(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling MarketApi->get_corporations_corporation_id_orders_history: #{e}"
end

api_instance = ESI::MarketApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get item groups
  result = api_instance.get_markets_groups(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling MarketApi->get_markets_groups: #{e}"
end

api_instance = ESI::MarketApi.new
market_group_id = 56 # Integer | An Eve item group ID
opts = { 
  accept_language: 'en', # String | Language to use in the response
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_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
}

begin
  #Get item group information
  result = api_instance.get_markets_groups_market_group_id(market_group_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling MarketApi->get_markets_groups_market_group_id: #{e}"
end

api_instance = ESI::MarketApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #List market prices
  result = api_instance.get_markets_prices(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling MarketApi->get_markets_prices: #{e}"
end

api_instance = ESI::MarketApi.new
region_id = 56 # Integer | Return statistics in this region
type_id = 56 # Integer | Return statistics for this type
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #List historical market statistics in a region
  result = api_instance.get_markets_region_id_history(region_id, type_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling MarketApi->get_markets_region_id_history: #{e}"
end

api_instance = ESI::MarketApi.new
order_type = 'all' # String | Filter buy/sell orders, return all orders by default. If you query without type_id, we always return both buy and sell orders
region_id = 56 # Integer | Return orders in this region
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  type_id: 56 # Integer | Return orders only for this type
}

begin
  #List orders in a region
  result = api_instance.get_markets_region_id_orders(order_type, region_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling MarketApi->get_markets_region_id_orders: #{e}"
end

api_instance = ESI::MarketApi.new
region_id = 56 # Integer | Return statistics in this region
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1 # Integer | Which page of results to return
}

begin
  #List type IDs relevant to a market
  result = api_instance.get_markets_region_id_types(region_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling MarketApi->get_markets_region_id_types: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::MarketApi.new
structure_id = 789 # Integer | Return orders in this structure
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #List orders in a structure
  result = api_instance.get_markets_structures_structure_id(structure_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling MarketApi->get_markets_structures_structure_id: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::OpportunitiesApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get a character's completed tasks
  result = api_instance.get_characters_character_id_opportunities(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling OpportunitiesApi->get_characters_character_id_opportunities: #{e}"
end

api_instance = ESI::OpportunitiesApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get opportunities groups
  result = api_instance.get_opportunities_groups(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling OpportunitiesApi->get_opportunities_groups: #{e}"
end

api_instance = ESI::OpportunitiesApi.new
group_id = 56 # Integer | ID of an opportunities group
opts = { 
  accept_language: 'en', # String | Language to use in the response
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_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
}

begin
  #Get opportunities group
  result = api_instance.get_opportunities_groups_group_id(group_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling OpportunitiesApi->get_opportunities_groups_group_id: #{e}"
end

api_instance = ESI::OpportunitiesApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get opportunities tasks
  result = api_instance.get_opportunities_tasks(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling OpportunitiesApi->get_opportunities_tasks: #{e}"
end

api_instance = ESI::OpportunitiesApi.new
task_id = 56 # Integer | ID of an opportunities task
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get opportunities task
  result = api_instance.get_opportunities_tasks_task_id(task_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling OpportunitiesApi->get_opportunities_tasks_task_id: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::PlanetaryInteractionApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get colonies
  result = api_instance.get_characters_character_id_planets(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling PlanetaryInteractionApi->get_characters_character_id_planets: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::PlanetaryInteractionApi.new
character_id = 56 # Integer | An EVE character ID
planet_id = 56 # Integer | Planet id of the target planet
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get colony layout
  result = api_instance.get_characters_character_id_planets_planet_id(character_id, planet_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling PlanetaryInteractionApi->get_characters_character_id_planets_planet_id: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::PlanetaryInteractionApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #List corporation customs offices
  result = api_instance.get_corporations_corporation_id_customs_offices(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling PlanetaryInteractionApi->get_corporations_corporation_id_customs_offices: #{e}"
end

api_instance = ESI::PlanetaryInteractionApi.new
schematic_id = 56 # Integer | A PI schematic ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get schematic information
  result = api_instance.get_universe_schematics_schematic_id(schematic_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling PlanetaryInteractionApi->get_universe_schematics_schematic_id: #{e}"
end

api_instance = ESI::RoutesApi.new
destination = 56 # Integer | destination solar system ID
origin = 56 # Integer | origin solar system ID
opts = { 
  avoid: [56], # Array<Integer> | avoid solar system ID(s)
  connections: [ESI::Array<Integer>.new], # Array<Array<Integer>> | connected solar system pairs
  datasource: 'tranquility', # String | The server name you would like data from
  flag: 'shortest', # String | route security preference
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get route
  result = api_instance.get_route_origin_destination(destination, origin, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling RoutesApi->get_route_origin_destination: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::SearchApi.new
categories = ['categories_example'] # Array<String> | Type of entities to search for
character_id = 56 # Integer | An EVE character ID
search = 'search_example' # String | The string to search on
opts = { 
  accept_language: 'en', # String | Language to use in the response
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_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
  strict: false, # BOOLEAN | Whether the search should be a strict match
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Search on a string
  result = api_instance.get_characters_character_id_search(categories, character_id, search, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling SearchApi->get_characters_character_id_search: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::SkillsApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get character attributes
  result = api_instance.get_characters_character_id_attributes(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling SkillsApi->get_characters_character_id_attributes: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::SkillsApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get character's skill queue
  result = api_instance.get_characters_character_id_skillqueue(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling SkillsApi->get_characters_character_id_skillqueue: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::SkillsApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get character skills
  result = api_instance.get_characters_character_id_skills(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling SkillsApi->get_characters_character_id_skills: #{e}"
end

api_instance = ESI::SovereigntyApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #List sovereignty campaigns
  result = api_instance.get_sovereignty_campaigns(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling SovereigntyApi->get_sovereignty_campaigns: #{e}"
end

api_instance = ESI::SovereigntyApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #List sovereignty of systems
  result = api_instance.get_sovereignty_map(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling SovereigntyApi->get_sovereignty_map: #{e}"
end

api_instance = ESI::SovereigntyApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #List sovereignty structures
  result = api_instance.get_sovereignty_structures(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling SovereigntyApi->get_sovereignty_structures: #{e}"
end

api_instance = ESI::StatusApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Retrieve the uptime and player counts
  result = api_instance.get_status(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling StatusApi->get_status: #{e}"
end

api_instance = ESI::UniverseApi.new
opts = { 
  accept_language: 'en', # String | Language to use in the response
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_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
}

begin
  #Get ancestries
  result = api_instance.get_universe_ancestries(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_ancestries: #{e}"
end

api_instance = ESI::UniverseApi.new
asteroid_belt_id = 56 # Integer | asteroid_belt_id integer
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get asteroid belt information
  result = api_instance.get_universe_asteroid_belts_asteroid_belt_id(asteroid_belt_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_asteroid_belts_asteroid_belt_id: #{e}"
end

api_instance = ESI::UniverseApi.new
opts = { 
  accept_language: 'en', # String | Language to use in the response
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_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
}

begin
  #Get bloodlines
  result = api_instance.get_universe_bloodlines(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_bloodlines: #{e}"
end

api_instance = ESI::UniverseApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get item categories
  result = api_instance.get_universe_categories(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_categories: #{e}"
end

api_instance = ESI::UniverseApi.new
category_id = 56 # Integer | An Eve item category ID
opts = { 
  accept_language: 'en', # String | Language to use in the response
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_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
}

begin
  #Get item category information
  result = api_instance.get_universe_categories_category_id(category_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_categories_category_id: #{e}"
end

api_instance = ESI::UniverseApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get constellations
  result = api_instance.get_universe_constellations(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_constellations: #{e}"
end

api_instance = ESI::UniverseApi.new
constellation_id = 56 # Integer | constellation_id integer
opts = { 
  accept_language: 'en', # String | Language to use in the response
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_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
}

begin
  #Get constellation information
  result = api_instance.get_universe_constellations_constellation_id(constellation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_constellations_constellation_id: #{e}"
end

api_instance = ESI::UniverseApi.new
opts = { 
  accept_language: 'en', # String | Language to use in the response
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_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
}

begin
  #Get factions
  result = api_instance.get_universe_factions(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_factions: #{e}"
end

api_instance = ESI::UniverseApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get graphics
  result = api_instance.get_universe_graphics(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_graphics: #{e}"
end

api_instance = ESI::UniverseApi.new
graphic_id = 56 # Integer | graphic_id integer
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get graphic information
  result = api_instance.get_universe_graphics_graphic_id(graphic_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_graphics_graphic_id: #{e}"
end

api_instance = ESI::UniverseApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1 # Integer | Which page of results to return
}

begin
  #Get item groups
  result = api_instance.get_universe_groups(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_groups: #{e}"
end

api_instance = ESI::UniverseApi.new
group_id = 56 # Integer | An Eve item group ID
opts = { 
  accept_language: 'en', # String | Language to use in the response
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_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
}

begin
  #Get item group information
  result = api_instance.get_universe_groups_group_id(group_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_groups_group_id: #{e}"
end

api_instance = ESI::UniverseApi.new
moon_id = 56 # Integer | moon_id integer
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get moon information
  result = api_instance.get_universe_moons_moon_id(moon_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_moons_moon_id: #{e}"
end

api_instance = ESI::UniverseApi.new
planet_id = 56 # Integer | planet_id integer
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get planet information
  result = api_instance.get_universe_planets_planet_id(planet_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_planets_planet_id: #{e}"
end

api_instance = ESI::UniverseApi.new
opts = { 
  accept_language: 'en', # String | Language to use in the response
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_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
}

begin
  #Get character races
  result = api_instance.get_universe_races(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_races: #{e}"
end

api_instance = ESI::UniverseApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get regions
  result = api_instance.get_universe_regions(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_regions: #{e}"
end

api_instance = ESI::UniverseApi.new
region_id = 56 # Integer | region_id integer
opts = { 
  accept_language: 'en', # String | Language to use in the response
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_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
}

begin
  #Get region information
  result = api_instance.get_universe_regions_region_id(region_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_regions_region_id: #{e}"
end

api_instance = ESI::UniverseApi.new
stargate_id = 56 # Integer | stargate_id integer
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get stargate information
  result = api_instance.get_universe_stargates_stargate_id(stargate_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_stargates_stargate_id: #{e}"
end

api_instance = ESI::UniverseApi.new
star_id = 56 # Integer | star_id integer
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get star information
  result = api_instance.get_universe_stars_star_id(star_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_stars_star_id: #{e}"
end

api_instance = ESI::UniverseApi.new
station_id = 56 # Integer | station_id integer
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get station information
  result = api_instance.get_universe_stations_station_id(station_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_stations_station_id: #{e}"
end

api_instance = ESI::UniverseApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  filter: 'filter_example', # String | Only list public structures that have this service online
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #List all public structures
  result = api_instance.get_universe_structures(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_structures: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::UniverseApi.new
structure_id = 789 # Integer | An Eve structure ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get structure information
  result = api_instance.get_universe_structures_structure_id(structure_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_structures_structure_id: #{e}"
end

api_instance = ESI::UniverseApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get system jumps
  result = api_instance.get_universe_system_jumps(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_system_jumps: #{e}"
end

api_instance = ESI::UniverseApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get system kills
  result = api_instance.get_universe_system_kills(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_system_kills: #{e}"
end

api_instance = ESI::UniverseApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get solar systems
  result = api_instance.get_universe_systems(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_systems: #{e}"
end

api_instance = ESI::UniverseApi.new
system_id = 56 # Integer | system_id integer
opts = { 
  accept_language: 'en', # String | Language to use in the response
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_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
}

begin
  #Get solar system information
  result = api_instance.get_universe_systems_system_id(system_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_systems_system_id: #{e}"
end

api_instance = ESI::UniverseApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1 # Integer | Which page of results to return
}

begin
  #Get types
  result = api_instance.get_universe_types(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_types: #{e}"
end

api_instance = ESI::UniverseApi.new
type_id = 56 # Integer | An Eve item type ID
opts = { 
  accept_language: 'en', # String | Language to use in the response
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_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
}

begin
  #Get type information
  result = api_instance.get_universe_types_type_id(type_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->get_universe_types_type_id: #{e}"
end

api_instance = ESI::UniverseApi.new
body = ['body_example'] # Array<String> | The names to resolve
opts = { 
  accept_language: 'en', # String | Language to use in the response
  datasource: 'tranquility', # String | The server name you would like data from
  language: 'en' # String | Language to use in the response, takes precedence over Accept-Language
}

begin
  #Bulk names to IDs
  result = api_instance.post_universe_ids(body, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->post_universe_ids: #{e}"
end

api_instance = ESI::UniverseApi.new
body = [56] # Array<Integer> | The ids to resolve
opts = { 
  datasource: 'tranquility' # String | The server name you would like data from
}

begin
  #Get names and categories for a set of IDs
  result = api_instance.post_universe_names(body, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling UniverseApi->post_universe_names: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::UserInterfaceApi.new
add_to_beginning = false # BOOLEAN | Whether this solar system should be added to the beginning of all waypoints
clear_other_waypoints = false # BOOLEAN | Whether clean other waypoints beforing adding this one
destination_id = 789 # Integer | The destination to travel to, can be solar system, station or structure's id
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Set Autopilot Waypoint
  api_instance.post_ui_autopilot_waypoint(add_to_beginning, clear_other_waypoints, destination_id, opts)
rescue ESI::ApiError => e
  puts "Exception when calling UserInterfaceApi->post_ui_autopilot_waypoint: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::UserInterfaceApi.new
contract_id = 56 # Integer | The contract to open
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Open Contract Window
  api_instance.post_ui_openwindow_contract(contract_id, opts)
rescue ESI::ApiError => e
  puts "Exception when calling UserInterfaceApi->post_ui_openwindow_contract: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::UserInterfaceApi.new
target_id = 56 # Integer | The target to open
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Open Information Window
  api_instance.post_ui_openwindow_information(target_id, opts)
rescue ESI::ApiError => e
  puts "Exception when calling UserInterfaceApi->post_ui_openwindow_information: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::UserInterfaceApi.new
type_id = 56 # Integer | The item type to open in market window
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Open Market Details
  api_instance.post_ui_openwindow_marketdetails(type_id, opts)
rescue ESI::ApiError => e
  puts "Exception when calling UserInterfaceApi->post_ui_openwindow_marketdetails: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::UserInterfaceApi.new
body = ESI::PostUiOpenwindowNewmailNewMail.new # PostUiOpenwindowNewmailNewMail | The details of mail to create
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Open New Mail Window
  api_instance.post_ui_openwindow_newmail(body, opts)
rescue ESI::ApiError => e
  puts "Exception when calling UserInterfaceApi->post_ui_openwindow_newmail: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::WalletApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get a character's wallet balance
  result = api_instance.get_characters_character_id_wallet(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling WalletApi->get_characters_character_id_wallet: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::WalletApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get character wallet journal
  result = api_instance.get_characters_character_id_wallet_journal(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling WalletApi->get_characters_character_id_wallet_journal: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::WalletApi.new
character_id = 56 # Integer | An EVE character ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  from_id: 789, # Integer | Only show transactions happened before the one referenced by this id
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get wallet transactions
  result = api_instance.get_characters_character_id_wallet_transactions(character_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling WalletApi->get_characters_character_id_wallet_transactions: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::WalletApi.new
corporation_id = 56 # Integer | An EVE corporation ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Returns a corporation's wallet balance
  result = api_instance.get_corporations_corporation_id_wallets(corporation_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling WalletApi->get_corporations_corporation_id_wallets: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::WalletApi.new
corporation_id = 56 # Integer | An EVE corporation ID
division = 56 # Integer | Wallet key of the division to fetch journals from
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1, # Integer | Which page of results to return
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation wallet journal
  result = api_instance.get_corporations_corporation_id_wallets_division_journal(corporation_id, division, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling WalletApi->get_corporations_corporation_id_wallets_division_journal: #{e}"
end
# Setup authorization
ESI.configure do |config|
  # Configure OAuth2 access token for authorization: evesso
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ESI::WalletApi.new
corporation_id = 56 # Integer | An EVE corporation ID
division = 56 # Integer | Wallet key of the division to fetch journals from
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  from_id: 789, # Integer | Only show journal entries happened before the transaction referenced by this id
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  token: 'token_example' # String | Access token to use if unable to set a header
}

begin
  #Get corporation wallet transactions
  result = api_instance.get_corporations_corporation_id_wallets_division_transactions(corporation_id, division, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling WalletApi->get_corporations_corporation_id_wallets_division_transactions: #{e}"
end

api_instance = ESI::WarsApi.new
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  max_war_id: 56 # Integer | Only return wars with ID smaller than this
}

begin
  #List wars
  result = api_instance.get_wars(opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling WarsApi->get_wars: #{e}"
end

api_instance = ESI::WarsApi.new
war_id = 56 # Integer | ID for a war
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example' # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
}

begin
  #Get war information
  result = api_instance.get_wars_war_id(war_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling WarsApi->get_wars_war_id: #{e}"
end

api_instance = ESI::WarsApi.new
war_id = 56 # Integer | A valid war ID
opts = { 
  datasource: 'tranquility', # String | The server name you would like data from
  if_none_match: 'if_none_match_example', # String | ETag from a previous request. A 304 will be returned if this matches the current ETag
  page: 1 # Integer | Which page of results to return
}

begin
  #List kills for a war
  result = api_instance.get_wars_war_id_killmails(war_id, opts)
  p result
rescue ESI::ApiError => e
  puts "Exception when calling WarsApi->get_wars_war_id_killmails: #{e}"
end

Documentation for API Endpoints

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

Class Method HTTP request Description
ESI::AllianceApi get_alliances GET /alliances/ List all alliances
ESI::AllianceApi get_alliances_alliance_id GET /alliances/alliance_id/ Get alliance information
ESI::AllianceApi get_alliances_alliance_id_corporations GET /alliances/alliance_id/corporations/ List alliance's corporations
ESI::AllianceApi get_alliances_alliance_id_icons GET /alliances/alliance_id/icons/ Get alliance icon
ESI::AssetsApi get_characters_character_id_assets GET /characters/character_id/assets/ Get character assets
ESI::AssetsApi get_corporations_corporation_id_assets GET /corporations/corporation_id/assets/ Get corporation assets
ESI::AssetsApi post_characters_character_id_assets_locations POST /characters/character_id/assets/locations/ Get character asset locations
ESI::AssetsApi post_characters_character_id_assets_names POST /characters/character_id/assets/names/ Get character asset names
ESI::AssetsApi post_corporations_corporation_id_assets_locations POST /corporations/corporation_id/assets/locations/ Get corporation asset locations
ESI::AssetsApi post_corporations_corporation_id_assets_names POST /corporations/corporation_id/assets/names/ Get corporation asset names
ESI::BookmarksApi get_characters_character_id_bookmarks GET /characters/character_id/bookmarks/ List bookmarks
ESI::BookmarksApi get_characters_character_id_bookmarks_folders GET /characters/character_id/bookmarks/folders/ List bookmark folders
ESI::BookmarksApi get_corporations_corporation_id_bookmarks GET /corporations/corporation_id/bookmarks/ List corporation bookmarks
ESI::BookmarksApi get_corporations_corporation_id_bookmarks_folders GET /corporations/corporation_id/bookmarks/folders/ List corporation bookmark folders
ESI::CalendarApi get_characters_character_id_calendar GET /characters/character_id/calendar/ List calendar event summaries
ESI::CalendarApi get_characters_character_id_calendar_event_id GET /characters/character_id/calendar/event_id/ Get an event
ESI::CalendarApi get_characters_character_id_calendar_event_id_attendees GET /characters/character_id/calendar/event_id/attendees/ Get attendees
ESI::CalendarApi put_characters_character_id_calendar_event_id PUT /characters/character_id/calendar/event_id/ Respond to an event
ESI::CharacterApi get_characters_character_id GET /characters/character_id/ Get character's public information
ESI::CharacterApi get_characters_character_id_agents_research GET /characters/character_id/agents_research/ Get agents research
ESI::CharacterApi get_characters_character_id_blueprints GET /characters/character_id/blueprints/ Get blueprints
ESI::CharacterApi get_characters_character_id_corporationhistory GET /characters/character_id/corporationhistory/ Get corporation history
ESI::CharacterApi get_characters_character_id_fatigue GET /characters/character_id/fatigue/ Get jump fatigue
ESI::CharacterApi get_characters_character_id_medals GET /characters/character_id/medals/ Get medals
ESI::CharacterApi get_characters_character_id_notifications GET /characters/character_id/notifications/ Get character notifications
ESI::CharacterApi get_characters_character_id_notifications_contacts GET /characters/character_id/notifications/contacts/ Get new contact notifications
ESI::CharacterApi get_characters_character_id_portrait GET /characters/character_id/portrait/ Get character portraits
ESI::CharacterApi get_characters_character_id_roles GET /characters/character_id/roles/ Get character corporation roles
ESI::CharacterApi get_characters_character_id_standings GET /characters/character_id/standings/ Get standings
ESI::CharacterApi get_characters_character_id_titles GET /characters/character_id/titles/ Get character corporation titles
ESI::CharacterApi post_characters_affiliation POST /characters/affiliation/ Character affiliation
ESI::CharacterApi post_characters_character_id_cspa POST /characters/character_id/cspa/ Calculate a CSPA charge cost
ESI::ClonesApi get_characters_character_id_clones GET /characters/character_id/clones/ Get clones
ESI::ClonesApi get_characters_character_id_implants GET /characters/character_id/implants/ Get active implants
ESI::ContactsApi delete_characters_character_id_contacts DELETE /characters/character_id/contacts/ Delete contacts
ESI::ContactsApi get_alliances_alliance_id_contacts GET /alliances/alliance_id/contacts/ Get alliance contacts
ESI::ContactsApi get_alliances_alliance_id_contacts_labels GET /alliances/alliance_id/contacts/labels/ Get alliance contact labels
ESI::ContactsApi get_characters_character_id_contacts GET /characters/character_id/contacts/ Get contacts
ESI::ContactsApi get_characters_character_id_contacts_labels GET /characters/character_id/contacts/labels/ Get contact labels
ESI::ContactsApi get_corporations_corporation_id_contacts GET /corporations/corporation_id/contacts/ Get corporation contacts
ESI::ContactsApi get_corporations_corporation_id_contacts_labels GET /corporations/corporation_id/contacts/labels/ Get corporation contact labels
ESI::ContactsApi post_characters_character_id_contacts POST /characters/character_id/contacts/ Add contacts
ESI::ContactsApi put_characters_character_id_contacts PUT /characters/character_id/contacts/ Edit contacts
ESI::ContractsApi get_characters_character_id_contracts GET /characters/character_id/contracts/ Get contracts
ESI::ContractsApi get_characters_character_id_contracts_contract_id_bids GET /characters/character_id/contracts/contract_id/bids/ Get contract bids
ESI::ContractsApi get_characters_character_id_contracts_contract_id_items GET /characters/character_id/contracts/contract_id/items/ Get contract items
ESI::ContractsApi get_contracts_public_bids_contract_id GET /contracts/public/bids/contract_id/ Get public contract bids
ESI::ContractsApi get_contracts_public_items_contract_id GET /contracts/public/items/contract_id/ Get public contract items
ESI::ContractsApi get_contracts_public_region_id GET /contracts/public/region_id/ Get public contracts
ESI::ContractsApi get_corporations_corporation_id_contracts GET /corporations/corporation_id/contracts/ Get corporation contracts
ESI::ContractsApi get_corporations_corporation_id_contracts_contract_id_bids GET /corporations/corporation_id/contracts/contract_id/bids/ Get corporation contract bids
ESI::ContractsApi get_corporations_corporation_id_contracts_contract_id_items GET /corporations/corporation_id/contracts/contract_id/items/ Get corporation contract items
ESI::CorporationApi get_corporations_corporation_id GET /corporations/corporation_id/ Get corporation information
ESI::CorporationApi get_corporations_corporation_id_alliancehistory GET /corporations/corporation_id/alliancehistory/ Get alliance history
ESI::CorporationApi get_corporations_corporation_id_blueprints GET /corporations/corporation_id/blueprints/ Get corporation blueprints
ESI::CorporationApi get_corporations_corporation_id_containers_logs GET /corporations/corporation_id/containers/logs/ Get all corporation ALSC logs
ESI::CorporationApi get_corporations_corporation_id_divisions GET /corporations/corporation_id/divisions/ Get corporation divisions
ESI::CorporationApi get_corporations_corporation_id_facilities GET /corporations/corporation_id/facilities/ Get corporation facilities
ESI::CorporationApi get_corporations_corporation_id_icons GET /corporations/corporation_id/icons/ Get corporation icon
ESI::CorporationApi get_corporations_corporation_id_medals GET /corporations/corporation_id/medals/ Get corporation medals
ESI::CorporationApi get_corporations_corporation_id_medals_issued GET /corporations/corporation_id/medals/issued/ Get corporation issued medals
ESI::CorporationApi get_corporations_corporation_id_members GET /corporations/corporation_id/members/ Get corporation members
ESI::CorporationApi get_corporations_corporation_id_members_limit GET /corporations/corporation_id/members/limit/ Get corporation member limit
ESI::CorporationApi get_corporations_corporation_id_members_titles GET /corporations/corporation_id/members/titles/ Get corporation's members' titles
ESI::CorporationApi get_corporations_corporation_id_membertracking GET /corporations/corporation_id/membertracking/ Track corporation members
ESI::CorporationApi get_corporations_corporation_id_roles GET /corporations/corporation_id/roles/ Get corporation member roles
ESI::CorporationApi get_corporations_corporation_id_roles_history GET /corporations/corporation_id/roles/history/ Get corporation member roles history
ESI::CorporationApi get_corporations_corporation_id_shareholders GET /corporations/corporation_id/shareholders/ Get corporation shareholders
ESI::CorporationApi get_corporations_corporation_id_standings GET /corporations/corporation_id/standings/ Get corporation standings
ESI::CorporationApi get_corporations_corporation_id_starbases GET /corporations/corporation_id/starbases/ Get corporation starbases (POSes)
ESI::CorporationApi get_corporations_corporation_id_starbases_starbase_id GET /corporations/corporation_id/starbases/starbase_id/ Get starbase (POS) detail
ESI::CorporationApi get_corporations_corporation_id_structures GET /corporations/corporation_id/structures/ Get corporation structures
ESI::CorporationApi get_corporations_corporation_id_titles GET /corporations/corporation_id/titles/ Get corporation titles
ESI::CorporationApi get_corporations_npccorps GET /corporations/npccorps/ Get npc corporations
ESI::DogmaApi get_dogma_attributes GET /dogma/attributes/ Get attributes
ESI::DogmaApi get_dogma_attributes_attribute_id GET /dogma/attributes/attribute_id/ Get attribute information
ESI::DogmaApi get_dogma_dynamic_items_type_id_item_id GET /dogma/dynamic/items/type_id/item_id/ Get dynamic item information
ESI::DogmaApi get_dogma_effects GET /dogma/effects/ Get effects
ESI::DogmaApi get_dogma_effects_effect_id GET /dogma/effects/effect_id/ Get effect information
ESI::FactionWarfareApi get_characters_character_id_fw_stats GET /characters/character_id/fw/stats/ Overview of a character involved in faction warfare
ESI::FactionWarfareApi get_corporations_corporation_id_fw_stats GET /corporations/corporation_id/fw/stats/ Overview of a corporation involved in faction warfare
ESI::FactionWarfareApi get_fw_leaderboards GET /fw/leaderboards/ List of the top factions in faction warfare
ESI::FactionWarfareApi get_fw_leaderboards_characters GET /fw/leaderboards/characters/ List of the top pilots in faction warfare
ESI::FactionWarfareApi get_fw_leaderboards_corporations GET /fw/leaderboards/corporations/ List of the top corporations in faction warfare
ESI::FactionWarfareApi get_fw_stats GET /fw/stats/ An overview of statistics about factions involved in faction warfare
ESI::FactionWarfareApi get_fw_systems GET /fw/systems/ Ownership of faction warfare systems
ESI::FactionWarfareApi get_fw_wars GET /fw/wars/ Data about which NPC factions are at war
ESI::FittingsApi delete_characters_character_id_fittings_fitting_id DELETE /characters/character_id/fittings/fitting_id/ Delete fitting
ESI::FittingsApi get_characters_character_id_fittings GET /characters/character_id/fittings/ Get fittings
ESI::FittingsApi post_characters_character_id_fittings POST /characters/character_id/fittings/ Create fitting
ESI::FleetsApi delete_fleets_fleet_id_members_member_id DELETE /fleets/fleet_id/members/member_id/ Kick fleet member
ESI::FleetsApi delete_fleets_fleet_id_squads_squad_id DELETE /fleets/fleet_id/squads/squad_id/ Delete fleet squad
ESI::FleetsApi delete_fleets_fleet_id_wings_wing_id DELETE /fleets/fleet_id/wings/wing_id/ Delete fleet wing
ESI::FleetsApi get_characters_character_id_fleet GET /characters/character_id/fleet/ Get character fleet info
ESI::FleetsApi get_fleets_fleet_id GET /fleets/fleet_id/ Get fleet information
ESI::FleetsApi get_fleets_fleet_id_members GET /fleets/fleet_id/members/ Get fleet members
ESI::FleetsApi get_fleets_fleet_id_wings GET /fleets/fleet_id/wings/ Get fleet wings
ESI::FleetsApi post_fleets_fleet_id_members POST /fleets/fleet_id/members/ Create fleet invitation
ESI::FleetsApi post_fleets_fleet_id_wings POST /fleets/fleet_id/wings/ Create fleet wing
ESI::FleetsApi post_fleets_fleet_id_wings_wing_id_squads POST /fleets/fleet_id/wings/wing_id/squads/ Create fleet squad
ESI::FleetsApi put_fleets_fleet_id PUT /fleets/fleet_id/ Update fleet
ESI::FleetsApi put_fleets_fleet_id_members_member_id PUT /fleets/fleet_id/members/member_id/ Move fleet member
ESI::FleetsApi put_fleets_fleet_id_squads_squad_id PUT /fleets/fleet_id/squads/squad_id/ Rename fleet squad
ESI::FleetsApi put_fleets_fleet_id_wings_wing_id PUT /fleets/fleet_id/wings/wing_id/ Rename fleet wing
ESI::IncursionsApi get_incursions GET /incursions/ List incursions
ESI::IndustryApi get_characters_character_id_industry_jobs GET /characters/character_id/industry/jobs/ List character industry jobs
ESI::IndustryApi get_characters_character_id_mining GET /characters/character_id/mining/ Character mining ledger
ESI::IndustryApi get_corporation_corporation_id_mining_extractions GET /corporation/corporation_id/mining/extractions/ Moon extraction timers
ESI::IndustryApi get_corporation_corporation_id_mining_observers GET /corporation/corporation_id/mining/observers/ Corporation mining observers
ESI::IndustryApi get_corporation_corporation_id_mining_observers_observer_id GET /corporation/corporation_id/mining/observers/observer_id/ Observed corporation mining
ESI::IndustryApi get_corporations_corporation_id_industry_jobs GET /corporations/corporation_id/industry/jobs/ List corporation industry jobs
ESI::IndustryApi get_industry_facilities GET /industry/facilities/ List industry facilities
ESI::IndustryApi get_industry_systems GET /industry/systems/ List solar system cost indices
ESI::InsuranceApi get_insurance_prices GET /insurance/prices/ List insurance levels
ESI::KillmailsApi get_characters_character_id_killmails_recent GET /characters/character_id/killmails/recent/ Get a character's recent kills and losses
ESI::KillmailsApi get_corporations_corporation_id_killmails_recent GET /corporations/corporation_id/killmails/recent/ Get a corporation's recent kills and losses
ESI::KillmailsApi get_killmails_killmail_id_killmail_hash GET /killmails/killmail_id/killmail_hash/ Get a single killmail
ESI::LocationApi get_characters_character_id_location GET /characters/character_id/location/ Get character location
ESI::LocationApi get_characters_character_id_online GET /characters/character_id/online/ Get character online
ESI::LocationApi get_characters_character_id_ship GET /characters/character_id/ship/ Get current ship
ESI::LoyaltyApi get_characters_character_id_loyalty_points GET /characters/character_id/loyalty/points/ Get loyalty points
ESI::LoyaltyApi get_loyalty_stores_corporation_id_offers GET /loyalty/stores/corporation_id/offers/ List loyalty store offers
ESI::MailApi delete_characters_character_id_mail_labels_label_id DELETE /characters/character_id/mail/labels/label_id/ Delete a mail label
ESI::MailApi delete_characters_character_id_mail_mail_id DELETE /characters/character_id/mail/mail_id/ Delete a mail
ESI::MailApi get_characters_character_id_mail GET /characters/character_id/mail/ Return mail headers
ESI::MailApi get_characters_character_id_mail_labels GET /characters/character_id/mail/labels/ Get mail labels and unread counts
ESI::MailApi get_characters_character_id_mail_lists GET /characters/character_id/mail/lists/ Return mailing list subscriptions
ESI::MailApi get_characters_character_id_mail_mail_id GET /characters/character_id/mail/mail_id/ Return a mail
ESI::MailApi post_characters_character_id_mail POST /characters/character_id/mail/ Send a new mail
ESI::MailApi post_characters_character_id_mail_labels POST /characters/character_id/mail/labels/ Create a mail label
ESI::MailApi put_characters_character_id_mail_mail_id PUT /characters/character_id/mail/mail_id/ Update metadata about a mail
ESI::MarketApi get_characters_character_id_orders GET /characters/character_id/orders/ List open orders from a character
ESI::MarketApi get_characters_character_id_orders_history GET /characters/character_id/orders/history/ List historical orders by a character
ESI::MarketApi get_corporations_corporation_id_orders GET /corporations/corporation_id/orders/ List open orders from a corporation
ESI::MarketApi get_corporations_corporation_id_orders_history GET /corporations/corporation_id/orders/history/ List historical orders from a corporation
ESI::MarketApi get_markets_groups GET /markets/groups/ Get item groups
ESI::MarketApi get_markets_groups_market_group_id GET /markets/groups/market_group_id/ Get item group information
ESI::MarketApi get_markets_prices GET /markets/prices/ List market prices
ESI::MarketApi get_markets_region_id_history GET /markets/region_id/history/ List historical market statistics in a region
ESI::MarketApi get_markets_region_id_orders GET /markets/region_id/orders/ List orders in a region
ESI::MarketApi get_markets_region_id_types GET /markets/region_id/types/ List type IDs relevant to a market
ESI::MarketApi get_markets_structures_structure_id GET /markets/structures/structure_id/ List orders in a structure
ESI::OpportunitiesApi get_characters_character_id_opportunities GET /characters/character_id/opportunities/ Get a character's completed tasks
ESI::OpportunitiesApi get_opportunities_groups GET /opportunities/groups/ Get opportunities groups
ESI::OpportunitiesApi get_opportunities_groups_group_id GET /opportunities/groups/group_id/ Get opportunities group
ESI::OpportunitiesApi get_opportunities_tasks GET /opportunities/tasks/ Get opportunities tasks
ESI::OpportunitiesApi get_opportunities_tasks_task_id GET /opportunities/tasks/task_id/ Get opportunities task
ESI::PlanetaryInteractionApi get_characters_character_id_planets GET /characters/character_id/planets/ Get colonies
ESI::PlanetaryInteractionApi get_characters_character_id_planets_planet_id GET /characters/character_id/planets/planet_id/ Get colony layout
ESI::PlanetaryInteractionApi get_corporations_corporation_id_customs_offices GET /corporations/corporation_id/customs_offices/ List corporation customs offices
ESI::PlanetaryInteractionApi get_universe_schematics_schematic_id GET /universe/schematics/schematic_id/ Get schematic information
ESI::RoutesApi get_route_origin_destination GET /route/origin/destination/ Get route
ESI::SearchApi get_characters_character_id_search GET /characters/character_id/search/ Search on a string
ESI::SkillsApi get_characters_character_id_attributes GET /characters/character_id/attributes/ Get character attributes
ESI::SkillsApi get_characters_character_id_skillqueue GET /characters/character_id/skillqueue/ Get character's skill queue
ESI::SkillsApi get_characters_character_id_skills GET /characters/character_id/skills/ Get character skills
ESI::SovereigntyApi get_sovereignty_campaigns GET /sovereignty/campaigns/ List sovereignty campaigns
ESI::SovereigntyApi get_sovereignty_map GET /sovereignty/map/ List sovereignty of systems
ESI::SovereigntyApi get_sovereignty_structures GET /sovereignty/structures/ List sovereignty structures
ESI::StatusApi get_status GET /status/ Retrieve the uptime and player counts
ESI::UniverseApi get_universe_ancestries GET /universe/ancestries/ Get ancestries
ESI::UniverseApi get_universe_asteroid_belts_asteroid_belt_id GET /universe/asteroid_belts/asteroid_belt_id/ Get asteroid belt information
ESI::UniverseApi get_universe_bloodlines GET /universe/bloodlines/ Get bloodlines
ESI::UniverseApi get_universe_categories GET /universe/categories/ Get item categories
ESI::UniverseApi get_universe_categories_category_id GET /universe/categories/category_id/ Get item category information
ESI::UniverseApi get_universe_constellations GET /universe/constellations/ Get constellations
ESI::UniverseApi get_universe_constellations_constellation_id GET /universe/constellations/constellation_id/ Get constellation information
ESI::UniverseApi get_universe_factions GET /universe/factions/ Get factions
ESI::UniverseApi get_universe_graphics GET /universe/graphics/ Get graphics
ESI::UniverseApi get_universe_graphics_graphic_id GET /universe/graphics/graphic_id/ Get graphic information
ESI::UniverseApi get_universe_groups GET /universe/groups/ Get item groups
ESI::UniverseApi get_universe_groups_group_id GET /universe/groups/group_id/ Get item group information
ESI::UniverseApi get_universe_moons_moon_id GET /universe/moons/moon_id/ Get moon information
ESI::UniverseApi get_universe_planets_planet_id GET /universe/planets/planet_id/ Get planet information
ESI::UniverseApi get_universe_races GET /universe/races/ Get character races
ESI::UniverseApi get_universe_regions GET /universe/regions/ Get regions
ESI::UniverseApi get_universe_regions_region_id GET /universe/regions/region_id/ Get region information
ESI::UniverseApi get_universe_stargates_stargate_id GET /universe/stargates/stargate_id/ Get stargate information
ESI::UniverseApi get_universe_stars_star_id GET /universe/stars/star_id/ Get star information
ESI::UniverseApi get_universe_stations_station_id GET /universe/stations/station_id/ Get station information
ESI::UniverseApi get_universe_structures GET /universe/structures/ List all public structures
ESI::UniverseApi get_universe_structures_structure_id GET /universe/structures/structure_id/ Get structure information
ESI::UniverseApi get_universe_system_jumps GET /universe/system_jumps/ Get system jumps
ESI::UniverseApi get_universe_system_kills GET /universe/system_kills/ Get system kills
ESI::UniverseApi get_universe_systems GET /universe/systems/ Get solar systems
ESI::UniverseApi get_universe_systems_system_id GET /universe/systems/system_id/ Get solar system information
ESI::UniverseApi get_universe_types GET /universe/types/ Get types
ESI::UniverseApi get_universe_types_type_id GET /universe/types/type_id/ Get type information
ESI::UniverseApi post_universe_ids POST /universe/ids/ Bulk names to IDs
ESI::UniverseApi post_universe_names POST /universe/names/ Get names and categories for a set of IDs
ESI::UserInterfaceApi post_ui_autopilot_waypoint POST /ui/autopilot/waypoint/ Set Autopilot Waypoint
ESI::UserInterfaceApi post_ui_openwindow_contract POST /ui/openwindow/contract/ Open Contract Window
ESI::UserInterfaceApi post_ui_openwindow_information POST /ui/openwindow/information/ Open Information Window
ESI::UserInterfaceApi post_ui_openwindow_marketdetails POST /ui/openwindow/marketdetails/ Open Market Details
ESI::UserInterfaceApi post_ui_openwindow_newmail POST /ui/openwindow/newmail/ Open New Mail Window
ESI::WalletApi get_characters_character_id_wallet GET /characters/character_id/wallet/ Get a character's wallet balance
ESI::WalletApi get_characters_character_id_wallet_journal GET /characters/character_id/wallet/journal/ Get character wallet journal
ESI::WalletApi get_characters_character_id_wallet_transactions GET /characters/character_id/wallet/transactions/ Get wallet transactions
ESI::WalletApi get_corporations_corporation_id_wallets GET /corporations/corporation_id/wallets/ Returns a corporation's wallet balance
ESI::WalletApi get_corporations_corporation_id_wallets_division_journal GET /corporations/corporation_id/wallets/division/journal/ Get corporation wallet journal
ESI::WalletApi get_corporations_corporation_id_wallets_division_transactions GET /corporations/corporation_id/wallets/division/transactions/ Get corporation wallet transactions
ESI::WarsApi get_wars GET /wars/ List wars
ESI::WarsApi get_wars_war_id GET /wars/war_id/ Get war information
ESI::WarsApi get_wars_war_id_killmails GET /wars/war_id/killmails/ List kills for a war

Documentation for Models

Documentation for Authorization

evesso

  • Type: OAuth
  • Flow: implicit
  • Authorization URL: https://login.eveonline.com/v2/oauth/authorize
  • Scopes:
    • esi-alliances.read_contacts.v1: EVE SSO scope esi-alliances.read_contacts.v1
    • esi-assets.read_assets.v1: EVE SSO scope esi-assets.read_assets.v1
    • esi-assets.read_corporation_assets.v1: EVE SSO scope esi-assets.read_corporation_assets.v1
    • esi-bookmarks.read_character_bookmarks.v1: EVE SSO scope esi-bookmarks.read_character_bookmarks.v1
    • esi-bookmarks.read_corporation_bookmarks.v1: EVE SSO scope esi-bookmarks.read_corporation_bookmarks.v1
    • esi-calendar.read_calendar_events.v1: EVE SSO scope esi-calendar.read_calendar_events.v1
    • esi-calendar.respond_calendar_events.v1: EVE SSO scope esi-calendar.respond_calendar_events.v1
    • esi-characters.read_agents_research.v1: EVE SSO scope esi-characters.read_agents_research.v1
    • esi-characters.read_blueprints.v1: EVE SSO scope esi-characters.read_blueprints.v1
    • esi-characters.read_contacts.v1: EVE SSO scope esi-characters.read_contacts.v1
    • esi-characters.read_corporation_roles.v1: EVE SSO scope esi-characters.read_corporation_roles.v1
    • esi-characters.read_fatigue.v1: EVE SSO scope esi-characters.read_fatigue.v1
    • esi-characters.read_fw_stats.v1: EVE SSO scope esi-characters.read_fw_stats.v1
    • esi-characters.read_loyalty.v1: EVE SSO scope esi-characters.read_loyalty.v1
    • esi-characters.read_medals.v1: EVE SSO scope esi-characters.read_medals.v1
    • esi-characters.read_notifications.v1: EVE SSO scope esi-characters.read_notifications.v1
    • esi-characters.read_opportunities.v1: EVE SSO scope esi-characters.read_opportunities.v1
    • esi-characters.read_standings.v1: EVE SSO scope esi-characters.read_standings.v1
    • esi-characters.read_titles.v1: EVE SSO scope esi-characters.read_titles.v1
    • esi-characters.write_contacts.v1: EVE SSO scope esi-characters.write_contacts.v1
    • esi-clones.read_clones.v1: EVE SSO scope esi-clones.read_clones.v1
    • esi-clones.read_implants.v1: EVE SSO scope esi-clones.read_implants.v1
    • esi-contracts.read_character_contracts.v1: EVE SSO scope esi-contracts.read_character_contracts.v1
    • esi-contracts.read_corporation_contracts.v1: EVE SSO scope esi-contracts.read_corporation_contracts.v1
    • esi-corporations.read_blueprints.v1: EVE SSO scope esi-corporations.read_blueprints.v1
    • esi-corporations.read_contacts.v1: EVE SSO scope esi-corporations.read_contacts.v1
    • esi-corporations.read_container_logs.v1: EVE SSO scope esi-corporations.read_container_logs.v1
    • esi-corporations.read_corporation_membership.v1: EVE SSO scope esi-corporations.read_corporation_membership.v1
    • esi-corporations.read_divisions.v1: EVE SSO scope esi-corporations.read_divisions.v1
    • esi-corporations.read_facilities.v1: EVE SSO scope esi-corporations.read_facilities.v1
    • esi-corporations.read_fw_stats.v1: EVE SSO scope esi-corporations.read_fw_stats.v1
    • esi-corporations.read_medals.v1: EVE SSO scope esi-corporations.read_medals.v1
    • esi-corporations.read_standings.v1: EVE SSO scope esi-corporations.read_standings.v1
    • esi-corporations.read_starbases.v1: EVE SSO scope esi-corporations.read_starbases.v1
    • esi-corporations.read_structures.v1: EVE SSO scope esi-corporations.read_structures.v1
    • esi-corporations.read_titles.v1: EVE SSO scope esi-corporations.read_titles.v1
    • esi-corporations.track_members.v1: EVE SSO scope esi-corporations.track_members.v1
    • esi-fittings.read_fittings.v1: EVE SSO scope esi-fittings.read_fittings.v1
    • esi-fittings.write_fittings.v1: EVE SSO scope esi-fittings.write_fittings.v1
    • esi-fleets.read_fleet.v1: EVE SSO scope esi-fleets.read_fleet.v1
    • esi-fleets.write_fleet.v1: EVE SSO scope esi-fleets.write_fleet.v1
    • esi-industry.read_character_jobs.v1: EVE SSO scope esi-industry.read_character_jobs.v1
    • esi-industry.read_character_mining.v1: EVE SSO scope esi-industry.read_character_mining.v1
    • esi-industry.read_corporation_jobs.v1: EVE SSO scope esi-industry.read_corporation_jobs.v1
    • esi-industry.read_corporation_mining.v1: EVE SSO scope esi-industry.read_corporation_mining.v1
    • esi-killmails.read_corporation_killmails.v1: EVE SSO scope esi-killmails.read_corporation_killmails.v1
    • esi-killmails.read_killmails.v1: EVE SSO scope esi-killmails.read_killmails.v1
    • esi-location.read_location.v1: EVE SSO scope esi-location.read_location.v1
    • esi-location.read_online.v1: EVE SSO scope esi-location.read_online.v1
    • esi-location.read_ship_type.v1: EVE SSO scope esi-location.read_ship_type.v1
    • esi-mail.organize_mail.v1: EVE SSO scope esi-mail.organize_mail.v1
    • esi-mail.read_mail.v1: EVE SSO scope esi-mail.read_mail.v1
    • esi-mail.send_mail.v1: EVE SSO scope esi-mail.send_mail.v1
    • esi-markets.read_character_orders.v1: EVE SSO scope esi-markets.read_character_orders.v1
    • esi-markets.read_corporation_orders.v1: EVE SSO scope esi-markets.read_corporation_orders.v1
    • esi-markets.structure_markets.v1: EVE SSO scope esi-markets.structure_markets.v1
    • esi-planets.manage_planets.v1: EVE SSO scope esi-planets.manage_planets.v1
    • esi-planets.read_customs_offices.v1: EVE SSO scope esi-planets.read_customs_offices.v1
    • esi-search.search_structures.v1: EVE SSO scope esi-search.search_structures.v1
    • esi-skills.read_skillqueue.v1: EVE SSO scope esi-skills.read_skillqueue.v1
    • esi-skills.read_skills.v1: EVE SSO scope esi-skills.read_skills.v1
    • esi-ui.open_window.v1: EVE SSO scope esi-ui.open_window.v1
    • esi-ui.write_waypoint.v1: EVE SSO scope esi-ui.write_waypoint.v1
    • esi-universe.read_structures.v1: EVE SSO scope esi-universe.read_structures.v1
    • esi-wallet.read_character_wallet.v1: EVE SSO scope esi-wallet.read_character_wallet.v1
    • esi-wallet.read_corporation_wallets.v1: EVE SSO scope esi-wallet.read_corporation_wallets.v1