esi-sdk 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,11 +31,41 @@ module ESI
31
31
  #
32
32
  # @see https://esi.evetech.net/ui/#/Industry/get_characters_character_id_industry_jobs
33
33
  def get_character_industry_jobs(character_id:, include_completed: nil, headers: {}, params: {})
34
- params.merge!("include_completed" => include_completed)
35
- get("/characters/#{character_id}/industry/jobs/", headers: headers, params: params).json
34
+ get_character_industry_jobs_raw(character_id: character_id, include_completed: include_completed, headers: headers, params: params).json
36
35
  end
37
36
  alias get_characters_character_id_industry_jobs get_character_industry_jobs
38
37
 
38
+ # List industry jobs placed by a character.
39
+ #
40
+ # This endpoint is cached for up to 300 seconds.
41
+ #
42
+ # This endpoint requires authorization (see {ESI::Client#authorize}).
43
+ #
44
+ # @esi_scope esi-industry.read_character_jobs.v1
45
+ #
46
+ # @esi_version dev
47
+ # @esi_version legacy
48
+ # @esi_version v1
49
+ #
50
+ # @param character_id [Integer] An EVE character ID
51
+ # @param include_completed [Boolean] Whether to retrieve completed character industry jobs. Only includes jobs from the past 90 days
52
+ # @param params [Hash] Additional query string parameters
53
+ # @param headers [Hash] Additional headers
54
+ #
55
+ # @raise [ESI::Errors::BadRequestError] Bad request
56
+ # @raise [ESI::Errors::UnauthorizedError] Unauthorized
57
+ # @raise [ESI::Errors::ForbiddenError] Forbidden
58
+ # @raise [ESI::Errors::ErrorLimitedError] Error limited
59
+ # @raise [ESI::Errors::InternalServerError] Internal server error
60
+ # @raise [ESI::Errors::ServiceUnavailableError] Service unavailable
61
+ # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
62
+ #
63
+ # @see https://esi.evetech.net/ui/#/Industry/get_characters_character_id_industry_jobs
64
+ def get_character_industry_jobs_raw(character_id:, include_completed: nil, headers: {}, params: {})
65
+ params.merge!("include_completed" => include_completed)
66
+ get("/characters/#{character_id}/industry/jobs/", headers: headers, params: params)
67
+ end
68
+
39
69
  # Paginated record of all mining done by a character for the past 30 days.
40
70
  #
41
71
  # This endpoint is cached for up to 600 seconds.
@@ -62,11 +92,40 @@ module ESI
62
92
  #
63
93
  # @see https://esi.evetech.net/ui/#/Industry/get_characters_character_id_mining
64
94
  def get_character_mining(character_id:, headers: {}, params: {})
65
- responses = get("/characters/#{character_id}/mining/", headers: headers, params: params)
95
+ responses = get_character_mining_raw(character_id: character_id, headers: headers, params: params)
66
96
  responses.map(&:json).reduce([], :concat)
67
97
  end
68
98
  alias get_characters_character_id_mining get_character_mining
69
99
 
100
+ # Paginated record of all mining done by a character for the past 30 days.
101
+ #
102
+ # This endpoint is cached for up to 600 seconds.
103
+ #
104
+ # This endpoint requires authorization (see {ESI::Client#authorize}).
105
+ #
106
+ # @esi_scope esi-industry.read_character_mining.v1
107
+ #
108
+ # @esi_version dev
109
+ # @esi_version legacy
110
+ # @esi_version v1
111
+ #
112
+ # @param character_id [Integer] An EVE character ID
113
+ # @param params [Hash] Additional query string parameters
114
+ # @param headers [Hash] Additional headers
115
+ #
116
+ # @raise [ESI::Errors::BadRequestError] Bad request
117
+ # @raise [ESI::Errors::UnauthorizedError] Unauthorized
118
+ # @raise [ESI::Errors::ForbiddenError] Forbidden
119
+ # @raise [ESI::Errors::ErrorLimitedError] Error limited
120
+ # @raise [ESI::Errors::InternalServerError] Internal server error
121
+ # @raise [ESI::Errors::ServiceUnavailableError] Service unavailable
122
+ # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
123
+ #
124
+ # @see https://esi.evetech.net/ui/#/Industry/get_characters_character_id_mining
125
+ def get_character_mining_raw(character_id:, headers: {}, params: {})
126
+ get("/characters/#{character_id}/mining/", headers: headers, params: params)
127
+ end
128
+
70
129
  # List industry jobs run by a corporation.
