Class: ESIClient::CorporationApi

Inherits:
Object
  • Object
show all
Defined in:
lib/esi_client/api/corporation_api.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_client = ApiClient.default) ⇒ CorporationApi

Returns a new instance of CorporationApi.



19
20
21
# File 'lib/esi_client/api/corporation_api.rb', line 19

def initialize(api_client = ApiClient.default)
  @api_client = api_client
end

Instance Attribute Details

#api_clientObject

Returns the value of attribute api_client.



17
18
19
# File 'lib/esi_client/api/corporation_api.rb', line 17

def api_client
  @api_client
end

Instance Method Details

#get_corporations_corporation_id(corporation_id, opts = {}) ⇒ GetCorporationsCorporationIdOk

Get corporation information Public information about a corporation — This route is cached for up to 3600 seconds

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



30
31
32
33
# File 'lib/esi_client/api/corporation_api.rb', line 30

def get_corporations_corporation_id(corporation_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_with_http_info(corporation_id, opts)
  data
end

#get_corporations_corporation_id_alliancehistory(corporation_id, opts = {}) ⇒ Array<GetCorporationsCorporationIdAlliancehistory200Ok>

Get alliance history Get a list of all the alliances a corporation has been a member of — This route is cached for up to 3600 seconds

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



98
99
100
101
# File 'lib/esi_client/api/corporation_api.rb', line 98

def get_corporations_corporation_id_alliancehistory(corporation_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_alliancehistory_with_http_info(corporation_id, opts)
  data
end

#get_corporations_corporation_id_alliancehistory_with_http_info(corporation_id, opts = {}) ⇒ Array<(Array<GetCorporationsCorporationIdAlliancehistory200Ok>, Fixnum, Hash)>

Get alliance history Get a list of all the alliances a corporation has been a member of — This route is cached for up to 3600 seconds

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
# File 'lib/esi_client/api/corporation_api.rb', line 111

def get_corporations_corporation_id_alliancehistory_with_http_info(corporation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_alliancehistory ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_alliancehistory"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_alliancehistory, must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v2/corporations/{corporation_id}/alliancehistory/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)

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

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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<GetCorporationsCorporationIdAlliancehistory200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_alliancehistory\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_blueprints(corporation_id, opts = {}) ⇒ Array<GetCorporationsCorporationIdBlueprints200Ok>

Get corporation blueprints Returns a list of blueprints the corporation owns — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director — [This route has an available update](esi.tech.ccp.is/diff/latest/dev/#GET-/corporations/corporation_id/blueprints/)

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :page (Integer)

    Which page of results to return (default to 1)

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



168
169
170
171
# File 'lib/esi_client/api/corporation_api.rb', line 168

def get_corporations_corporation_id_blueprints(corporation_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_blueprints_with_http_info(corporation_id, opts)
  data
end

#get_corporations_corporation_id_blueprints_with_http_info(corporation_id, opts = {}) ⇒ Array<(Array<GetCorporationsCorporationIdBlueprints200Ok>, Fixnum, Hash)>

Get corporation blueprints Returns a list of blueprints the corporation owns — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director — [This route has an available update](esi.tech.ccp.is/diff/latest/dev/#GET-/corporations/corporation_id/blueprints/)

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :page (Integer)

    Which page of results to return

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'lib/esi_client/api/corporation_api.rb', line 183

def get_corporations_corporation_id_blueprints_with_http_info(corporation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_blueprints ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_blueprints"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_blueprints, must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v1/corporations/{corporation_id}/blueprints/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)

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

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'Array<GetCorporationsCorporationIdBlueprints200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_blueprints\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_containers_logs(corporation_id, opts = {}) ⇒ Array<GetCorporationsCorporationIdContainersLogs200Ok>

Get all corporation ALSC logs Returns logs recorded in the past seven days from all audit log secure containers (ALSC) owned by a given corporation — This route is cached for up to 600 seconds — Requires one of the following EVE corporation role(s): Director — [This route has an available update](esi.tech.ccp.is/diff/latest/dev/#GET-/corporations/corporation_id/containers/logs/)

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :page (Integer)

    Which page of results to return (default to 1)

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



242
243
244
245
# File 'lib/esi_client/api/corporation_api.rb', line 242

def get_corporations_corporation_id_containers_logs(corporation_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_containers_logs_with_http_info(corporation_id, opts)
  data
end

#get_corporations_corporation_id_containers_logs_with_http_info(corporation_id, opts = {}) ⇒ Array<(Array<GetCorporationsCorporationIdContainersLogs200Ok>, Fixnum, Hash)>

Get all corporation ALSC logs Returns logs recorded in the past seven days from all audit log secure containers (ALSC) owned by a given corporation — This route is cached for up to 600 seconds — Requires one of the following EVE corporation role(s): Director — [This route has an available update](esi.tech.ccp.is/diff/latest/dev/#GET-/corporations/corporation_id/containers/logs/)

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :page (Integer)

    Which page of results to return

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
# File 'lib/esi_client/api/corporation_api.rb', line 257

def get_corporations_corporation_id_containers_logs_with_http_info(corporation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_containers_logs ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_containers_logs"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_containers_logs, must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v1/corporations/{corporation_id}/containers/logs/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)

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

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'Array<GetCorporationsCorporationIdContainersLogs200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_containers_logs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_divisions(corporation_id, opts = {}) ⇒ GetCorporationsCorporationIdDivisionsOk

Get corporation divisions Return corporation hangar and wallet division names, only show if a division is not using the default name — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



315
316
317
318
# File 'lib/esi_client/api/corporation_api.rb', line 315

def get_corporations_corporation_id_divisions(corporation_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_divisions_with_http_info(corporation_id, opts)
  data
end

#get_corporations_corporation_id_divisions_with_http_info(corporation_id, opts = {}) ⇒ Array<(GetCorporationsCorporationIdDivisionsOk, Fixnum, Hash)>

Get corporation divisions Return corporation hangar and wallet division names, only show if a division is not using the default name — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
# File 'lib/esi_client/api/corporation_api.rb', line 329

def get_corporations_corporation_id_divisions_with_http_info(corporation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_divisions ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_divisions"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_divisions, must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v1/corporations/{corporation_id}/divisions/'.sub('{' + 'corporation_id' + '}', corporation_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?
  query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'GetCorporationsCorporationIdDivisionsOk')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_divisions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_facilities(corporation_id, opts = {}) ⇒ Array<GetCorporationsCorporationIdFacilities200Ok>

Get corporation facilities Return a corporation’s facilities — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Factory_Manager

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



386
387
388
389
# File 'lib/esi_client/api/corporation_api.rb', line 386

def get_corporations_corporation_id_facilities(corporation_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_facilities_with_http_info(corporation_id, opts)
  data
end

#get_corporations_corporation_id_facilities_with_http_info(corporation_id, opts = {}) ⇒ Array<(Array<GetCorporationsCorporationIdFacilities200Ok>, Fixnum, Hash)>

Get corporation facilities Return a corporation&#39;s facilities — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Factory_Manager

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
# File 'lib/esi_client/api/corporation_api.rb', line 400

def get_corporations_corporation_id_facilities_with_http_info(corporation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_facilities ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_facilities"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_facilities, must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v1/corporations/{corporation_id}/facilities/'.sub('{' + 'corporation_id' + '}', corporation_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?
  query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'Array<GetCorporationsCorporationIdFacilities200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_facilities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_icons(corporation_id, opts = {}) ⇒ GetCorporationsCorporationIdIconsOk

Get corporation icon Get the icon urls for a corporation — This route is cached for up to 3600 seconds

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



456
457
458
459
# File 'lib/esi_client/api/corporation_api.rb', line 456

def get_corporations_corporation_id_icons(corporation_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_icons_with_http_info(corporation_id, opts)
  data
end

#get_corporations_corporation_id_icons_with_http_info(corporation_id, opts = {}) ⇒ Array<(GetCorporationsCorporationIdIconsOk, Fixnum, Hash)>

Get corporation icon Get the icon urls for a corporation — This route is cached for up to 3600 seconds

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
# File 'lib/esi_client/api/corporation_api.rb', line 469

def get_corporations_corporation_id_icons_with_http_info(corporation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_icons ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_icons"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_icons, must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v1/corporations/{corporation_id}/icons/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)

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

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'GetCorporationsCorporationIdIconsOk')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_icons\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_medals(corporation_id, opts = {}) ⇒ Array<GetCorporationsCorporationIdMedals200Ok>

Get corporation medals Returns a corporation’s medals — This route is cached for up to 3600 seconds

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :page (Integer)

    Which page of results to return (default to 1)

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



526
527
528
529
# File 'lib/esi_client/api/corporation_api.rb', line 526

def get_corporations_corporation_id_medals(corporation_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_medals_with_http_info(corporation_id, opts)
  data
end

#get_corporations_corporation_id_medals_issued(corporation_id, opts = {}) ⇒ Array<GetCorporationsCorporationIdMedalsIssued200Ok>

Get corporation issued medals Returns medals issued by a corporation — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :page (Integer)

    Which page of results to return (default to 1)

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



600
601
602
603
# File 'lib/esi_client/api/corporation_api.rb', line 600

def get_corporations_corporation_id_medals_issued(corporation_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_medals_issued_with_http_info(corporation_id, opts)
  data
end

#get_corporations_corporation_id_medals_issued_with_http_info(corporation_id, opts = {}) ⇒ Array<(Array<GetCorporationsCorporationIdMedalsIssued200Ok>, Fixnum, Hash)>

Get corporation issued medals Returns medals issued by a corporation — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :page (Integer)

    Which page of results to return

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
# File 'lib/esi_client/api/corporation_api.rb', line 615

def get_corporations_corporation_id_medals_issued_with_http_info(corporation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_medals_issued ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_medals_issued"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_medals_issued, must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v1/corporations/{corporation_id}/medals/issued/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)

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

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'Array<GetCorporationsCorporationIdMedalsIssued200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_medals_issued\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_medals_with_http_info(corporation_id, opts = {}) ⇒ Array<(Array<GetCorporationsCorporationIdMedals200Ok>, Fixnum, Hash)>

Get corporation medals Returns a corporation&#39;s medals — This route is cached for up to 3600 seconds

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :page (Integer)

    Which page of results to return

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
# File 'lib/esi_client/api/corporation_api.rb', line 541

def get_corporations_corporation_id_medals_with_http_info(corporation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_medals ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_medals"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_medals, must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v1/corporations/{corporation_id}/medals/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)

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

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'Array<GetCorporationsCorporationIdMedals200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_medals\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_members(corporation_id, opts = {}) ⇒ Array<Integer>

Get corporation members Return the current member list of a corporation, the token’s character need to be a member of the corporation. — This route is cached for up to 3600 seconds

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:

  • (Array<Integer>)


673
674
675
676
# File 'lib/esi_client/api/corporation_api.rb', line 673

def get_corporations_corporation_id_members(corporation_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_members_with_http_info(corporation_id, opts)
  data
end

#get_corporations_corporation_id_members_limit(corporation_id, opts = {}) ⇒ Integer

Get corporation member limit Return a corporation’s member limit, not including CEO himself — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:

  • (Integer)


744
745
746
747
# File 'lib/esi_client/api/corporation_api.rb', line 744

def get_corporations_corporation_id_members_limit(corporation_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_members_limit_with_http_info(corporation_id, opts)
  data
end

#get_corporations_corporation_id_members_limit_with_http_info(corporation_id, opts = {}) ⇒ Array<(Integer, Fixnum, Hash)>

Get corporation member limit Return a corporation&#39;s member limit, not including CEO himself — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:

  • (Array<(Integer, Fixnum, Hash)>)

    Integer data, response status code and response headers



758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
# File 'lib/esi_client/api/corporation_api.rb', line 758

def get_corporations_corporation_id_members_limit_with_http_info(corporation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_members_limit ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_members_limit"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_members_limit, must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v1/corporations/{corporation_id}/members/limit/'.sub('{' + 'corporation_id' + '}', corporation_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?
  query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'Integer')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_members_limit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_members_titles(corporation_id, opts = {}) ⇒ Array<GetCorporationsCorporationIdMembersTitles200Ok>

Get corporation’s members’ titles Returns a corporation’s members’ titles — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



815
816
817
818
# File 'lib/esi_client/api/corporation_api.rb', line 815

def get_corporations_corporation_id_members_titles(corporation_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_members_titles_with_http_info(corporation_id, opts)
  data
end

#get_corporations_corporation_id_members_titles_with_http_info(corporation_id, opts = {}) ⇒ Array<(Array<GetCorporationsCorporationIdMembersTitles200Ok>, Fixnum, Hash)>

Get corporation&#39;s members&#39; titles Returns a corporation&#39;s members&#39; titles — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
# File 'lib/esi_client/api/corporation_api.rb', line 829

def get_corporations_corporation_id_members_titles_with_http_info(corporation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_members_titles ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_members_titles"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_members_titles, must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v1/corporations/{corporation_id}/members/titles/'.sub('{' + 'corporation_id' + '}', corporation_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?
  query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'Array<GetCorporationsCorporationIdMembersTitles200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_members_titles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_members_with_http_info(corporation_id, opts = {}) ⇒ Array<(Array<Integer>, Fixnum, Hash)>

Get corporation members Return the current member list of a corporation, the token&#39;s character need to be a member of the corporation. — This route is cached for up to 3600 seconds

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:

  • (Array<(Array<Integer>, Fixnum, Hash)>)

    Array<Integer> data, response status code and response headers



687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
# File 'lib/esi_client/api/corporation_api.rb', line 687

def get_corporations_corporation_id_members_with_http_info(corporation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_members ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_members"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_members, must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v3/corporations/{corporation_id}/members/'.sub('{' + 'corporation_id' + '}', corporation_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?
  query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'Array<Integer>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_members\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_membertracking(corporation_id, opts = {}) ⇒ Array<GetCorporationsCorporationIdMembertracking200Ok>

Track corporation members Returns additional information about a corporation’s members which helps tracking their activities — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



886
887
888
889
# File 'lib/esi_client/api/corporation_api.rb', line 886

def get_corporations_corporation_id_membertracking(corporation_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_membertracking_with_http_info(corporation_id, opts)
  data
end

#get_corporations_corporation_id_membertracking_with_http_info(corporation_id, opts = {}) ⇒ Array<(Array<GetCorporationsCorporationIdMembertracking200Ok>, Fixnum, Hash)>

Track corporation members Returns additional information about a corporation&#39;s members which helps tracking their activities — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
# File 'lib/esi_client/api/corporation_api.rb', line 900

def get_corporations_corporation_id_membertracking_with_http_info(corporation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_membertracking ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_membertracking"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_membertracking, must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v1/corporations/{corporation_id}/membertracking/'.sub('{' + 'corporation_id' + '}', corporation_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?
  query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'Array<GetCorporationsCorporationIdMembertracking200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_membertracking\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_outposts(corporation_id, opts = {}) ⇒ Array<Integer>

Get corporation outposts Get a list of corporation outpost IDs Note: This endpoint will be removed once outposts are migrated to Citadels as talked about in this blog: community.eveonline.com/news/dev-blogs/the-next-steps-in-structure-transition/ — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :page (Integer)

    Which page of results to return (default to 1)

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:

  • (Array<Integer>)


958
959
960
961
# File 'lib/esi_client/api/corporation_api.rb', line 958

def get_corporations_corporation_id_outposts(corporation_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_outposts_with_http_info(corporation_id, opts)
  data
end

#get_corporations_corporation_id_outposts_outpost_id(corporation_id, outpost_id, opts = {}) ⇒ GetCorporationsCorporationIdOutpostsOutpostIdOk

Get corporation outpost details Get details about a given outpost. Note: This endpoint will be removed once outposts are migrated to Citadels as talked about in this blog: community.eveonline.com/news/dev-blogs/the-next-steps-in-structure-transition/ — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • outpost_id

    A station (outpost) ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



1032
1033
1034
1035
# File 'lib/esi_client/api/corporation_api.rb', line 1032

def get_corporations_corporation_id_outposts_outpost_id(corporation_id, outpost_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_outposts_outpost_id_with_http_info(corporation_id, outpost_id, opts)
  data
end

#get_corporations_corporation_id_outposts_outpost_id_with_http_info(corporation_id, outpost_id, opts = {}) ⇒ Array<(GetCorporationsCorporationIdOutpostsOutpostIdOk, Fixnum, Hash)>

Get corporation outpost details Get details about a given outpost. Note: This endpoint will be removed once outposts are migrated to Citadels as talked about in this blog: community.eveonline.com/news/dev-blogs/the-next-steps-in-structure-transition/ — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • outpost_id

    A station (outpost) ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
# File 'lib/esi_client/api/corporation_api.rb', line 1047

def get_corporations_corporation_id_outposts_outpost_id_with_http_info(corporation_id, outpost_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_outposts_outpost_id ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_outposts_outpost_id"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_outposts_outpost_id, must be greater than or equal to 1.'
  end

  # verify the required parameter 'outpost_id' is set
  if @api_client.config.client_side_validation && outpost_id.nil?
    fail ArgumentError, "Missing the required parameter 'outpost_id' when calling CorporationApi.get_corporations_corporation_id_outposts_outpost_id"
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v1/corporations/{corporation_id}/outposts/{outpost_id}/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s).sub('{' + 'outpost_id' + '}', outpost_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?
  query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'GetCorporationsCorporationIdOutpostsOutpostIdOk')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_outposts_outpost_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_outposts_with_http_info(corporation_id, opts = {}) ⇒ Array<(Array<Integer>, Fixnum, Hash)>

Get corporation outposts Get a list of corporation outpost IDs Note: This endpoint will be removed once outposts are migrated to Citadels as talked about in this blog: community.eveonline.com/news/dev-blogs/the-next-steps-in-structure-transition/ — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :page (Integer)

    Which page of results to return

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:

  • (Array<(Array<Integer>, Fixnum, Hash)>)

    Array<Integer> data, response status code and response headers



973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
# File 'lib/esi_client/api/corporation_api.rb', line 973

def get_corporations_corporation_id_outposts_with_http_info(corporation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_outposts ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_outposts"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_outposts, must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v1/corporations/{corporation_id}/outposts/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)

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

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'Array<Integer>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_outposts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_roles(corporation_id, opts = {}) ⇒ Array<GetCorporationsCorporationIdRoles200Ok>

Get corporation member roles Return the roles of all members if the character has the personnel manager role or any grantable role. — This route is cached for up to 3600 seconds

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



1108
1109
1110
1111
# File 'lib/esi_client/api/corporation_api.rb', line 1108

def get_corporations_corporation_id_roles(corporation_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_roles_with_http_info(corporation_id, opts)
  data
end

#get_corporations_corporation_id_roles_history(corporation_id, opts = {}) ⇒ Array<GetCorporationsCorporationIdRolesHistory200Ok>

Get corporation member roles history Return how roles have changed for a coporation’s members, up to a month — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :page (Integer)

    Which page of results to return (default to 1)

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



1180
1181
1182
1183
# File 'lib/esi_client/api/corporation_api.rb', line 1180

def get_corporations_corporation_id_roles_history(corporation_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_roles_history_with_http_info(corporation_id, opts)
  data
end

#get_corporations_corporation_id_roles_history_with_http_info(corporation_id, opts = {}) ⇒ Array<(Array<GetCorporationsCorporationIdRolesHistory200Ok>, Fixnum, Hash)>

Get corporation member roles history Return how roles have changed for a coporation&#39;s members, up to a month — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :page (Integer)

    Which page of results to return

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
# File 'lib/esi_client/api/corporation_api.rb', line 1195

def get_corporations_corporation_id_roles_history_with_http_info(corporation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_roles_history ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_roles_history"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_roles_history, must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v1/corporations/{corporation_id}/roles/history/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)

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

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'Array<GetCorporationsCorporationIdRolesHistory200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_roles_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_roles_with_http_info(corporation_id, opts = {}) ⇒ Array<(Array<GetCorporationsCorporationIdRoles200Ok>, Fixnum, Hash)>

Get corporation member roles Return the roles of all members if the character has the personnel manager role or any grantable role. — This route is cached for up to 3600 seconds

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
# File 'lib/esi_client/api/corporation_api.rb', line 1122

def get_corporations_corporation_id_roles_with_http_info(corporation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_roles ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_roles"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_roles, must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v1/corporations/{corporation_id}/roles/'.sub('{' + 'corporation_id' + '}', corporation_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?
  query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'Array<GetCorporationsCorporationIdRoles200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_shareholders(corporation_id, opts = {}) ⇒ Array<GetCorporationsCorporationIdShareholders200Ok>

Get corporation shareholders Return the current shareholders of a corporation. — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :page (Integer)

    Which page of results to return (default to 1)

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



1254
1255
1256
1257
# File 'lib/esi_client/api/corporation_api.rb', line 1254

def get_corporations_corporation_id_shareholders(corporation_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_shareholders_with_http_info(corporation_id, opts)
  data
end

#get_corporations_corporation_id_shareholders_with_http_info(corporation_id, opts = {}) ⇒ Array<(Array<GetCorporationsCorporationIdShareholders200Ok>, Fixnum, Hash)>

Get corporation shareholders Return the current shareholders of a corporation. — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :page (Integer)

    Which page of results to return

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
# File 'lib/esi_client/api/corporation_api.rb', line 1269

def get_corporations_corporation_id_shareholders_with_http_info(corporation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_shareholders ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_shareholders"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_shareholders, must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v1/corporations/{corporation_id}/shareholders/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)

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

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'Array<GetCorporationsCorporationIdShareholders200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_shareholders\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_standings(corporation_id, opts = {}) ⇒ Array<GetCorporationsCorporationIdStandings200Ok>

Get corporation standings Return corporation standings from agents, NPC corporations, and factions — This route is cached for up to 3600 seconds

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :page (Integer)

    Which page of results to return (default to 1)

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



1328
1329
1330
1331
# File 'lib/esi_client/api/corporation_api.rb', line 1328

def get_corporations_corporation_id_standings(corporation_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_standings_with_http_info(corporation_id, opts)
  data
end

#get_corporations_corporation_id_standings_with_http_info(corporation_id, opts = {}) ⇒ Array<(Array<GetCorporationsCorporationIdStandings200Ok>, Fixnum, Hash)>

Get corporation standings Return corporation standings from agents, NPC corporations, and factions — This route is cached for up to 3600 seconds

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :page (Integer)

    Which page of results to return

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
# File 'lib/esi_client/api/corporation_api.rb', line 1343

def get_corporations_corporation_id_standings_with_http_info(corporation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_standings ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_standings"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_standings, must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v1/corporations/{corporation_id}/standings/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)

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

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'Array<GetCorporationsCorporationIdStandings200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_standings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_starbases(corporation_id, opts = {}) ⇒ Array<GetCorporationsCorporationIdStarbases200Ok>

Get corporation starbases (POSes) Returns list of corporation starbases (POSes) — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :page (Integer)

    Which page of results to return (default to 1)

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



1402
1403
1404
1405
# File 'lib/esi_client/api/corporation_api.rb', line 1402

def get_corporations_corporation_id_starbases(corporation_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_starbases_with_http_info(corporation_id, opts)
  data
end

#get_corporations_corporation_id_starbases_starbase_id(corporation_id, starbase_id, system_id, opts = {}) ⇒ GetCorporationsCorporationIdStarbasesStarbaseIdOk

Get starbase (POS) detail Returns various settings and fuels of a starbase (POS) — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • starbase_id

    An EVE starbase (POS) ID

  • system_id

    The solar system this starbase (POS) is located in,

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



1477
1478
1479
1480
# File 'lib/esi_client/api/corporation_api.rb', line 1477

def get_corporations_corporation_id_starbases_starbase_id(corporation_id, starbase_id, system_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_starbases_starbase_id_with_http_info(corporation_id, starbase_id, system_id, opts)
  data
end

#get_corporations_corporation_id_starbases_starbase_id_with_http_info(corporation_id, starbase_id, system_id, opts = {}) ⇒ Array<(GetCorporationsCorporationIdStarbasesStarbaseIdOk, Fixnum, Hash)>

Get starbase (POS) detail Returns various settings and fuels of a starbase (POS) — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • starbase_id

    An EVE starbase (POS) ID

  • system_id

    The solar system this starbase (POS) is located in,

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
# File 'lib/esi_client/api/corporation_api.rb', line 1493

def get_corporations_corporation_id_starbases_starbase_id_with_http_info(corporation_id, starbase_id, system_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_starbases_starbase_id ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_starbases_starbase_id"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_starbases_starbase_id, must be greater than or equal to 1.'
  end

  # verify the required parameter 'starbase_id' is set
  if @api_client.config.client_side_validation && starbase_id.nil?
    fail ArgumentError, "Missing the required parameter 'starbase_id' when calling CorporationApi.get_corporations_corporation_id_starbases_starbase_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 CorporationApi.get_corporations_corporation_id_starbases_starbase_id"
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v1/corporations/{corporation_id}/starbases/{starbase_id}/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s).sub('{' + 'starbase_id' + '}', starbase_id.to_s)

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

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'GetCorporationsCorporationIdStarbasesStarbaseIdOk')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_starbases_starbase_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_starbases_with_http_info(corporation_id, opts = {}) ⇒ Array<(Array<GetCorporationsCorporationIdStarbases200Ok>, Fixnum, Hash)>

Get corporation starbases (POSes) Returns list of corporation starbases (POSes) — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :page (Integer)

    Which page of results to return

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
# File 'lib/esi_client/api/corporation_api.rb', line 1417

def get_corporations_corporation_id_starbases_with_http_info(corporation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_starbases ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_starbases"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_starbases, must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v1/corporations/{corporation_id}/starbases/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)

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

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'Array<GetCorporationsCorporationIdStarbases200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_starbases\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_structures(corporation_id, opts = {}) ⇒ Array<GetCorporationsCorporationIdStructures200Ok>

Get corporation structures Get a list of corporation structures. This route’s version includes the changes to structures detailed in this blog: www.eveonline.com/article/upwell-2.0-structures-changes-coming-on-february-13th — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): StationManager

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :language (String)

    Language to use in the response (default to en-us)

  • :page (Integer)

    Which page of results to return (default to 1)

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



1561
1562
1563
1564
# File 'lib/esi_client/api/corporation_api.rb', line 1561

def get_corporations_corporation_id_structures(corporation_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_structures_with_http_info(corporation_id, opts)
  data
end

#get_corporations_corporation_id_structures_with_http_info(corporation_id, opts = {}) ⇒ Array<(Array<GetCorporationsCorporationIdStructures200Ok>, Fixnum, Hash)>

Get corporation structures Get a list of corporation structures. This route&#39;s version includes the changes to structures detailed in this blog: www.eveonline.com/article/upwell-2.0-structures-changes-coming-on-february-13th — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): StationManager

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :language (String)

    Language to use in the response

  • :page (Integer)

    Which page of results to return

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
# File 'lib/esi_client/api/corporation_api.rb', line 1577

def get_corporations_corporation_id_structures_with_http_info(corporation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_structures ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_structures"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_structures, must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  if @api_client.config.client_side_validation && opts[:'language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh'].include?(opts[:'language'])
    fail ArgumentError, 'invalid value for "language", must be one of de, en-us, fr, ja, ru, zh'
  end
  # resource path
  local_var_path = '/v2/corporations/{corporation_id}/structures/'.sub('{' + 'corporation_id' + '}', corporation_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?
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
  query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil?
  query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'Array<GetCorporationsCorporationIdStructures200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_structures\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_titles(corporation_id, opts = {}) ⇒ Array<GetCorporationsCorporationIdTitles200Ok>

Get corporation titles Returns a corporation’s titles — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



1639
1640
1641
1642
# File 'lib/esi_client/api/corporation_api.rb', line 1639

def get_corporations_corporation_id_titles(corporation_id, opts = {})
  data, _status_code, _headers = get_corporations_corporation_id_titles_with_http_info(corporation_id, opts)
  data
end

#get_corporations_corporation_id_titles_with_http_info(corporation_id, opts = {}) ⇒ Array<(Array<GetCorporationsCorporationIdTitles200Ok>, Fixnum, Hash)>

Get corporation titles Returns a corporation&#39;s titles — This route is cached for up to 3600 seconds — Requires one of the following EVE corporation role(s): Director

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :token (String)

    Access token to use if unable to set a header

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
# File 'lib/esi_client/api/corporation_api.rb', line 1653

def get_corporations_corporation_id_titles_with_http_info(corporation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_titles ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_titles"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_titles, must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v1/corporations/{corporation_id}/titles/'.sub('{' + 'corporation_id' + '}', corporation_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?
  query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'Array<GetCorporationsCorporationIdTitles200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_titles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_corporation_id_with_http_info(corporation_id, opts = {}) ⇒ Array<(GetCorporationsCorporationIdOk, Fixnum, Hash)>

Get corporation information Public information about a corporation — This route is cached for up to 3600 seconds

Parameters:

  • corporation_id

    An EVE corporation ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# File 'lib/esi_client/api/corporation_api.rb', line 43

def get_corporations_corporation_id_with_http_info(corporation_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id ...'
  end
  # verify the required parameter 'corporation_id' is set
  if @api_client.config.client_side_validation && corporation_id.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id"
  end
  if @api_client.config.client_side_validation && corporation_id < 1
    fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id, must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v4/corporations/{corporation_id}/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)

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

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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 => 'GetCorporationsCorporationIdOk')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_names(corporation_ids, opts = {}) ⇒ Array<GetCorporationsNames200Ok>

Get corporation names Resolve a set of corporation IDs to corporation names — This route is cached for up to 3600 seconds

Parameters:

  • corporation_ids

    A comma separated list of corporation IDs

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:



1709
1710
1711
1712
# File 'lib/esi_client/api/corporation_api.rb', line 1709

def get_corporations_names(corporation_ids, opts = {})
  data, _status_code, _headers = get_corporations_names_with_http_info(corporation_ids, opts)
  data
end

#get_corporations_names_with_http_info(corporation_ids, opts = {}) ⇒ Array<(Array<GetCorporationsNames200Ok>, Fixnum, Hash)>

Get corporation names Resolve a set of corporation IDs to corporation names — This route is cached for up to 3600 seconds

Parameters:

  • corporation_ids

    A comma separated list of corporation IDs

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:

  • (Array<(Array<GetCorporationsNames200Ok>, Fixnum, Hash)>)

    Array<GetCorporationsNames200Ok> data, response status code and response headers



1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
# File 'lib/esi_client/api/corporation_api.rb', line 1722

def get_corporations_names_with_http_info(corporation_ids, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_names ...'
  end
  # verify the required parameter 'corporation_ids' is set
  if @api_client.config.client_side_validation && corporation_ids.nil?
    fail ArgumentError, "Missing the required parameter 'corporation_ids' when calling CorporationApi.get_corporations_names"
  end
  if @api_client.config.client_side_validation && corporation_ids.length > 100
    fail ArgumentError, 'invalid value for "corporation_ids" when calling CorporationApi.get_corporations_names, number of items must be less than or equal to 100.'
  end

  if @api_client.config.client_side_validation && corporation_ids.length < 1
    fail ArgumentError, 'invalid value for "corporation_ids" when calling CorporationApi.get_corporations_names, number of items must be greater than or equal to 1.'
  end

  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v2/corporations/names/'

  # query parameters
  query_params = {}
  query_params[:'corporation_ids'] = @api_client.build_collection_param(corporation_ids, :csv)
  query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
  query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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<GetCorporationsNames200Ok>')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CorporationApi#get_corporations_names\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_corporations_npccorps(opts = {}) ⇒ Array<Integer>

Get npc corporations Get a list of npc corporations — This route expires daily at 11:05

Parameters:

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from (default to tranquility)

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:

  • (Array<Integer>)


1781
1782
1783
1784
# File 'lib/esi_client/api/corporation_api.rb', line 1781

def get_corporations_npccorps(opts = {})
  data, _status_code, _headers = get_corporations_npccorps_with_http_info(opts)
  data
end

#get_corporations_npccorps_with_http_info(opts = {}) ⇒ Array<(Array<Integer>, Fixnum, Hash)>

Get npc corporations Get a list of npc corporations — This route expires daily at 11:05

Parameters:

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :datasource (String)

    The server name you would like data from

  • :user_agent (String)

    Client identifier, takes precedence over headers

  • :x_user_agent (String)

    Client identifier, takes precedence over User-Agent

Returns:

  • (Array<(Array<Integer>, Fixnum, Hash)>)

    Array<Integer> data, response status code and response headers



1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
# File 'lib/esi_client/api/corporation_api.rb', line 1793

def get_corporations_npccorps_with_http_info(opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_npccorps ...'
  end
  if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
    fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
  end
  # resource path
  local_var_path = '/v1/corporations/npccorps/'

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

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].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: CorporationApi#get_corporations_npccorps\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end