class ESI::UniverseApi

Attributes

api_client[RW]

Public Class Methods

new(api_client = ApiClient.default) click to toggle source
# File lib/ruby-esi/api/universe_api.rb, line 19
def initialize(api_client = ApiClient.default)
  @api_client = api_client
end

Public Instance Methods

get_universe_ancestries(opts = {}) click to toggle source

Get ancestries Get all character ancestries — Alternate route: `/dev/universe/ancestries/` Alternate route: `/legacy/universe/ancestries/` Alternate route: `/v1/universe/ancestries/` — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response (default to en-us) @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :language Language to use in the response, takes precedence over Accept-Language (default to en-us) @return [Array<GetUniverseAncestries200Ok>]

# File lib/ruby-esi/api/universe_api.rb, line 30
def get_universe_ancestries(opts = {})
  data, _status_code, _headers = get_universe_ancestries_with_http_info(opts)
  data
end
get_universe_ancestries_with_http_info(opts = {}) click to toggle source

Get ancestries Get all character ancestries — Alternate route: &#x60;/dev/universe/ancestries/&#x60; Alternate route: &#x60;/legacy/universe/ancestries/&#x60; Alternate route: &#x60;/v1/universe/ancestries/&#x60; — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :language Language to use in the response, takes precedence over Accept-Language @return [Array<(Array<GetUniverseAncestries200Ok>, Fixnum, Hash)>] Array<GetUniverseAncestries200Ok> data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 43
def get_universe_ancestries_with_http_info(opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_ancestries ...'
  end
  if @api_client.config.client_side_validation && opts[:'accept_language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'accept_language'])
    fail ArgumentError, 'invalid value for "accept_language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  if @api_client.config.client_side_validation && opts[:'language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'language'])
    fail ArgumentError, 'invalid value for "language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  # resource path
  local_var_path = '/universe/ancestries/'

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
  query_params[:'language'] = opts[:'language'] if !opts[:'language'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Array<GetUniverseAncestries200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_ancestries\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_asteroid_belts_asteroid_belt_id(asteroid_belt_id, opts = {}) click to toggle source

Get asteroid belt information Get information on an asteroid belt — Alternate route: `/dev/universe/asteroid_belts/{asteroid_belt_id}/` Alternate route: `/legacy/universe/asteroid_belts/{asteroid_belt_id}/` Alternate route: `/v1/universe/asteroid_belts/{asteroid_belt_id}/` — This route expires daily at 11:05 @param asteroid_belt_id asteroid_belt_id integer @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [GetUniverseAsteroidBeltsAsteroidBeltIdOk]

# File lib/ruby-esi/api/universe_api.rb, line 98
def get_universe_asteroid_belts_asteroid_belt_id(asteroid_belt_id, opts = {})
  data, _status_code, _headers = get_universe_asteroid_belts_asteroid_belt_id_with_http_info(asteroid_belt_id, opts)
  data
end
get_universe_asteroid_belts_asteroid_belt_id_with_http_info(asteroid_belt_id, opts = {}) click to toggle source

Get asteroid belt information Get information on an asteroid belt — Alternate route: &#x60;/dev/universe/asteroid_belts/{asteroid_belt_id}/&#x60; Alternate route: &#x60;/legacy/universe/asteroid_belts/{asteroid_belt_id}/&#x60; Alternate route: &#x60;/v1/universe/asteroid_belts/{asteroid_belt_id}/&#x60; — This route expires daily at 11:05 @param asteroid_belt_id asteroid_belt_id integer @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<(GetUniverseAsteroidBeltsAsteroidBeltIdOk, Fixnum, Hash)>] GetUniverseAsteroidBeltsAsteroidBeltIdOk data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 110
def get_universe_asteroid_belts_asteroid_belt_id_with_http_info(asteroid_belt_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_asteroid_belts_asteroid_belt_id ...'
  end
  # verify the required parameter 'asteroid_belt_id' is set
  if @api_client.config.client_side_validation && asteroid_belt_id.nil?
    fail ArgumentError, "Missing the required parameter 'asteroid_belt_id' when calling UniverseApi.get_universe_asteroid_belts_asteroid_belt_id"
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  # resource path
  local_var_path = '/universe/asteroid_belts/{asteroid_belt_id}/'.sub('{' + 'asteroid_belt_id' + '}', asteroid_belt_id.to_s)

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'GetUniverseAsteroidBeltsAsteroidBeltIdOk')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_asteroid_belts_asteroid_belt_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_bloodlines(opts = {}) click to toggle source

Get bloodlines Get a list of bloodlines — Alternate route: `/dev/universe/bloodlines/` Alternate route: `/legacy/universe/bloodlines/` Alternate route: `/v1/universe/bloodlines/` — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response (default to en-us) @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :language Language to use in the response, takes precedence over Accept-Language (default to en-us) @return [Array<GetUniverseBloodlines200Ok>]

# File lib/ruby-esi/api/universe_api.rb, line 162
def get_universe_bloodlines(opts = {})
  data, _status_code, _headers = get_universe_bloodlines_with_http_info(opts)
  data
end
get_universe_bloodlines_with_http_info(opts = {}) click to toggle source

Get bloodlines Get a list of bloodlines — Alternate route: &#x60;/dev/universe/bloodlines/&#x60; Alternate route: &#x60;/legacy/universe/bloodlines/&#x60; Alternate route: &#x60;/v1/universe/bloodlines/&#x60; — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :language Language to use in the response, takes precedence over Accept-Language @return [Array<(Array<GetUniverseBloodlines200Ok>, Fixnum, Hash)>] Array<GetUniverseBloodlines200Ok> data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 175
def get_universe_bloodlines_with_http_info(opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_bloodlines ...'
  end
  if @api_client.config.client_side_validation && opts[:'accept_language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'accept_language'])
    fail ArgumentError, 'invalid value for "accept_language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  if @api_client.config.client_side_validation && opts[:'language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'language'])
    fail ArgumentError, 'invalid value for "language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  # resource path
  local_var_path = '/universe/bloodlines/'

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
  query_params[:'language'] = opts[:'language'] if !opts[:'language'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Array<GetUniverseBloodlines200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_bloodlines\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_categories(opts = {}) click to toggle source

Get item categories Get a list of item categories — Alternate route: `/dev/universe/categories/` Alternate route: `/legacy/universe/categories/` Alternate route: `/v1/universe/categories/` — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<Integer>]

# File lib/ruby-esi/api/universe_api.rb, line 229
def get_universe_categories(opts = {})
  data, _status_code, _headers = get_universe_categories_with_http_info(opts)
  data
end
get_universe_categories_category_id(category_id, opts = {}) click to toggle source

Get item category information Get information of an item category — Alternate route: `/dev/universe/categories/{category_id}/` Alternate route: `/legacy/universe/categories/{category_id}/` Alternate route: `/v1/universe/categories/{category_id}/` — This route expires daily at 11:05 @param category_id An Eve item category ID @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response (default to en-us) @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :language Language to use in the response, takes precedence over Accept-Language (default to en-us) @return [GetUniverseCategoriesCategoryIdOk]

# File lib/ruby-esi/api/universe_api.rb, line 289
def get_universe_categories_category_id(category_id, opts = {})
  data, _status_code, _headers = get_universe_categories_category_id_with_http_info(category_id, opts)
  data
end
get_universe_categories_category_id_with_http_info(category_id, opts = {}) click to toggle source

Get item category information Get information of an item category — Alternate route: &#x60;/dev/universe/categories/{category_id}/&#x60; Alternate route: &#x60;/legacy/universe/categories/{category_id}/&#x60; Alternate route: &#x60;/v1/universe/categories/{category_id}/&#x60; — This route expires daily at 11:05 @param category_id An Eve item category ID @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :language Language to use in the response, takes precedence over Accept-Language @return [Array<(GetUniverseCategoriesCategoryIdOk, Fixnum, Hash)>] GetUniverseCategoriesCategoryIdOk data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 303
def get_universe_categories_category_id_with_http_info(category_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_categories_category_id ...'
  end
  # verify the required parameter 'category_id' is set
  if @api_client.config.client_side_validation && category_id.nil?
    fail ArgumentError, "Missing the required parameter 'category_id' when calling UniverseApi.get_universe_categories_category_id"
  end
  if @api_client.config.client_side_validation && opts[:'accept_language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'accept_language'])
    fail ArgumentError, 'invalid value for "accept_language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  if @api_client.config.client_side_validation && opts[:'language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'language'])
    fail ArgumentError, 'invalid value for "language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  # resource path
  local_var_path = '/universe/categories/{category_id}/'.sub('{' + 'category_id' + '}', category_id.to_s)

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
  query_params[:'language'] = opts[:'language'] if !opts[:'language'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'GetUniverseCategoriesCategoryIdOk')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_categories_category_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_categories_with_http_info(opts = {}) click to toggle source

Get item categories Get a list of item categories — Alternate route: &#x60;/dev/universe/categories/&#x60; Alternate route: &#x60;/legacy/universe/categories/&#x60; Alternate route: &#x60;/v1/universe/categories/&#x60; — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<(Array<Integer>, Fixnum, Hash)>] Array<Integer> data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 240
def get_universe_categories_with_http_info(opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_categories ...'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  # resource path
  local_var_path = '/universe/categories/'

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Array<Integer>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_categories\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_constellations(opts = {}) click to toggle source

Get constellations Get a list of constellations — Alternate route: `/dev/universe/constellations/` Alternate route: `/legacy/universe/constellations/` Alternate route: `/v1/universe/constellations/` — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<Integer>]

# File lib/ruby-esi/api/universe_api.rb, line 361
def get_universe_constellations(opts = {})
  data, _status_code, _headers = get_universe_constellations_with_http_info(opts)
  data
end
get_universe_constellations_constellation_id(constellation_id, opts = {}) click to toggle source

Get constellation information Get information on a constellation — Alternate route: `/dev/universe/constellations/{constellation_id}/` Alternate route: `/legacy/universe/constellations/{constellation_id}/` Alternate route: `/v1/universe/constellations/{constellation_id}/` — This route expires daily at 11:05 @param constellation_id constellation_id integer @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response (default to en-us) @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :language Language to use in the response, takes precedence over Accept-Language (default to en-us) @return [GetUniverseConstellationsConstellationIdOk]

# File lib/ruby-esi/api/universe_api.rb, line 421
def get_universe_constellations_constellation_id(constellation_id, opts = {})
  data, _status_code, _headers = get_universe_constellations_constellation_id_with_http_info(constellation_id, opts)
  data
end
get_universe_constellations_constellation_id_with_http_info(constellation_id, opts = {}) click to toggle source

Get constellation information Get information on a constellation — Alternate route: &#x60;/dev/universe/constellations/{constellation_id}/&#x60; Alternate route: &#x60;/legacy/universe/constellations/{constellation_id}/&#x60; Alternate route: &#x60;/v1/universe/constellations/{constellation_id}/&#x60; — This route expires daily at 11:05 @param constellation_id constellation_id integer @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :language Language to use in the response, takes precedence over Accept-Language @return [Array<(GetUniverseConstellationsConstellationIdOk, Fixnum, Hash)>] GetUniverseConstellationsConstellationIdOk data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 435
def get_universe_constellations_constellation_id_with_http_info(constellation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_constellations_constellation_id ...'
  end
  # verify the required parameter 'constellation_id' is set
  if @api_client.config.client_side_validation && constellation_id.nil?
    fail ArgumentError, "Missing the required parameter 'constellation_id' when calling UniverseApi.get_universe_constellations_constellation_id"
  end
  if @api_client.config.client_side_validation && opts[:'accept_language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'accept_language'])
    fail ArgumentError, 'invalid value for "accept_language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  if @api_client.config.client_side_validation && opts[:'language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'language'])
    fail ArgumentError, 'invalid value for "language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  # resource path
  local_var_path = '/universe/constellations/{constellation_id}/'.sub('{' + 'constellation_id' + '}', constellation_id.to_s)

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
  query_params[:'language'] = opts[:'language'] if !opts[:'language'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'GetUniverseConstellationsConstellationIdOk')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_constellations_constellation_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_constellations_with_http_info(opts = {}) click to toggle source

Get constellations Get a list of constellations — Alternate route: &#x60;/dev/universe/constellations/&#x60; Alternate route: &#x60;/legacy/universe/constellations/&#x60; Alternate route: &#x60;/v1/universe/constellations/&#x60; — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<(Array<Integer>, Fixnum, Hash)>] Array<Integer> data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 372
def get_universe_constellations_with_http_info(opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_constellations ...'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  # resource path
  local_var_path = '/universe/constellations/'

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Array<Integer>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_constellations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_factions(opts = {}) click to toggle source

Get factions Get a list of factions — Alternate route: `/dev/universe/factions/` Alternate route: `/v2/universe/factions/` — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response (default to en-us) @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :language Language to use in the response, takes precedence over Accept-Language (default to en-us) @return [Array<GetUniverseFactions200Ok>]

# File lib/ruby-esi/api/universe_api.rb, line 495
def get_universe_factions(opts = {})
  data, _status_code, _headers = get_universe_factions_with_http_info(opts)
  data
end
get_universe_factions_with_http_info(opts = {}) click to toggle source

Get factions Get a list of factions — Alternate route: &#x60;/dev/universe/factions/&#x60; Alternate route: &#x60;/v2/universe/factions/&#x60; — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :language Language to use in the response, takes precedence over Accept-Language @return [Array<(Array<GetUniverseFactions200Ok>, Fixnum, Hash)>] Array<GetUniverseFactions200Ok> data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 508
def get_universe_factions_with_http_info(opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_factions ...'
  end
  if @api_client.config.client_side_validation && opts[:'accept_language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'accept_language'])
    fail ArgumentError, 'invalid value for "accept_language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  if @api_client.config.client_side_validation && opts[:'language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'language'])
    fail ArgumentError, 'invalid value for "language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  # resource path
  local_var_path = '/universe/factions/'

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
  query_params[:'language'] = opts[:'language'] if !opts[:'language'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Array<GetUniverseFactions200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_factions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_graphics(opts = {}) click to toggle source

Get graphics Get a list of graphics — Alternate route: `/dev/universe/graphics/` Alternate route: `/legacy/universe/graphics/` Alternate route: `/v1/universe/graphics/` — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<Integer>]

# File lib/ruby-esi/api/universe_api.rb, line 562
def get_universe_graphics(opts = {})
  data, _status_code, _headers = get_universe_graphics_with_http_info(opts)
  data
end
get_universe_graphics_graphic_id(graphic_id, opts = {}) click to toggle source

Get graphic information Get information on a graphic — Alternate route: `/dev/universe/graphics/{graphic_id}/` Alternate route: `/legacy/universe/graphics/{graphic_id}/` Alternate route: `/v1/universe/graphics/{graphic_id}/` — This route expires daily at 11:05 @param graphic_id graphic_id integer @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [GetUniverseGraphicsGraphicIdOk]

# File lib/ruby-esi/api/universe_api.rb, line 620
def get_universe_graphics_graphic_id(graphic_id, opts = {})
  data, _status_code, _headers = get_universe_graphics_graphic_id_with_http_info(graphic_id, opts)
  data
end
get_universe_graphics_graphic_id_with_http_info(graphic_id, opts = {}) click to toggle source

Get graphic information Get information on a graphic — Alternate route: &#x60;/dev/universe/graphics/{graphic_id}/&#x60; Alternate route: &#x60;/legacy/universe/graphics/{graphic_id}/&#x60; Alternate route: &#x60;/v1/universe/graphics/{graphic_id}/&#x60; — This route expires daily at 11:05 @param graphic_id graphic_id integer @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<(GetUniverseGraphicsGraphicIdOk, Fixnum, Hash)>] GetUniverseGraphicsGraphicIdOk data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 632
def get_universe_graphics_graphic_id_with_http_info(graphic_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_graphics_graphic_id ...'
  end
  # verify the required parameter 'graphic_id' is set
  if @api_client.config.client_side_validation && graphic_id.nil?
    fail ArgumentError, "Missing the required parameter 'graphic_id' when calling UniverseApi.get_universe_graphics_graphic_id"
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  # resource path
  local_var_path = '/universe/graphics/{graphic_id}/'.sub('{' + 'graphic_id' + '}', graphic_id.to_s)

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'GetUniverseGraphicsGraphicIdOk')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_graphics_graphic_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_graphics_with_http_info(opts = {}) click to toggle source

Get graphics Get a list of graphics — Alternate route: &#x60;/dev/universe/graphics/&#x60; Alternate route: &#x60;/legacy/universe/graphics/&#x60; Alternate route: &#x60;/v1/universe/graphics/&#x60; — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<(Array<Integer>, Fixnum, Hash)>] Array<Integer> data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 573
def get_universe_graphics_with_http_info(opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_graphics ...'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  # resource path
  local_var_path = '/universe/graphics/'

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Array<Integer>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_graphics\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_groups(opts = {}) click to toggle source

Get item groups Get a list of item groups — Alternate route: `/dev/universe/groups/` Alternate route: `/legacy/universe/groups/` Alternate route: `/v1/universe/groups/` — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [Integer] :page Which page of results to return (default to 1) @return [Array<Integer>]

# File lib/ruby-esi/api/universe_api.rb, line 683
def get_universe_groups(opts = {})
  data, _status_code, _headers = get_universe_groups_with_http_info(opts)
  data
end
get_universe_groups_group_id(group_id, opts = {}) click to toggle source

Get item group information Get information on an item group — Alternate route: `/dev/universe/groups/{group_id}/` Alternate route: `/legacy/universe/groups/{group_id}/` Alternate route: `/v1/universe/groups/{group_id}/` — This route expires daily at 11:05 @param group_id An Eve item group ID @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response (default to en-us) @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :language Language to use in the response, takes precedence over Accept-Language (default to en-us) @return [GetUniverseGroupsGroupIdOk]

# File lib/ruby-esi/api/universe_api.rb, line 749
def get_universe_groups_group_id(group_id, opts = {})
  data, _status_code, _headers = get_universe_groups_group_id_with_http_info(group_id, opts)
  data
end
get_universe_groups_group_id_with_http_info(group_id, opts = {}) click to toggle source

Get item group information Get information on an item group — Alternate route: &#x60;/dev/universe/groups/{group_id}/&#x60; Alternate route: &#x60;/legacy/universe/groups/{group_id}/&#x60; Alternate route: &#x60;/v1/universe/groups/{group_id}/&#x60; — This route expires daily at 11:05 @param group_id An Eve item group ID @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :language Language to use in the response, takes precedence over Accept-Language @return [Array<(GetUniverseGroupsGroupIdOk, Fixnum, Hash)>] GetUniverseGroupsGroupIdOk data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 763
def get_universe_groups_group_id_with_http_info(group_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_groups_group_id ...'
  end
  # verify the required parameter 'group_id' is set
  if @api_client.config.client_side_validation && group_id.nil?
    fail ArgumentError, "Missing the required parameter 'group_id' when calling UniverseApi.get_universe_groups_group_id"
  end
  if @api_client.config.client_side_validation && opts[:'accept_language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'accept_language'])
    fail ArgumentError, 'invalid value for "accept_language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  if @api_client.config.client_side_validation && opts[:'language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'language'])
    fail ArgumentError, 'invalid value for "language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  # resource path
  local_var_path = '/universe/groups/{group_id}/'.sub('{' + 'group_id' + '}', group_id.to_s)

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
  query_params[:'language'] = opts[:'language'] if !opts[:'language'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'GetUniverseGroupsGroupIdOk')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_groups_group_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_groups_with_http_info(opts = {}) click to toggle source

Get item groups Get a list of item groups — Alternate route: &#x60;/dev/universe/groups/&#x60; Alternate route: &#x60;/legacy/universe/groups/&#x60; Alternate route: &#x60;/v1/universe/groups/&#x60; — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [Integer] :page Which page of results to return @return [Array<(Array<Integer>, Fixnum, Hash)>] Array<Integer> data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 695
def get_universe_groups_with_http_info(opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_groups ...'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] < 1
    fail ArgumentError, 'invalid value for "opts[:"page"]" when calling UniverseApi.get_universe_groups, must be greater than or equal to 1.'
  end

  # resource path
  local_var_path = '/universe/groups/'

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Array<Integer>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_moons_moon_id(moon_id, opts = {}) click to toggle source

Get moon information Get information on a moon — Alternate route: `/dev/universe/moons/{moon_id}/` Alternate route: `/legacy/universe/moons/{moon_id}/` Alternate route: `/v1/universe/moons/{moon_id}/` — This route expires daily at 11:05 @param moon_id moon_id integer @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [GetUniverseMoonsMoonIdOk]

# File lib/ruby-esi/api/universe_api.rb, line 822
def get_universe_moons_moon_id(moon_id, opts = {})
  data, _status_code, _headers = get_universe_moons_moon_id_with_http_info(moon_id, opts)
  data
end
get_universe_moons_moon_id_with_http_info(moon_id, opts = {}) click to toggle source

Get moon information Get information on a moon — Alternate route: &#x60;/dev/universe/moons/{moon_id}/&#x60; Alternate route: &#x60;/legacy/universe/moons/{moon_id}/&#x60; Alternate route: &#x60;/v1/universe/moons/{moon_id}/&#x60; — This route expires daily at 11:05 @param moon_id moon_id integer @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<(GetUniverseMoonsMoonIdOk, Fixnum, Hash)>] GetUniverseMoonsMoonIdOk data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 834
def get_universe_moons_moon_id_with_http_info(moon_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_moons_moon_id ...'
  end
  # verify the required parameter 'moon_id' is set
  if @api_client.config.client_side_validation && moon_id.nil?
    fail ArgumentError, "Missing the required parameter 'moon_id' when calling UniverseApi.get_universe_moons_moon_id"
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  # resource path
  local_var_path = '/universe/moons/{moon_id}/'.sub('{' + 'moon_id' + '}', moon_id.to_s)

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'GetUniverseMoonsMoonIdOk')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_moons_moon_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_planets_planet_id(planet_id, opts = {}) click to toggle source

Get planet information Get information on a planet — Alternate route: `/dev/universe/planets/{planet_id}/` Alternate route: `/legacy/universe/planets/{planet_id}/` Alternate route: `/v1/universe/planets/{planet_id}/` — This route expires daily at 11:05 @param planet_id planet_id integer @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [GetUniversePlanetsPlanetIdOk]

# File lib/ruby-esi/api/universe_api.rb, line 885
def get_universe_planets_planet_id(planet_id, opts = {})
  data, _status_code, _headers = get_universe_planets_planet_id_with_http_info(planet_id, opts)
  data
end
get_universe_planets_planet_id_with_http_info(planet_id, opts = {}) click to toggle source

Get planet information Get information on a planet — Alternate route: &#x60;/dev/universe/planets/{planet_id}/&#x60; Alternate route: &#x60;/legacy/universe/planets/{planet_id}/&#x60; Alternate route: &#x60;/v1/universe/planets/{planet_id}/&#x60; — This route expires daily at 11:05 @param planet_id planet_id integer @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<(GetUniversePlanetsPlanetIdOk, Fixnum, Hash)>] GetUniversePlanetsPlanetIdOk data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 897
def get_universe_planets_planet_id_with_http_info(planet_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_planets_planet_id ...'
  end
  # verify the required parameter 'planet_id' is set
  if @api_client.config.client_side_validation && planet_id.nil?
    fail ArgumentError, "Missing the required parameter 'planet_id' when calling UniverseApi.get_universe_planets_planet_id"
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  # resource path
  local_var_path = '/universe/planets/{planet_id}/'.sub('{' + 'planet_id' + '}', planet_id.to_s)

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'GetUniversePlanetsPlanetIdOk')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_planets_planet_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_races(opts = {}) click to toggle source

Get character races Get a list of character races — Alternate route: `/dev/universe/races/` Alternate route: `/legacy/universe/races/` Alternate route: `/v1/universe/races/` — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response (default to en-us) @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :language Language to use in the response, takes precedence over Accept-Language (default to en-us) @return [Array<GetUniverseRaces200Ok>]

# File lib/ruby-esi/api/universe_api.rb, line 949
def get_universe_races(opts = {})
  data, _status_code, _headers = get_universe_races_with_http_info(opts)
  data
end
get_universe_races_with_http_info(opts = {}) click to toggle source

Get character races Get a list of character races — Alternate route: &#x60;/dev/universe/races/&#x60; Alternate route: &#x60;/legacy/universe/races/&#x60; Alternate route: &#x60;/v1/universe/races/&#x60; — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :language Language to use in the response, takes precedence over Accept-Language @return [Array<(Array<GetUniverseRaces200Ok>, Fixnum, Hash)>] Array<GetUniverseRaces200Ok> data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 962
def get_universe_races_with_http_info(opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_races ...'
  end
  if @api_client.config.client_side_validation && opts[:'accept_language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'accept_language'])
    fail ArgumentError, 'invalid value for "accept_language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  if @api_client.config.client_side_validation && opts[:'language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'language'])
    fail ArgumentError, 'invalid value for "language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  # resource path
  local_var_path = '/universe/races/'

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
  query_params[:'language'] = opts[:'language'] if !opts[:'language'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Array<GetUniverseRaces200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_races\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_regions(opts = {}) click to toggle source

Get regions Get a list of regions — Alternate route: `/dev/universe/regions/` Alternate route: `/legacy/universe/regions/` Alternate route: `/v1/universe/regions/` — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<Integer>]

# File lib/ruby-esi/api/universe_api.rb, line 1016
def get_universe_regions(opts = {})
  data, _status_code, _headers = get_universe_regions_with_http_info(opts)
  data
end
get_universe_regions_region_id(region_id, opts = {}) click to toggle source

Get region information Get information on a region — Alternate route: `/dev/universe/regions/{region_id}/` Alternate route: `/legacy/universe/regions/{region_id}/` Alternate route: `/v1/universe/regions/{region_id}/` — This route expires daily at 11:05 @param region_id region_id integer @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response (default to en-us) @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :language Language to use in the response, takes precedence over Accept-Language (default to en-us) @return [GetUniverseRegionsRegionIdOk]

# File lib/ruby-esi/api/universe_api.rb, line 1076
def get_universe_regions_region_id(region_id, opts = {})
  data, _status_code, _headers = get_universe_regions_region_id_with_http_info(region_id, opts)
  data
end
get_universe_regions_region_id_with_http_info(region_id, opts = {}) click to toggle source

Get region information Get information on a region — Alternate route: &#x60;/dev/universe/regions/{region_id}/&#x60; Alternate route: &#x60;/legacy/universe/regions/{region_id}/&#x60; Alternate route: &#x60;/v1/universe/regions/{region_id}/&#x60; — This route expires daily at 11:05 @param region_id region_id integer @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :language Language to use in the response, takes precedence over Accept-Language @return [Array<(GetUniverseRegionsRegionIdOk, Fixnum, Hash)>] GetUniverseRegionsRegionIdOk data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 1090
def get_universe_regions_region_id_with_http_info(region_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_regions_region_id ...'
  end
  # verify the required parameter 'region_id' is set
  if @api_client.config.client_side_validation && region_id.nil?
    fail ArgumentError, "Missing the required parameter 'region_id' when calling UniverseApi.get_universe_regions_region_id"
  end
  if @api_client.config.client_side_validation && opts[:'accept_language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'accept_language'])
    fail ArgumentError, 'invalid value for "accept_language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  if @api_client.config.client_side_validation && opts[:'language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'language'])
    fail ArgumentError, 'invalid value for "language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  # resource path
  local_var_path = '/universe/regions/{region_id}/'.sub('{' + 'region_id' + '}', region_id.to_s)

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
  query_params[:'language'] = opts[:'language'] if !opts[:'language'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'GetUniverseRegionsRegionIdOk')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_regions_region_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_regions_with_http_info(opts = {}) click to toggle source

Get regions Get a list of regions — Alternate route: &#x60;/dev/universe/regions/&#x60; Alternate route: &#x60;/legacy/universe/regions/&#x60; Alternate route: &#x60;/v1/universe/regions/&#x60; — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<(Array<Integer>, Fixnum, Hash)>] Array<Integer> data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 1027
def get_universe_regions_with_http_info(opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_regions ...'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  # resource path
  local_var_path = '/universe/regions/'

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Array<Integer>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_regions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_stargates_stargate_id(stargate_id, opts = {}) click to toggle source

Get stargate information Get information on a stargate — Alternate route: `/dev/universe/stargates/{stargate_id}/` Alternate route: `/legacy/universe/stargates/{stargate_id}/` Alternate route: `/v1/universe/stargates/{stargate_id}/` — This route expires daily at 11:05 @param stargate_id stargate_id integer @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [GetUniverseStargatesStargateIdOk]

# File lib/ruby-esi/api/universe_api.rb, line 1149
def get_universe_stargates_stargate_id(stargate_id, opts = {})
  data, _status_code, _headers = get_universe_stargates_stargate_id_with_http_info(stargate_id, opts)
  data
end
get_universe_stargates_stargate_id_with_http_info(stargate_id, opts = {}) click to toggle source

Get stargate information Get information on a stargate — Alternate route: &#x60;/dev/universe/stargates/{stargate_id}/&#x60; Alternate route: &#x60;/legacy/universe/stargates/{stargate_id}/&#x60; Alternate route: &#x60;/v1/universe/stargates/{stargate_id}/&#x60; — This route expires daily at 11:05 @param stargate_id stargate_id integer @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<(GetUniverseStargatesStargateIdOk, Fixnum, Hash)>] GetUniverseStargatesStargateIdOk data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 1161
def get_universe_stargates_stargate_id_with_http_info(stargate_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_stargates_stargate_id ...'
  end
  # verify the required parameter 'stargate_id' is set
  if @api_client.config.client_side_validation && stargate_id.nil?
    fail ArgumentError, "Missing the required parameter 'stargate_id' when calling UniverseApi.get_universe_stargates_stargate_id"
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  # resource path
  local_var_path = '/universe/stargates/{stargate_id}/'.sub('{' + 'stargate_id' + '}', stargate_id.to_s)

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'GetUniverseStargatesStargateIdOk')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_stargates_stargate_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_stars_star_id(star_id, opts = {}) click to toggle source

Get star information Get information on a star — Alternate route: `/dev/universe/stars/{star_id}/` Alternate route: `/legacy/universe/stars/{star_id}/` Alternate route: `/v1/universe/stars/{star_id}/` — This route expires daily at 11:05 @param star_id star_id integer @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [GetUniverseStarsStarIdOk]

# File lib/ruby-esi/api/universe_api.rb, line 1212
def get_universe_stars_star_id(star_id, opts = {})
  data, _status_code, _headers = get_universe_stars_star_id_with_http_info(star_id, opts)
  data
end
get_universe_stars_star_id_with_http_info(star_id, opts = {}) click to toggle source

Get star information Get information on a star — Alternate route: &#x60;/dev/universe/stars/{star_id}/&#x60; Alternate route: &#x60;/legacy/universe/stars/{star_id}/&#x60; Alternate route: &#x60;/v1/universe/stars/{star_id}/&#x60; — This route expires daily at 11:05 @param star_id star_id integer @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<(GetUniverseStarsStarIdOk, Fixnum, Hash)>] GetUniverseStarsStarIdOk data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 1224
def get_universe_stars_star_id_with_http_info(star_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_stars_star_id ...'
  end
  # verify the required parameter 'star_id' is set
  if @api_client.config.client_side_validation && star_id.nil?
    fail ArgumentError, "Missing the required parameter 'star_id' when calling UniverseApi.get_universe_stars_star_id"
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  # resource path
  local_var_path = '/universe/stars/{star_id}/'.sub('{' + 'star_id' + '}', star_id.to_s)

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'GetUniverseStarsStarIdOk')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_stars_star_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_stations_station_id(station_id, opts = {}) click to toggle source

Get station information Get information on a station — Alternate route: `/dev/universe/stations/{station_id}/` Alternate route: `/v2/universe/stations/{station_id}/` — This route expires daily at 11:05 @param station_id station_id integer @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [GetUniverseStationsStationIdOk]

# File lib/ruby-esi/api/universe_api.rb, line 1275
def get_universe_stations_station_id(station_id, opts = {})
  data, _status_code, _headers = get_universe_stations_station_id_with_http_info(station_id, opts)
  data
end
get_universe_stations_station_id_with_http_info(station_id, opts = {}) click to toggle source

Get station information Get information on a station — Alternate route: &#x60;/dev/universe/stations/{station_id}/&#x60; Alternate route: &#x60;/v2/universe/stations/{station_id}/&#x60; — This route expires daily at 11:05 @param station_id station_id integer @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<(GetUniverseStationsStationIdOk, Fixnum, Hash)>] GetUniverseStationsStationIdOk data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 1287
def get_universe_stations_station_id_with_http_info(station_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_stations_station_id ...'
  end
  # verify the required parameter 'station_id' is set
  if @api_client.config.client_side_validation && station_id.nil?
    fail ArgumentError, "Missing the required parameter 'station_id' when calling UniverseApi.get_universe_stations_station_id"
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  # resource path
  local_var_path = '/universe/stations/{station_id}/'.sub('{' + 'station_id' + '}', station_id.to_s)

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'GetUniverseStationsStationIdOk')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_stations_station_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_structures(opts = {}) click to toggle source

List all public structures List all public structures — Alternate route: `/dev/universe/structures/` Alternate route: `/legacy/universe/structures/` Alternate route: `/v1/universe/structures/` — This route is cached for up to 3600 seconds @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :filter Only list public structures that have this service online @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<Integer>]

# File lib/ruby-esi/api/universe_api.rb, line 1338
def get_universe_structures(opts = {})
  data, _status_code, _headers = get_universe_structures_with_http_info(opts)
  data
end
get_universe_structures_structure_id(structure_id, opts = {}) click to toggle source

Get structure information Returns information on requested structure if you are on the ACL. Otherwise, returns "Forbidden" for all inputs. — Alternate route: `/dev/universe/structures/{structure_id}/` Alternate route: `/v2/universe/structures/{structure_id}/` — This route is cached for up to 3600 seconds @param structure_id An Eve structure ID @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :token Access token to use if unable to set a header @return [GetUniverseStructuresStructureIdOk]

# File lib/ruby-esi/api/universe_api.rb, line 1402
def get_universe_structures_structure_id(structure_id, opts = {})
  data, _status_code, _headers = get_universe_structures_structure_id_with_http_info(structure_id, opts)
  data
end
get_universe_structures_structure_id_with_http_info(structure_id, opts = {}) click to toggle source

Get structure information Returns information on requested structure if you are on the ACL. Otherwise, returns "Forbidden&quot; for all inputs. — Alternate route: &#x60;/dev/universe/structures/{structure_id}/&#x60; Alternate route: &#x60;/v2/universe/structures/{structure_id}/&#x60; — This route is cached for up to 3600 seconds @param structure_id An Eve structure ID @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :token Access token to use if unable to set a header @return [Array<(GetUniverseStructuresStructureIdOk, Fixnum, Hash)>] GetUniverseStructuresStructureIdOk data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 1415
def get_universe_structures_structure_id_with_http_info(structure_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_structures_structure_id ...'
  end
  # verify the required parameter 'structure_id' is set
  if @api_client.config.client_side_validation && structure_id.nil?
    fail ArgumentError, "Missing the required parameter 'structure_id' when calling UniverseApi.get_universe_structures_structure_id"
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  # resource path
  local_var_path = '/universe/structures/{structure_id}/'.sub('{' + 'structure_id' + '}', structure_id.to_s)

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
  query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['evesso']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'GetUniverseStructuresStructureIdOk')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_structures_structure_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_structures_with_http_info(opts = {}) click to toggle source

List all public structures List all public structures — Alternate route: &#x60;/dev/universe/structures/&#x60; Alternate route: &#x60;/legacy/universe/structures/&#x60; Alternate route: &#x60;/v1/universe/structures/&#x60; — This route is cached for up to 3600 seconds @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from @option opts [String] :filter Only list public structures that have this service online @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<(Array<Integer>, Fixnum, Hash)>] Array<Integer> data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 1350
def get_universe_structures_with_http_info(opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_structures ...'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  if @api_client.config.client_side_validation && opts[:'filter'] && !['market', 'manufacturing_basic'].include?(opts[:'filter'])
    fail ArgumentError, 'invalid value for "filter", must be one of market, manufacturing_basic'
  end
  # resource path
  local_var_path = '/universe/structures/'

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
  query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Array<Integer>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_structures\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_system_jumps(opts = {}) click to toggle source

Get system jumps Get the number of jumps in solar systems within the last hour ending at the timestamp of the Last-Modified header, excluding wormhole space. Only systems with jumps will be listed — Alternate route: `/dev/universe/system_jumps/` Alternate route: `/legacy/universe/system_jumps/` Alternate route: `/v1/universe/system_jumps/` — This route is cached for up to 3600 seconds @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<GetUniverseSystemJumps200Ok>]

# File lib/ruby-esi/api/universe_api.rb, line 1466
def get_universe_system_jumps(opts = {})
  data, _status_code, _headers = get_universe_system_jumps_with_http_info(opts)
  data
end
get_universe_system_jumps_with_http_info(opts = {}) click to toggle source

Get system jumps Get the number of jumps in solar systems within the last hour ending at the timestamp of the Last-Modified header, excluding wormhole space. Only systems with jumps will be listed — Alternate route: &#x60;/dev/universe/system_jumps/&#x60; Alternate route: &#x60;/legacy/universe/system_jumps/&#x60; Alternate route: &#x60;/v1/universe/system_jumps/&#x60; — This route is cached for up to 3600 seconds @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<(Array<GetUniverseSystemJumps200Ok>, Fixnum, Hash)>] Array<GetUniverseSystemJumps200Ok> data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 1477
def get_universe_system_jumps_with_http_info(opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_system_jumps ...'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  # resource path
  local_var_path = '/universe/system_jumps/'

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Array<GetUniverseSystemJumps200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_system_jumps\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_system_kills(opts = {}) click to toggle source

Get system kills Get the number of ship, pod and NPC kills per solar system within the last hour ending at the timestamp of the Last-Modified header, excluding wormhole space. Only systems with kills will be listed — Alternate route: `/dev/universe/system_kills/` Alternate route: `/v2/universe/system_kills/` — This route is cached for up to 3600 seconds @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<GetUniverseSystemKills200Ok>]

# File lib/ruby-esi/api/universe_api.rb, line 1523
def get_universe_system_kills(opts = {})
  data, _status_code, _headers = get_universe_system_kills_with_http_info(opts)
  data
end
get_universe_system_kills_with_http_info(opts = {}) click to toggle source

Get system kills Get the number of ship, pod and NPC kills per solar system within the last hour ending at the timestamp of the Last-Modified header, excluding wormhole space. Only systems with kills will be listed — Alternate route: &#x60;/dev/universe/system_kills/&#x60; Alternate route: &#x60;/v2/universe/system_kills/&#x60; — This route is cached for up to 3600 seconds @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<(Array<GetUniverseSystemKills200Ok>, Fixnum, Hash)>] Array<GetUniverseSystemKills200Ok> data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 1534
def get_universe_system_kills_with_http_info(opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_system_kills ...'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  # resource path
  local_var_path = '/universe/system_kills/'

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Array<GetUniverseSystemKills200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_system_kills\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_systems(opts = {}) click to toggle source

Get solar systems Get a list of solar systems — Alternate route: `/dev/universe/systems/` Alternate route: `/legacy/universe/systems/` Alternate route: `/v1/universe/systems/` — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<Integer>]

# File lib/ruby-esi/api/universe_api.rb, line 1580
def get_universe_systems(opts = {})
  data, _status_code, _headers = get_universe_systems_with_http_info(opts)
  data
end
get_universe_systems_system_id(system_id, opts = {}) click to toggle source

Get solar system information Get information on a solar system. — Alternate route: `/dev/universe/systems/{system_id}/` Alternate route: `/v4/universe/systems/{system_id}/` — This route expires daily at 11:05 @param system_id system_id integer @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response (default to en-us) @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :language Language to use in the response, takes precedence over Accept-Language (default to en-us) @return [GetUniverseSystemsSystemIdOk]

# File lib/ruby-esi/api/universe_api.rb, line 1640
def get_universe_systems_system_id(system_id, opts = {})
  data, _status_code, _headers = get_universe_systems_system_id_with_http_info(system_id, opts)
  data
end
get_universe_systems_system_id_with_http_info(system_id, opts = {}) click to toggle source

Get solar system information Get information on a solar system. — Alternate route: &#x60;/dev/universe/systems/{system_id}/&#x60; Alternate route: &#x60;/v4/universe/systems/{system_id}/&#x60; — This route expires daily at 11:05 @param system_id system_id integer @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :language Language to use in the response, takes precedence over Accept-Language @return [Array<(GetUniverseSystemsSystemIdOk, Fixnum, Hash)>] GetUniverseSystemsSystemIdOk data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 1654
def get_universe_systems_system_id_with_http_info(system_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_systems_system_id ...'
  end
  # verify the required parameter 'system_id' is set
  if @api_client.config.client_side_validation && system_id.nil?
    fail ArgumentError, "Missing the required parameter 'system_id' when calling UniverseApi.get_universe_systems_system_id"
  end
  if @api_client.config.client_side_validation && opts[:'accept_language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'accept_language'])
    fail ArgumentError, 'invalid value for "accept_language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  if @api_client.config.client_side_validation && opts[:'language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'language'])
    fail ArgumentError, 'invalid value for "language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  # resource path
  local_var_path = '/universe/systems/{system_id}/'.sub('{' + 'system_id' + '}', system_id.to_s)

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
  query_params[:'language'] = opts[:'language'] if !opts[:'language'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'GetUniverseSystemsSystemIdOk')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_systems_system_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_systems_with_http_info(opts = {}) click to toggle source

Get solar systems Get a list of solar systems — Alternate route: &#x60;/dev/universe/systems/&#x60; Alternate route: &#x60;/legacy/universe/systems/&#x60; Alternate route: &#x60;/v1/universe/systems/&#x60; — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @return [Array<(Array<Integer>, Fixnum, Hash)>] Array<Integer> data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 1591
def get_universe_systems_with_http_info(opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_systems ...'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  # resource path
  local_var_path = '/universe/systems/'

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Array<Integer>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_systems\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_types(opts = {}) click to toggle source

Get types Get a list of type ids — Alternate route: `/dev/universe/types/` Alternate route: `/legacy/universe/types/` Alternate route: `/v1/universe/types/` — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [Integer] :page Which page of results to return (default to 1) @return [Array<Integer>]

# File lib/ruby-esi/api/universe_api.rb, line 1713
def get_universe_types(opts = {})
  data, _status_code, _headers = get_universe_types_with_http_info(opts)
  data
end
get_universe_types_type_id(type_id, opts = {}) click to toggle source

Get type information Get information on a type — Alternate route: `/dev/universe/types/{type_id}/` Alternate route: `/v3/universe/types/{type_id}/` — This route expires daily at 11:05 @param type_id An Eve item type ID @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response (default to en-us) @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :language Language to use in the response, takes precedence over Accept-Language (default to en-us) @return [GetUniverseTypesTypeIdOk]

# File lib/ruby-esi/api/universe_api.rb, line 1779
def get_universe_types_type_id(type_id, opts = {})
  data, _status_code, _headers = get_universe_types_type_id_with_http_info(type_id, opts)
  data
end
get_universe_types_type_id_with_http_info(type_id, opts = {}) click to toggle source

Get type information Get information on a type — Alternate route: &#x60;/dev/universe/types/{type_id}/&#x60; Alternate route: &#x60;/v3/universe/types/{type_id}/&#x60; — This route expires daily at 11:05 @param type_id An Eve item type ID @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [String] :language Language to use in the response, takes precedence over Accept-Language @return [Array<(GetUniverseTypesTypeIdOk, Fixnum, Hash)>] GetUniverseTypesTypeIdOk data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 1793
def get_universe_types_type_id_with_http_info(type_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_types_type_id ...'
  end
  # verify the required parameter 'type_id' is set
  if @api_client.config.client_side_validation && type_id.nil?
    fail ArgumentError, "Missing the required parameter 'type_id' when calling UniverseApi.get_universe_types_type_id"
  end
  if @api_client.config.client_side_validation && opts[:'accept_language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'accept_language'])
    fail ArgumentError, 'invalid value for "accept_language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  if @api_client.config.client_side_validation && opts[:'language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'language'])
    fail ArgumentError, 'invalid value for "language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  # resource path
  local_var_path = '/universe/types/{type_id}/'.sub('{' + 'type_id' + '}', type_id.to_s)

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
  query_params[:'language'] = opts[:'language'] if !opts[:'language'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'GetUniverseTypesTypeIdOk')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_types_type_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_universe_types_with_http_info(opts = {}) click to toggle source

Get types Get a list of type ids — Alternate route: &#x60;/dev/universe/types/&#x60; Alternate route: &#x60;/legacy/universe/types/&#x60; Alternate route: &#x60;/v1/universe/types/&#x60; — This route expires daily at 11:05 @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from @option opts [String] :if_none_match ETag from a previous request. A 304 will be returned if this matches the current ETag @option opts [Integer] :page Which page of results to return @return [Array<(Array<Integer>, Fixnum, Hash)>] Array<Integer> data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 1725
def get_universe_types_with_http_info(opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.get_universe_types ...'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] < 1
    fail ArgumentError, 'invalid value for "opts[:"page"]" when calling UniverseApi.get_universe_types, must be greater than or equal to 1.'
  end

  # resource path
  local_var_path = '/universe/types/'

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = []
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Array<Integer>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#get_universe_types\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
post_universe_ids(names, opts = {}) click to toggle source

Bulk names to IDs Resolve a set of names to IDs in the following categories: agents, alliances, characters, constellations, corporations factions, inventory_types, regions, stations, and systems. Only exact matches will be returned. All names searched for are cached for 12 hours — Alternate route: `/dev/universe/ids/` Alternate route: `/legacy/universe/ids/` Alternate route: `/v1/universe/ids/` @param names The names to resolve @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response (default to en-us) @option opts [String] :datasource The server name you would like data from (default to tranquility) @option opts [String] :language Language to use in the response, takes precedence over Accept-Language (default to en-us) @return [PostUniverseIdsOk]

# File lib/ruby-esi/api/universe_api.rb, line 1853
def post_universe_ids(names, opts = {})
  data, _status_code, _headers = post_universe_ids_with_http_info(names, opts)
  data
end
post_universe_ids_with_http_info(names, opts = {}) click to toggle source

Bulk names to IDs Resolve a set of names to IDs in the following categories: agents, alliances, characters, constellations, corporations factions, inventory_types, regions, stations, and systems. Only exact matches will be returned. All names searched for are cached for 12 hours — Alternate route: &#x60;/dev/universe/ids/&#x60; Alternate route: &#x60;/legacy/universe/ids/&#x60; Alternate route: &#x60;/v1/universe/ids/&#x60; @param names The names to resolve @param [Hash] opts the optional parameters @option opts [String] :accept_language Language to use in the response @option opts [String] :datasource The server name you would like data from @option opts [String] :language Language to use in the response, takes precedence over Accept-Language @return [Array<(PostUniverseIdsOk, Fixnum, Hash)>] PostUniverseIdsOk data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 1866
def post_universe_ids_with_http_info(names, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.post_universe_ids ...'
  end
  # verify the required parameter 'names' is set
  if @api_client.config.client_side_validation && names.nil?
    fail ArgumentError, "Missing the required parameter 'names' when calling UniverseApi.post_universe_ids"
  end
  if @api_client.config.client_side_validation && opts[:'accept_language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'accept_language'])
    fail ArgumentError, 'invalid value for "accept_language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  if @api_client.config.client_side_validation && opts[:'language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh', 'ko'].include?(opts[:'language'])
    fail ArgumentError, 'invalid value for "language", must be one of de, en-us, fr, ja, ru, zh, ko'
  end
  # resource path
  local_var_path = '/universe/ids/'

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
  query_params[:'language'] = opts[:'language'] if !opts[:'language'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
  header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(names)
  auth_names = []
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'PostUniverseIdsOk')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#post_universe_ids\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
post_universe_names(ids, opts = {}) click to toggle source

Get names and categories for a set of IDs Resolve a set of IDs to names and categories. Supported ID's for resolving are: Characters, Corporations, Alliances, Stations, Solar Systems, Constellations, Regions, Types, Factions — Alternate route: `/dev/universe/names/` Alternate route: `/v3/universe/names/` @param ids The ids to resolve @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from (default to tranquility) @return [Array<PostUniverseNames200Ok>]

# File lib/ruby-esi/api/universe_api.rb, line 1923
def post_universe_names(ids, opts = {})
  data, _status_code, _headers = post_universe_names_with_http_info(ids, opts)
  data
end
post_universe_names_with_http_info(ids, opts = {}) click to toggle source

Get names and categories for a set of IDs Resolve a set of IDs to names and categories. Supported ID&#39;s for resolving are: Characters, Corporations, Alliances, Stations, Solar Systems, Constellations, Regions, Types, Factions — Alternate route: &#x60;/dev/universe/names/&#x60; Alternate route: &#x60;/v3/universe/names/&#x60; @param ids The ids to resolve @param [Hash] opts the optional parameters @option opts [String] :datasource The server name you would like data from @return [Array<(Array<PostUniverseNames200Ok>, Fixnum, Hash)>] Array<PostUniverseNames200Ok> data, response status code and response headers

# File lib/ruby-esi/api/universe_api.rb, line 1934
def post_universe_names_with_http_info(ids, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: UniverseApi.post_universe_names ...'
  end
  # verify the required parameter 'ids' is set
  if @api_client.config.client_side_validation && ids.nil?
    fail ArgumentError, "Missing the required parameter 'ids' when calling UniverseApi.post_universe_names"
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility'
  end
  # resource path
  local_var_path = '/universe/names/'

  # query parameters
  query_params = {}
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(ids)
  auth_names = []
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Array<PostUniverseNames200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: UniverseApi#post_universe_names\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end