71
130
  #
72
131
  # This endpoint is cached for up to 300 seconds.
@@ -95,11 +154,42 @@ module ESI
95
154
  # @see https://esi.evetech.net/ui/#/Industry/get_corporations_corporation_id_industry_jobs
96
155
  def get_corporation_industry_jobs(corporation_id:, include_completed: nil, headers: {}, params: {})
97
156
  params.merge!("include_completed" => include_completed)
98
- responses = get("/corporations/#{corporation_id}/industry/jobs/", headers: headers, params: params)
157
+ responses = get_corporation_industry_jobs_raw(corporation_id: corporation_id, include_completed: include_completed, headers: headers, params: params)
99
158
  responses.map(&:json).reduce([], :concat)
100
159
  end
101
160
  alias get_corporations_corporation_id_industry_jobs get_corporation_industry_jobs
102
161
 
162
+ # List industry jobs run by a corporation.
163
+ #
164
+ # This endpoint is cached for up to 300 seconds.
165
+ #
166
+ # This endpoint requires authorization (see {ESI::Client#authorize}).
167
+ #
168
+ # @esi_scope esi-industry.read_corporation_jobs.v1
169
+ #
170
+ # @esi_version dev
171
+ # @esi_version legacy
172
+ # @esi_version v1
173
+ #
174
+ # @param corporation_id [Integer] An EVE corporation ID
175
+ # @param include_completed [Boolean] Whether to retrieve completed corporation industry jobs. Only includes jobs from the past 90 days
176
+ # @param params [Hash] Additional query string parameters
177
+ # @param headers [Hash] Additional headers
178
+ #
179
+ # @raise [ESI::Errors::BadRequestError] Bad request
180
+ # @raise [ESI::Errors::UnauthorizedError] Unauthorized
181
+ # @raise [ESI::Errors::ForbiddenError] Forbidden
182
+ # @raise [ESI::Errors::ErrorLimitedError] Error limited
183
+ # @raise [ESI::Errors::InternalServerError] Internal server error
184
+ # @raise [ESI::Errors::ServiceUnavailableError] Service unavailable
185
+ # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
186
+ #
187
+ # @see https://esi.evetech.net/ui/#/Industry/get_corporations_corporation_id_industry_jobs
188
+ def get_corporation_industry_jobs_raw(corporation_id:, include_completed: nil, headers: {}, params: {})
189
+ params.merge!("include_completed" => include_completed)
190
+ get("/corporations/#{corporation_id}/industry/jobs/", headers: headers, params: params)
191
+ end
192
+
103
193
  # Extraction timers for all moon chunks being extracted by refineries belonging to a corporation.
104
194
  #
105
195
  # This endpoint is cached for up to 1800 seconds.
@@ -126,11 +216,40 @@ module ESI
126
216
  #
127
217
  # @see https://esi.evetech.net/ui/#/Industry/get_corporation_corporation_id_mining_extractions
128
218
  def get_corporation_mining_extractions(corporation_id:, headers: {}, params: {})
129
- responses = get("/corporation/#{corporation_id}/mining/extractions/", headers: headers, params: params)
219
+ responses = get_corporation_mining_extractions_raw(corporation_id: corporation_id, headers: headers, params: params)
130
220
  responses.map(&:json).reduce([], :concat)
131
221
  end
132
222
  alias get_corporation_corporation_id_mining_extractions get_corporation_mining_extractions
133
223
 
224
+ # Extraction timers for all moon chunks being extracted by refineries belonging to a corporation.
225
+ #
226
+ # This endpoint is cached for up to 1800 seconds.
227
+ #
228
+ # This endpoint requires authorization (see {ESI::Client#authorize}).
229
+ #
230
+ # @esi_scope esi-industry.read_corporation_mining.v1
231
+ #
232
+ # @esi_version dev
233
+ # @esi_version legacy
234
+ # @esi_version v1
235
+ #
236
+ # @param corporation_id [Integer] An EVE corporation ID
237
+ # @param params [Hash] Additional query string parameters
238
+ # @param headers [Hash] Additional headers
239
+ #
240
+ # @raise [ESI::Errors::BadRequestError] Bad request
241
+ # @raise [ESI::Errors::UnauthorizedError] Unauthorized
242
+ # @raise [ESI::Errors::ForbiddenError] Forbidden
243
+ # @raise [ESI::Errors::ErrorLimitedError] Error limited
244
+ # @raise [ESI::Errors::InternalServerError] Internal server error
245
+ # @raise [ESI::Errors::ServiceUnavailableError] Service unavailable
246
+ # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
247
+ #
248
+ # @see https://esi.evetech.net/ui/#/Industry/get_corporation_corporation_id_mining_extractions
249
+ def get_corporation_mining_extractions_raw(corporation_id:, headers: {}, params: {})
250
+ get("/corporation/#{corporation_id}/mining/extractions/", headers: headers, params: params)
251
+ end
252
+
134
253
  # Paginated record of all mining seen by an observer.
135
254
  #
136
255
  # This endpoint is cached for up to 3600 seconds.
@@ -158,11 +277,41 @@ module ESI
158
277
  #
159
278
  # @see https://esi.evetech.net/ui/#/Industry/get_corporation_corporation_id_mining_observers_observer_id
160
279
  def get_corporation_mining_observer(corporation_id:, observer_id:, headers: {}, params: {})
161
- responses = get("/corporation/#{corporation_id}/mining/observers/#{observer_id}/", headers: headers, params: params)
280
+ responses = get_corporation_mining_observer_raw(corporation_id: corporation_id, observer_id: observer_id, headers: headers, params: params)
162
281
  responses.map(&:json).reduce([], :concat)
163
282
  end
164
283
  alias get_corporation_corporation_id_mining_observers_observer_id get_corporation_mining_observer
165
284
 
285
+ # Paginated record of all mining seen by an observer.
286
+ #
287
+ # This endpoint is cached for up to 3600 seconds.
288
+ #
289
+ # This endpoint requires authorization (see {ESI::Client#authorize}).
290
+ #
291
+ # @esi_scope esi-industry.read_corporation_mining.v1
292
+ #
293
+ # @esi_version dev
294
+ # @esi_version legacy
295
+ # @esi_version v1
296
+ #
297
+ # @param corporation_id [Integer] An EVE corporation ID
298
+ # @param observer_id [Integer] A mining observer id
299
+ # @param params [Hash] Additional query string parameters
300
+ # @param headers [Hash] Additional headers
301
+ #
302
+ # @raise [ESI::Errors::BadRequestError] Bad request
303
+ # @raise [ESI::Errors::UnauthorizedError] Unauthorized
304
+ # @raise [ESI::Errors::ForbiddenError] Forbidden
305
+ # @raise [ESI::Errors::ErrorLimitedError] Error limited
306
+ # @raise [ESI::Errors::InternalServerError] Internal server error
307
+ # @raise [ESI::Errors::ServiceUnavailableError] Service unavailable
308
+ # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
309
+ #
310
+ # @see https://esi.evetech.net/ui/#/Industry/get_corporation_corporation_id_mining_observers_observer_id
311
+ def get_corporation_mining_observer_raw(corporation_id:, observer_id:, headers: {}, params: {})
312
+ get("/corporation/#{corporation_id}/mining/observers/#{observer_id}/", headers: headers, params: params)
313
+ end
314
+
166
315
  # Paginated list of all entities capable of observing and recording mining for a corporation.
167
316
  #
168
317
  # This endpoint is cached for up to 3600 seconds.
@@ -189,11 +338,40 @@ module ESI
189
338
  #
190
339
  # @see https://esi.evetech.net/ui/#/Industry/get_corporation_corporation_id_mining_observers
191
340
  def get_corporation_mining_observers(corporation_id:, headers: {}, params: {})
192
- responses = get("/corporation/#{corporation_id}/mining/observers/", headers: headers, params: params)
341
+ responses = get_corporation_mining_observers_raw(corporation_id: corporation_id, headers: headers, params: params)
193
342
  responses.map(&:json).reduce([], :concat)
194
343
  end
195
344
  alias get_corporation_corporation_id_mining_observers get_corporation_mining_observers
196
345
 
346
+ # Paginated list of all entities capable of observing and recording mining for a corporation.
347
+ #
348
+ # This endpoint is cached for up to 3600 seconds.
349
+ #
350
+ # This endpoint requires authorization (see {ESI::Client#authorize}).
351
+ #
352
+ # @esi_scope esi-industry.read_corporation_mining.v1
353
+ #
354
+ # @esi_version dev
355
+ # @esi_version legacy
356
+ # @esi_version v1
357
+ #
358
+ # @param corporation_id [Integer] An EVE corporation ID
359
+ # @param params [Hash] Additional query string parameters
360
+ # @param headers [Hash] Additional headers
361
+ #
362
+ # @raise [ESI::Errors::BadRequestError] Bad request
363
+ # @raise [ESI::Errors::UnauthorizedError] Unauthorized
364
+ # @raise [ESI::Errors::ForbiddenError] Forbidden
365
+ # @raise [ESI::Errors::ErrorLimitedError] Error limited
366
+ # @raise [ESI::Errors::InternalServerError] Internal server error
367
+ # @raise [ESI::Errors::ServiceUnavailableError] Service unavailable
368
+ # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
369
+ #
370
+ # @see https://esi.evetech.net/ui/#/Industry/get_corporation_corporation_id_mining_observers
371
+ def get_corporation_mining_observers_raw(corporation_id:, headers: {}, params: {})
372
+ get("/corporation/#{corporation_id}/mining/observers/", headers: headers, params: params)
373
+ end
374
+
197
375
  # Return a list of industry facilities.
198
376
  #
199
377
  # This endpoint is cached for up to 3600 seconds.
@@ -213,7 +391,29 @@ module ESI
213
391
  #
214
392
  # @see https://esi.evetech.net/ui/#/Industry/get_industry_facilities
215
393
  def get_industry_facilities(headers: {}, params: {})
216
- get("/industry/facilities/", headers: headers, params: params).json
394
+ get_industry_facilities_raw(headers: headers, params: params).json
395
+ end
396
+
397
+ # Return a list of industry facilities.
398
+ #
399
+ # This endpoint is cached for up to 3600 seconds.
400
+ #
401
+ # @esi_version dev
402
+ # @esi_version legacy
403
+ # @esi_version v1
404
+ #
405
+ # @param params [Hash] Additional query string parameters
406
+ # @param headers [Hash] Additional headers
407
+ #
408
+ # @raise [ESI::Errors::BadRequestError] Bad request
409
+ # @raise [ESI::Errors::ErrorLimitedError] Error limited
410
+ # @raise [ESI::Errors::InternalServerError] Internal server error
411
+ # @raise [ESI::Errors::ServiceUnavailableError] Service unavailable
412
+ # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
413
+ #
414
+ # @see https://esi.evetech.net/ui/#/Industry/get_industry_facilities
415
+ def get_industry_facilities_raw(headers: {}, params: {})
416
+ get("/industry/facilities/", headers: headers, params: params)
217
417
  end
218
418
 
219
419
  # Return cost indices for solar systems.
@@ -235,7 +435,29 @@ module ESI
235
435
  #
236
436
  # @see https://esi.evetech.net/ui/#/Industry/get_industry_systems
237
437
  def get_industry_systems(headers: {}, params: {})
238
- get("/industry/systems/", headers: headers, params: params).json
438
+ get_industry_systems_raw(headers: headers, params: params).json
439
+ end
440
+
441
+ # Return cost indices for solar systems.
442
+ #
443
+ # This endpoint is cached for up to 3600 seconds.
444
+ #
445
+ # @esi_version dev
446
+ # @esi_version legacy
447
+ # @esi_version v1
448
+ #
449
+ # @param params [Hash] Additional query string parameters
450
+ # @param headers [Hash] Additional headers
451
+ #
452
+ # @raise [ESI::Errors::BadRequestError] Bad request
453
+ # @raise [ESI::Errors::ErrorLimitedError] Error limited
454
+ # @raise [ESI::Errors::InternalServerError] Internal server error
455
+ # @raise [ESI::Errors::ServiceUnavailableError] Service unavailable
456
+ # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
457
+ #
458
+ # @see https://esi.evetech.net/ui/#/Industry/get_industry_systems
459
+ def get_industry_systems_raw(headers: {}, params: {})
460
+ get("/industry/systems/", headers: headers, params: params)
239
461
  end
240
462
  end
241
463
  end
@@ -23,7 +23,29 @@ module ESI
23
23
  #
24
24
  # @see https://esi.evetech.net/ui/#/Insurance/get_insurance_prices
25
25
  def get_insurance_prices(headers: {}, params: {})
26
- get("/insurance/prices/", headers: headers, params: params).json
26
+ get_insurance_prices_raw(headers: headers, params: params).json
27
+ end
28
+
29
+ # Return available insurance levels for all ship types.
30
+ #
31
+ # This endpoint is cached for up to 3600 seconds.
32
+ #
33
+ # @esi_version dev
34
+ # @esi_version legacy
35
+ # @esi_version v1
36
+ #
37
+ # @param params [Hash] Additional query string parameters
38
+ # @param headers [Hash] Additional headers
39
+ #
40
+ # @raise [ESI::Errors::BadRequestError] Bad request
41
+ # @raise [ESI::Errors::ErrorLimitedError] Error limited
42
+ # @raise [ESI::Errors::InternalServerError] Internal server error
43
+ # @raise [ESI::Errors::ServiceUnavailableError] Service unavailable
44
+ # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
45
+ #
46
+ # @see https://esi.evetech.net/ui/#/Insurance/get_insurance_prices
47
+ def get_insurance_prices_raw(headers: {}, params: {})
48
+ get("/insurance/prices/", headers: headers, params: params)
27
49
  end
28
50
  end
29
51
  end
@@ -30,11 +30,40 @@ module ESI
30
30
  #
31
31
  # @see https://esi.evetech.net/ui/#/Killmails/get_characters_character_id_killmails_recent
32
32
  def get_character_killmails_recent(character_id:, headers: {}, params: {})
33
- responses = get("/characters/#{character_id}/killmails/recent/", headers: headers, params: params)
33
+ responses = get_character_killmails_recent_raw(character_id: character_id, headers: headers, params: params)
34
34
  responses.map(&:json).reduce([], :concat)
35
35
  end
36
36
  alias get_characters_character_id_killmails_recent get_character_killmails_recent
37
37
 
38
+ # Return a list of a character's kills and losses going back 90 days.
39
+ #
40
+ # This endpoint is cached for up to 300 seconds.
41
+ #
42
+ # This endpoint requires authorization (see {ESI::Client#authorize}).
43
+ #
44
+ # @esi_scope esi-killmails.read_killmails.v1
45
+ #
46
+ # @esi_version dev
47
+ # @esi_version legacy
48
+ # @esi_version v1
49
+ #
50
+ # @param character_id [Integer] An EVE character ID
51
+ # @param params [Hash] Additional query string parameters
52
+ # @param headers [Hash] Additional headers
53
+ #
54
+ # @raise [ESI::Errors::BadRequestError] Bad request
55
+ # @raise [ESI::Errors::UnauthorizedError] Unauthorized
56
+ # @raise [ESI::Errors::ForbiddenError] Forbidden
57
+ # @raise [ESI::Errors::ErrorLimitedError] Error limited
58
+ # @raise [ESI::Errors::InternalServerError] Internal server error
59
+ # @raise [ESI::Errors::ServiceUnavailableError] Service unavailable
60
+ # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
61
+ #
62
+ # @see https://esi.evetech.net/ui/#/Killmails/get_characters_character_id_killmails_recent
63
+ def get_character_killmails_recent_raw(character_id:, headers: {}, params: {})
64
+ get("/characters/#{character_id}/killmails/recent/", headers: headers, params: params)
65
+ end
66
+
38
67
  # Get a list of a corporation's kills and losses going back 90 days.
39
68
  #
40
69
  # This endpoint is cached for up to 300 seconds.
@@ -61,11 +90,40 @@ module ESI
61
90
  #
62
91
  # @see https://esi.evetech.net/ui/#/Killmails/get_corporations_corporation_id_killmails_recent
63
92
  def get_corporation_killmails_recent(corporation_id:, headers: {}, params: {})
64
- responses = get("/corporations/#{corporation_id}/killmails/recent/", headers: headers, params: params)
93
+ responses = get_corporation_killmails_recent_raw(corporation_id: corporation_id, headers: headers, params: params)
65
94
  responses.map(&:json).reduce([], :concat)
66
95
  end
67
96
  alias get_corporations_corporation_id_killmails_recent get_corporation_killmails_recent
68
97
 
98
+ # Get a list of a corporation's kills and losses going back 90 days.
99
+ #
100
+ # This endpoint is cached for up to 300 seconds.
101
+ #
102
+ # This endpoint requires authorization (see {ESI::Client#authorize}).
103
+ #
104
+ # @esi_scope esi-killmails.read_corporation_killmails.v1
105
+ #
106
+ # @esi_version dev
107
+ # @esi_version legacy
108
+ # @esi_version v1
109
+ #
110
+ # @param corporation_id [Integer] An EVE corporation ID
111
+ # @param params [Hash] Additional query string parameters
112
+ # @param headers [Hash] Additional headers
113
+ #
114
+ # @raise [ESI::Errors::BadRequestError] Bad request
115
+ # @raise [ESI::Errors::UnauthorizedError] Unauthorized
116
+ # @raise [ESI::Errors::ForbiddenError] Forbidden
117
+ # @raise [ESI::Errors::ErrorLimitedError] Error limited
118
+ # @raise [ESI::Errors::InternalServerError] Internal server error
119
+ # @raise [ESI::Errors::ServiceUnavailableError] Service unavailable
120
+ # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
121
+ #
122
+ # @see https://esi.evetech.net/ui/#/Killmails/get_corporations_corporation_id_killmails_recent
123
+ def get_corporation_killmails_recent_raw(corporation_id:, headers: {}, params: {})
124
+ get("/corporations/#{corporation_id}/killmails/recent/", headers: headers, params: params)
125
+ end
126
+
69
127
  # Return a single killmail from its ID and hash.
70
128
  #
71
129
  # This endpoint is cached for up to 30758400 seconds.
@@ -88,10 +146,35 @@ module ESI
88
146
  #
89
147
  # @see https://esi.evetech.net/ui/#/Killmails/get_killmails_killmail_id_killmail_hash
90
148
  def get_killmail_killmail_hash(killmail_hash:, killmail_id:, headers: {}, params: {})
91
- get("/killmails/#{killmail_id}/#{killmail_hash}/", headers: headers, params: params).json
149
+ get_killmail_killmail_hash_raw(killmail_hash: killmail_hash, killmail_id: killmail_id, headers: headers, params: params).json
92
150
  end
93
151
  alias get_killmail get_killmail_killmail_hash
94
152
  alias get_killmails_killmail_id_killmail_hash get_killmail_killmail_hash
153
+
154
+ # Return a single killmail from its ID and hash.
155
+ #
156
+ # This endpoint is cached for up to 30758400 seconds.
157
+ #
158
+ # @esi_version dev
159
+ # @esi_version legacy
160
+ # @esi_version v1
161
+ #
162
+ # @param killmail_hash [String] The killmail hash for verification
163
+ # @param killmail_id [Integer] The killmail ID to be queried
164
+ # @param params [Hash] Additional query string parameters
165
+ # @param headers [Hash] Additional headers
166
+ #
167
+ # @raise [ESI::Errors::BadRequestError] Bad request
168
+ # @raise [ESI::Errors::ErrorLimitedError] Error limited
169
+ # @raise [ESI::Errors::UnprocessableEntityError] Invalid killmail_id and/or killmail_hash
170
+ # @raise [ESI::Errors::InternalServerError] Internal server error
171
+ # @raise [ESI::Errors::ServiceUnavailableError] Service unavailable
172
+ # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
173
+ #
174
+ # @see https://esi.evetech.net/ui/#/Killmails/get_killmails_killmail_id_killmail_hash
175
+ def get_killmail_killmail_hash_raw(killmail_hash:, killmail_id:, headers: {}, params: {})
176
+ get("/killmails/#{killmail_id}/#{killmail_hash}/", headers: headers, params: params)
177
+ end
95
178
  end
96
179
  end
97
180
  end
@@ -31,10 +31,40 @@ module ESI
31
31
  #
32
32
  # @see https://esi.evetech.net/ui/#/Location/get_characters_character_id_location
33
33
  def get_character_location(character_id:, headers: {}, params: {})
34
- get("/characters/#{character_id}/location/", headers: headers, params: params).json
34
+ get_character_location_raw(character_id: character_id, headers: headers, params: params).json
35
35
  end
36
36
  alias get_characters_character_id_location get_character_location
37
37
 
38
+ # Information about the characters current location. Returns the current solar system id, and also the current station or structure ID if applicable.
39
+ #
40
+ # This endpoint is cached for up to 5 seconds.
41
+ #
42
+ # This endpoint requires authorization (see {ESI::Client#authorize}).
43
+ #
44
+ # @esi_scope esi-location.read_location.v1
45
+ #
46
+ # @esi_version dev
47
+ # @esi_version legacy
48
+ # @esi_version v1
49
+ # @esi_version v2
50
+ #
51
+ # @param character_id [Integer] An EVE character ID
52
+ # @param params [Hash] Additional query string parameters
53
+ # @param headers [Hash] Additional headers
54
+ #
55
+ # @raise [ESI::Errors::BadRequestError] Bad request
56
+ # @raise [ESI::Errors::UnauthorizedError] Unauthorized
57
+ # @raise [ESI::Errors::ForbiddenError] Forbidden
58
+ # @raise [ESI::Errors::ErrorLimitedError] Error limited
59
+ # @raise [ESI::Errors::InternalServerError] Internal server error
60
+ # @raise [ESI::Errors::ServiceUnavailableError] Service unavailable
61
+ # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
62
+ #
63
+ # @see https://esi.evetech.net/ui/#/Location/get_characters_character_id_location
64
+ def get_character_location_raw(character_id:, headers: {}, params: {})
65
+ get("/characters/#{character_id}/location/", headers: headers, params: params)
66
+ end
67
+
38
68
  # Checks if the character is currently online.
39
69
  #
40
70
  # This endpoint is cached for up to 60 seconds.
@@ -61,10 +91,39 @@ module ESI
61
91
  #
62
92
  # @see https://esi.evetech.net/ui/#/Location/get_characters_character_id_online
63
93
  def get_character_online(character_id:, headers: {}, params: {})
64
- get("/characters/#{character_id}/online/", headers: headers, params: params).json
94
+ get_character_online_raw(character_id: character_id, headers: headers, params: params).json
65
95
  end
66
96
  alias get_characters_character_id_online get_character_online
67
97
 
98
+ # Checks if the character is currently online.
99
+ #
100
+ # This endpoint is cached for up to 60 seconds.
101
+ #
102
+ # This endpoint requires authorization (see {ESI::Client#authorize}).
103
+ #
104
+ # @esi_scope esi-location.read_online.v1
105
+ #
106
+ # @esi_version dev
107
+ # @esi_version v2
108
+ # @esi_version v3
109
+ #
110
+ # @param character_id [Integer] An EVE character ID
111
+ # @param params [Hash] Additional query string parameters
112
+ # @param headers [Hash] Additional headers
113
+ #
114
+ # @raise [ESI::Errors::BadRequestError] Bad request
115
+ # @raise [ESI::Errors::UnauthorizedError] Unauthorized
116
+ # @raise [ESI::Errors::ForbiddenError] Forbidden
117
+ # @raise [ESI::Errors::ErrorLimitedError] Error limited
118
+ # @raise [ESI::Errors::InternalServerError] Internal server error
119
+ # @raise [ESI::Errors::ServiceUnavailableError] Service unavailable
120
+ # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
121
+ #
122
+ # @see https://esi.evetech.net/ui/#/Location/get_characters_character_id_online
123
+ def get_character_online_raw(character_id:, headers: {}, params: {})
124
+ get("/characters/#{character_id}/online/", headers: headers, params: params)
125
+ end
126
+
68
127
  # Get the current ship type, name and id.
69
128
  #
70
129
  # This endpoint is cached for up to 5 seconds.
@@ -92,9 +151,39 @@ module ESI
92
151
  #
93
152
  # @see https://esi.evetech.net/ui/#/Location/get_characters_character_id_ship
94
153
  def get_character_ship(character_id:, headers: {}, params: {})
95
- get("/characters/#{character_id}/ship/", headers: headers, params: params).json
154
+ get_character_ship_raw(character_id: character_id, headers: headers, params: params).json
96
155
  end
97
156
  alias get_characters_character_id_ship get_character_ship
157
+
158
+ # Get the current ship type, name and id.
159
+ #
160
+ # This endpoint is cached for up to 5 seconds.
161
+ #
162
+ # This endpoint requires authorization (see {ESI::Client#authorize}).
163
+ #
164
+ # @esi_scope esi-location.read_ship_type.v1
165
+ #
166
+ # @esi_version dev
167
+ # @esi_version legacy
168
+ # @esi_version v1
169
+ # @esi_version v2
170
+ #
171
+ # @param character_id [Integer] An EVE character ID
172
+ # @param params [Hash] Additional query string parameters
173
+ # @param headers [Hash] Additional headers
174
+ #
175
+ # @raise [ESI::Errors::BadRequestError] Bad request
176
+ # @raise [ESI::Errors::UnauthorizedError] Unauthorized
177
+ # @raise [ESI::Errors::ForbiddenError] Forbidden
178
+ # @raise [ESI::Errors::ErrorLimitedError] Error limited
179
+ # @raise [ESI::Errors::InternalServerError] Internal server error
180
+ # @raise [ESI::Errors::ServiceUnavailableError] Service unavailable
181
+ # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
182
+ #
183
+ # @see https://esi.evetech.net/ui/#/Location/get_characters_character_id_ship
184
+ def get_character_ship_raw(character_id:, headers: {}, params: {})
185
+ get("/characters/#{character_id}/ship/", headers: headers, params: params)
186
+ end
98
187
  end
99
188
  end
100
189
  end
@@ -30,10 +30,39 @@ module ESI
30
30
  #
31
31
  # @see https://esi.evetech.net/ui/#/Loyalty/get_characters_character_id_loyalty_points
32
32
  def get_character_loyalty_points(character_id:, headers: {}, params: {})
33
- get("/characters/#{character_id}/loyalty/points/", headers: headers, params: params).json
33
+ get_character_loyalty_points_raw(character_id: character_id, headers: headers, params: params).json
34
34
  end
35
35
  alias get_characters_character_id_loyalty_points get_character_loyalty_points
36
36
 
37
+ # Return a list of loyalty points for all corporations the character has worked for.
38
+ #
39
+ # This endpoint is cached for up to 3600 seconds.
40
+ #
41
+ # This endpoint requires authorization (see {ESI::Client#authorize}).
42
+ #
43
+ # @esi_scope esi-characters.read_loyalty.v1
44
+ #
45
+ # @esi_version dev
46
+ # @esi_version legacy
47
+ # @esi_version v1
48
+ #
49
+ # @param character_id [Integer] An EVE character ID
50
+ # @param params [Hash] Additional query string parameters
51
+ # @param headers [Hash] Additional headers
52
+ #
53
+ # @raise [ESI::Errors::BadRequestError] Bad request
54
+ # @raise [ESI::Errors::UnauthorizedError] Unauthorized
55
+ # @raise [ESI::Errors::ForbiddenError] Forbidden
56
+ # @raise [ESI::Errors::ErrorLimitedError] Error limited
57
+ # @raise [ESI::Errors::InternalServerError] Internal server error
58
+ # @raise [ESI::Errors::ServiceUnavailableError] Service unavailable
59
+ # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
60
+ #
61
+ # @see https://esi.evetech.net/ui/#/Loyalty/get_characters_character_id_loyalty_points
62
+ def get_character_loyalty_points_raw(character_id:, headers: {}, params: {})
63
+ get("/characters/#{character_id}/loyalty/points/", headers: headers, params: params)
64
+ end
65
+
37
66
  # Return a list of offers from a specific corporation's loyalty store.
38
67
  #
39
68
  # @esi_version dev
@@ -53,9 +82,31 @@ module ESI
53
82
  #
54
83
  # @see https://esi.evetech.net/ui/#/Loyalty/get_loyalty_stores_corporation_id_offers
55
84
  def get_loyalty_stores_corporation_offers(corporation_id:, headers: {}, params: {})
56
- get("/loyalty/stores/#{corporation_id}/offers/", headers: headers, params: params).json
85
+ get_loyalty_stores_corporation_offers_raw(corporation_id: corporation_id, headers: headers, params: params).json
57
86
  end
58
87
  alias get_loyalty_stores_corporation_id_offers get_loyalty_stores_corporation_offers
88
+
89
+ # Return a list of offers from a specific corporation's loyalty store.
90
+ #
91
+ # @esi_version dev
92
+ # @esi_version legacy
93
+ # @esi_version v1
94
+ #
95
+ # @param corporation_id [Integer] An EVE corporation ID
96
+ # @param params [Hash] Additional query string parameters
97
+ # @param headers [Hash] Additional headers
98
+ #
99
+ # @raise [ESI::Errors::BadRequestError] Bad request
100
+ # @raise [ESI::Errors::NotFoundError] No loyalty point store found for the provided corporation
101
+ # @raise [ESI::Errors::ErrorLimitedError] Error limited
102
+ # @raise [ESI::Errors::InternalServerError] Internal server error
103
+ # @raise [ESI::Errors::ServiceUnavailableError] Service unavailable
104
+ # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
105
+ #
106
+ # @see https://esi.evetech.net/ui/#/Loyalty/get_loyalty_stores_corporation_id_offers
107
+ def get_loyalty_stores_corporation_offers_raw(corporation_id:, headers: {}, params: {})
108
+ get("/loyalty/stores/#{corporation_id}/offers/", headers: headers, params: params)
109
+ end
59
110
  end
60
111
  end
61
112
  end