eve_online 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/.mdlrc +1 -0
  3. data/.travis.yml +11 -2
  4. data/CHANGELOG.md +43 -17
  5. data/Gemfile.lock +37 -28
  6. data/Gemfile.mutant +0 -4
  7. data/Gemfile.mutant.lock +154 -0
  8. data/README.md +334 -302
  9. data/TODO.md +4 -0
  10. data/eve_online.gemspec +1 -1
  11. data/lib/eve_online.rb +2 -2
  12. data/lib/eve_online/esi/alliance.rb +6 -6
  13. data/lib/eve_online/esi/alliance_corporations.rb +3 -3
  14. data/lib/eve_online/esi/alliance_icon.rb +3 -3
  15. data/lib/eve_online/esi/alliances.rb +2 -2
  16. data/lib/eve_online/esi/ancestries.rb +2 -2
  17. data/lib/eve_online/esi/base.rb +3 -2
  18. data/lib/eve_online/esi/bloodlines.rb +2 -2
  19. data/lib/eve_online/esi/character.rb +6 -6
  20. data/lib/eve_online/esi/character_assets.rb +3 -3
  21. data/lib/eve_online/esi/character_attributes.rb +6 -6
  22. data/lib/eve_online/esi/character_blueprints.rb +3 -3
  23. data/lib/eve_online/esi/character_bookmark_folders.rb +3 -3
  24. data/lib/eve_online/esi/character_bookmarks.rb +3 -3
  25. data/lib/eve_online/esi/character_calendar.rb +3 -3
  26. data/lib/eve_online/esi/character_clones.rb +9 -9
  27. data/lib/eve_online/esi/character_fatigue.rb +3 -3
  28. data/lib/eve_online/esi/character_implants.rb +3 -3
  29. data/lib/eve_online/esi/character_industry_jobs.rb +5 -5
  30. data/lib/eve_online/esi/character_loyalty_points.rb +3 -3
  31. data/lib/eve_online/esi/character_notifications.rb +3 -3
  32. data/lib/eve_online/esi/character_online.rb +5 -5
  33. data/lib/eve_online/esi/character_orders.rb +3 -3
  34. data/lib/eve_online/esi/character_portrait.rb +4 -5
  35. data/lib/eve_online/esi/character_skill_queue.rb +3 -3
  36. data/lib/eve_online/esi/character_skills.rb +11 -11
  37. data/lib/eve_online/esi/character_standings.rb +3 -3
  38. data/lib/eve_online/esi/character_wallet.rb +3 -3
  39. data/lib/eve_online/esi/character_wallet_journal.rb +3 -3
  40. data/lib/eve_online/esi/corporation.rb +7 -7
  41. data/lib/eve_online/esi/corporation_blueprints.rb +3 -3
  42. data/lib/eve_online/esi/corporation_industry_jobs.rb +5 -5
  43. data/lib/eve_online/esi/corporation_orders.rb +3 -3
  44. data/lib/eve_online/esi/dogma_attribute.rb +7 -7
  45. data/lib/eve_online/esi/dogma_attributes.rb +2 -2
  46. data/lib/eve_online/esi/factions.rb +2 -2
  47. data/lib/eve_online/esi/market_history.rb +4 -4
  48. data/lib/eve_online/esi/models/alliance.rb +18 -18
  49. data/lib/eve_online/esi/models/alliance_icon.rb +5 -5
  50. data/lib/eve_online/esi/models/ancestry.rb +16 -16
  51. data/lib/eve_online/esi/models/asset.rb +22 -17
  52. data/lib/eve_online/esi/models/attributes.rb +20 -20
  53. data/lib/eve_online/esi/models/bloodline.rb +25 -25
  54. data/lib/eve_online/esi/models/blueprint.rb +16 -16
  55. data/lib/eve_online/esi/models/bookmark.rb +26 -26
  56. data/lib/eve_online/esi/models/character.rb +28 -28
  57. data/lib/eve_online/esi/models/{industry_job.rb → character_industry_job.rb} +1 -2
  58. data/lib/eve_online/esi/models/character_order.rb +39 -49
  59. data/lib/eve_online/esi/models/character_portrait.rb +4 -20
  60. data/lib/eve_online/esi/models/corporation.rb +35 -35
  61. data/lib/eve_online/esi/models/corporation_industry_job.rb +132 -0
  62. data/lib/eve_online/esi/models/corporation_order.rb +42 -42
  63. data/lib/eve_online/esi/models/dogma_attribute.rb +21 -21
  64. data/lib/eve_online/esi/models/event.rb +11 -11
  65. data/lib/eve_online/esi/models/faction.rb +20 -20
  66. data/lib/eve_online/esi/models/jump_clone.rb +8 -8
  67. data/lib/eve_online/esi/models/market_history.rb +16 -16
  68. data/lib/eve_online/esi/models/notification.rb +10 -10
  69. data/lib/eve_online/esi/models/online.rb +6 -6
  70. data/lib/eve_online/esi/models/race.rb +11 -11
  71. data/lib/eve_online/esi/models/server_status.rb +7 -7
  72. data/lib/eve_online/esi/models/skill.rb +6 -6
  73. data/lib/eve_online/esi/models/skill_queue_entry.rb +19 -19
  74. data/lib/eve_online/esi/models/type.rb +33 -33
  75. data/lib/eve_online/esi/models/wallet_journal_entry.rb +37 -33
  76. data/lib/eve_online/esi/races.rb +2 -2
  77. data/lib/eve_online/esi/server_status.rb +2 -2
  78. data/lib/eve_online/esi/universe_type.rb +8 -8
  79. data/lib/eve_online/esi/universe_types.rb +2 -2
  80. data/lib/eve_online/version.rb +1 -1
  81. data/mutant.sh +1 -1
  82. metadata +14 -11
  83. data/lib/eve_online/esi/alliances_names.rb +0 -32
data/TODO.md ADDED
@@ -0,0 +1,4 @@
1
+ # TODO
2
+
3
+ * Fix MD024
4
+
@@ -21,13 +21,13 @@ Gem::Specification.new do |spec|
21
21
  spec.required_ruby_version = '>= 2.3'
22
22
 
23
23
  spec.add_development_dependency 'bundler'
24
- spec.add_development_dependency 'codeclimate-test-reporter'
25
24
  spec.add_development_dependency 'rake'
26
25
  spec.add_development_dependency 'rspec'
27
26
  spec.add_development_dependency 'rspec-its'
28
27
  spec.add_development_dependency 'simplecov'
29
28
  spec.add_development_dependency 'webmock'
30
29
  spec.add_development_dependency 'vcr'
30
+ spec.add_development_dependency 'mdl'
31
31
 
32
32
  spec.add_runtime_dependency 'activesupport', '>= 4.2.0'
33
33
  spec.add_runtime_dependency 'faraday'
@@ -50,7 +50,6 @@ require 'eve_online/esi/alliances'
50
50
  require 'eve_online/esi/alliance'
51
51
  require 'eve_online/esi/alliance_corporations'
52
52
  require 'eve_online/esi/alliance_icon'
53
- require 'eve_online/esi/alliances_names'
54
53
 
55
54
  require 'eve_online/esi/dogma_attributes'
56
55
  require 'eve_online/esi/dogma_attribute'
@@ -71,7 +70,8 @@ require 'eve_online/esi/models/asset'
71
70
  require 'eve_online/esi/models/online'
72
71
  require 'eve_online/esi/models/attributes'
73
72
  require 'eve_online/esi/models/character'
74
- require 'eve_online/esi/models/industry_job'
73
+ require 'eve_online/esi/models/character_industry_job'
74
+ require 'eve_online/esi/models/corporation_industry_job'
75
75
  require 'eve_online/esi/models/character_portrait'
76
76
  require 'eve_online/esi/models/character_order'
77
77
  require 'eve_online/esi/models/blueprint'
@@ -7,19 +7,19 @@ module EveOnline
7
7
  class Alliance < Base
8
8
  extend Forwardable
9
9
 
10
- API_ENDPOINT = 'https://esi.tech.ccp.is/v3/alliances/%<alliance_id>s/?datasource=tranquility'
10
+ API_ENDPOINT = 'https://esi.tech.ccp.is/v3/alliances/%<alliance_id>s/?datasource=%<datasource>s'
11
11
 
12
12
  attr_reader :alliance_id
13
13
 
14
14
  def initialize(options)
15
15
  super
16
16
 
17
- @alliance_id = options[:alliance_id]
17
+ @alliance_id = options.fetch(:alliance_id)
18
18
  end
19
19
 
20
- def_delegators :model, :as_json, :name, :ticker, :creator_id,
21
- :creator_corporation_id, :executor_corporation_id,
22
- :date_founded, :faction_id
20
+ def_delegators :model, :as_json, :creator_corporation_id, :creator_id,
21
+ :date_founded, :executor_corporation_id, :faction_id,
22
+ :name, :ticker
23
23
 
24
24
  def model
25
25
  Models::Alliance.new(response)
@@ -29,7 +29,7 @@ module EveOnline
29
29
  def scope; end
30
30
 
31
31
  def url
32
- format(API_ENDPOINT, alliance_id: alliance_id)
32
+ format(API_ENDPOINT, alliance_id: alliance_id, datasource: datasource)
33
33
  end
34
34
  end
35
35
  end
@@ -3,14 +3,14 @@
3
3
  module EveOnline
4
4
  module ESI
5
5
  class AllianceCorporations < Base
6
- API_ENDPOINT = 'https://esi.tech.ccp.is/v1/alliances/%<alliance_id>s/corporations/?datasource=tranquility'
6
+ API_ENDPOINT = 'https://esi.tech.ccp.is/v1/alliances/%<alliance_id>s/corporations/?datasource=%<datasource>s'
7
7
 
8
8
  attr_reader :alliance_id
9
9
 
10
10
  def initialize(options)
11
11
  super
12
12
 
13
- @alliance_id = options[:alliance_id]
13
+ @alliance_id = options.fetch(:alliance_id)
14
14
  end
15
15
 
16
16
  def corporations
@@ -20,7 +20,7 @@ module EveOnline
20
20
  def scope; end
21
21
 
22
22
  def url
23
- format(API_ENDPOINT, alliance_id: alliance_id)
23
+ format(API_ENDPOINT, alliance_id: alliance_id, datasource: datasource)
24
24
  end
25
25
  end
26
26
  end
@@ -7,14 +7,14 @@ module EveOnline
7
7
  class AllianceIcon < Base
8
8
  extend Forwardable
9
9
 
10
- API_ENDPOINT = 'https://esi.tech.ccp.is/v1/alliances/%<alliance_id>s/icons/?datasource=tranquility'
10
+ API_ENDPOINT = 'https://esi.tech.ccp.is/v1/alliances/%<alliance_id>s/icons/?datasource=%<datasource>s'
11
11
 
12
12
  attr_reader :alliance_id
13
13
 
14
14
  def initialize(options)
15
15
  super
16
16
 
17
- @alliance_id = options[:alliance_id]
17
+ @alliance_id = options.fetch(:alliance_id)
18
18
  end
19
19
 
20
20
  def_delegators :model, :as_json, :icon_small, :icon_medium
@@ -27,7 +27,7 @@ module EveOnline
27
27
  def scope; end
28
28
 
29
29
  def url
30
- format(API_ENDPOINT, alliance_id: alliance_id)
30
+ format(API_ENDPOINT, alliance_id: alliance_id, datasource: datasource)
31
31
  end
32
32
  end
33
33
  end
@@ -3,7 +3,7 @@
3
3
  module EveOnline
4
4
  module ESI
5
5
  class Alliances < Base
6
- API_ENDPOINT = 'https://esi.tech.ccp.is/v1/alliances/?datasource=tranquility'
6
+ API_ENDPOINT = 'https://esi.tech.ccp.is/v1/alliances/?datasource=%<datasource>s'
7
7
 
8
8
  def alliances
9
9
  response
@@ -12,7 +12,7 @@ module EveOnline
12
12
  def scope; end
13
13
 
14
14
  def url
15
- API_ENDPOINT
15
+ format(API_ENDPOINT, datasource: datasource)
16
16
  end
17
17
  end
18
18
  end
@@ -3,7 +3,7 @@
3
3
  module EveOnline
4
4
  module ESI
5
5
  class Ancestries < Base
6
- API_ENDPOINT = 'https://esi.tech.ccp.is/v1/universe/ancestries/?datasource=tranquility&language=en-us'
6
+ API_ENDPOINT = 'https://esi.tech.ccp.is/v1/universe/ancestries/?datasource=%<datasource>s&language=en-us'
7
7
 
8
8
  def ancestries
9
9
  output = []
@@ -17,7 +17,7 @@ module EveOnline
17
17
  def scope; end
18
18
 
19
19
  def url
20
- API_ENDPOINT
20
+ format(API_ENDPOINT, datasource: datasource)
21
21
  end
22
22
  end
23
23
  end
@@ -10,13 +10,14 @@ module EveOnline
10
10
  class Base
11
11
  extend Memoist
12
12
 
13
- attr_reader :token, :parser, :_read_timeout, :_open_timeout
13
+ attr_reader :token, :parser, :_read_timeout, :_open_timeout, :datasource
14
14
 
15
15
  def initialize(options = {})
16
16
  @token = options[:token]
17
- @parser = JSON
17
+ @parser = options[:parser] || JSON
18
18
  @_read_timeout = options[:read_timeout] || 60
19
19
  @_open_timeout = options[:open_timeout] || 60
20
+ @datasource = options[:datasource] || 'tranquility'
20
21
  end
21
22
 
22
23
  def url
@@ -3,7 +3,7 @@
3
3
  module EveOnline
4
4
  module ESI
5
5
  class Bloodlines < Base
6
- API_ENDPOINT = 'https://esi.tech.ccp.is/v1/universe/bloodlines/?datasource=tranquility&language=en-us'
6
+ API_ENDPOINT = 'https://esi.tech.ccp.is/v1/universe/bloodlines/?datasource=%<datasource>s&language=en-us'
7
7
 
8
8
  def bloodlines
9
9
  output = []
@@ -17,7 +17,7 @@ module EveOnline
17
17
  def scope; end
18
18
 
19
19
  def url
20
- API_ENDPOINT
20
+ format(API_ENDPOINT, datasource: datasource)
21
21
  end
22
22
  end
23
23
  end
@@ -7,19 +7,19 @@ module EveOnline
7
7
  class Character < Base
8
8
  extend Forwardable
9
9
 
10
- API_ENDPOINT = 'https://esi.tech.ccp.is/v4/characters/%<character_id>s/?datasource=tranquility'
10
+ API_ENDPOINT = 'https://esi.tech.ccp.is/v4/characters/%<character_id>s/?datasource=%<datasource>s'
11
11
 
12
12
  attr_reader :character_id
13
13
 
14
14
  def initialize(options)
15
15
  super
16
16
 
17
- @character_id = options[:character_id]
17
+ @character_id = options.fetch(:character_id)
18
18
  end
19
19
 
20
- def_delegators :model, :as_json, :corporation_id, :birthday, :name,
21
- :gender, :race_id, :bloodline_id, :description,
22
- :alliance_id, :ancestry_id, :security_status, :faction_id
20
+ def_delegators :model, :as_json, :alliance_id, :ancestry_id, :birthday,
21
+ :bloodline_id, :corporation_id, :description, :faction_id,
22
+ :gender, :name, :race_id, :security_status
23
23
 
24
24
  def model
25
25
  Models::Character.new(response)
@@ -29,7 +29,7 @@ module EveOnline
29
29
  def scope; end
30
30
 
31
31
  def url
32
- format(API_ENDPOINT, character_id: character_id)
32
+ format(API_ENDPOINT, character_id: character_id, datasource: datasource)
33
33
  end
34
34
  end
35
35
  end
@@ -3,14 +3,14 @@
3
3
  module EveOnline
4
4
  module ESI
5
5
  class CharacterAssets < Base
6
- API_ENDPOINT = 'https://esi.tech.ccp.is/v3/characters/%<character_id>s/assets/?datasource=tranquility&page=1'
6
+ API_ENDPOINT = 'https://esi.tech.ccp.is/v3/characters/%<character_id>s/assets/?datasource=%<datasource>s&page=1'
7
7
 
8
8
  attr_reader :character_id
9
9
 
10
10
  def initialize(options)
11
11
  super
12
12
 
13
- @character_id = options[:character_id]
13
+ @character_id = options.fetch(:character_id)
14
14
  end
15
15
 
16
16
  def assets
@@ -27,7 +27,7 @@ module EveOnline
27
27
  end
28
28
 
29
29
  def url
30
- format(API_ENDPOINT, character_id: character_id)
30
+ format(API_ENDPOINT, character_id: character_id, datasource: datasource)
31
31
  end
32
32
  end
33
33
  end
@@ -7,19 +7,19 @@ module EveOnline
7
7
  class CharacterAttributes < Base
8
8
  extend Forwardable
9
9
 
10
- API_ENDPOINT = 'https://esi.tech.ccp.is/v1/characters/%<character_id>s/attributes/?datasource=tranquility'
10
+ API_ENDPOINT = 'https://esi.tech.ccp.is/v1/characters/%<character_id>s/attributes/?datasource=%<datasource>s'
11
11
 
12
12
  attr_reader :character_id
13
13
 
14
14
  def initialize(options)
15
15
  super
16
16
 
17
- @character_id = options[:character_id]
17
+ @character_id = options.fetch(:character_id)
18
18
  end
19
19
 
20
- def_delegators :model, :as_json, :charisma, :intelligence, :memory,
21
- :perception, :willpower, :bonus_remaps,
22
- :last_remap_date, :accrued_remap_cooldown_date
20
+ def_delegators :model, :as_json, :accrued_remap_cooldown_date,
21
+ :bonus_remaps, :charisma, :intelligence, :last_remap_date,
22
+ :memory, :perception, :willpower
23
23
 
24
24
  def model
25
25
  Models::Attributes.new(response)
@@ -31,7 +31,7 @@ module EveOnline
31
31
  end
32
32
 
33
33
  def url
34
- format(API_ENDPOINT, character_id: character_id)
34
+ format(API_ENDPOINT, character_id: character_id, datasource: datasource)
35
35
  end
36
36
  end
37
37
  end
@@ -3,14 +3,14 @@
3
3
  module EveOnline
4
4
  module ESI
5
5
  class CharacterBlueprints < Base
6
- API_ENDPOINT = 'https://esi.tech.ccp.is/v2/characters/%<character_id>s/blueprints/?datasource=tranquility&page=1'
6
+ API_ENDPOINT = 'https://esi.tech.ccp.is/v2/characters/%<character_id>s/blueprints/?datasource=%<datasource>s&page=1'
7
7
 
8
8
  attr_reader :character_id
9
9
 
10
10
  def initialize(options)
11
11
  super
12
12
 
13
- @character_id = options[:character_id]
13
+ @character_id = options.fetch(:character_id)
14
14
  end
15
15
 
16
16
  def blueprints
@@ -27,7 +27,7 @@ module EveOnline
27
27
  end
28
28
 
29
29
  def url
30
- format(API_ENDPOINT, character_id: character_id)
30
+ format(API_ENDPOINT, character_id: character_id, datasource: datasource)
31
31
  end
32
32
  end
33
33
  end
@@ -3,14 +3,14 @@
3
3
  module EveOnline
4
4
  module ESI
5
5
  class CharacterBookmarkFolders < Base
6
- API_ENDPOINT = 'https://esi.tech.ccp.is/v2/characters/%<character_id>s/bookmarks/folders/?datasource=tranquility'
6
+ API_ENDPOINT = 'https://esi.tech.ccp.is/v2/characters/%<character_id>s/bookmarks/folders/?datasource=%<datasource>s'
7
7
 
8
8
  attr_reader :character_id
9
9
 
10
10
  def initialize(options)
11
11
  super
12
12
 
13
- @character_id = options[:character_id]
13
+ @character_id = options.fetch(:character_id)
14
14
  end
15
15
 
16
16
  def bookmark_folders
@@ -27,7 +27,7 @@ module EveOnline
27
27
  end
28
28
 
29
29
  def url
30
- format(API_ENDPOINT, character_id: character_id)
30
+ format(API_ENDPOINT, character_id: character_id, datasource: datasource)
31
31
  end
32
32
  end
33
33
  end
@@ -3,14 +3,14 @@
3
3
  module EveOnline
4
4
  module ESI
5
5
  class CharacterBookmarks < Base
6
- API_ENDPOINT = 'https://esi.tech.ccp.is/v2/characters/%<character_id>s/bookmarks/?datasource=tranquility'
6
+ API_ENDPOINT = 'https://esi.tech.ccp.is/v2/characters/%<character_id>s/bookmarks/?datasource=%<datasource>s'
7
7
 
8
8
  attr_reader :character_id
9
9
 
10
10
  def initialize(options)
11
11
  super
12
12
 
13
- @character_id = options[:character_id]
13
+ @character_id = options.fetch(:character_id)
14
14
  end
15
15
 
16
16
  def bookmarks
@@ -27,7 +27,7 @@ module EveOnline
27
27
  end
28
28
 
29
29
  def url
30
- format(API_ENDPOINT, character_id: character_id)
30
+ format(API_ENDPOINT, character_id: character_id, datasource: datasource)
31
31
  end
32
32
  end
33
33
  end
@@ -3,14 +3,14 @@
3
3
  module EveOnline
4
4
  module ESI
5
5
  class CharacterCalendar < Base
6
- API_ENDPOINT = 'https://esi.tech.ccp.is/v1/characters/%<character_id>s/calendar/?datasource=tranquility'
6
+ API_ENDPOINT = 'https://esi.tech.ccp.is/v1/characters/%<character_id>s/calendar/?datasource=%<datasource>s'
7
7
 
8
8
  attr_reader :character_id
9
9
 
10
10
  def initialize(options)
11
11
  super
12
12
 
13
- @character_id = options[:character_id]
13
+ @character_id = options.fetch(:character_id)
14
14
  end
15
15
 
16
16
  def events
@@ -27,7 +27,7 @@ module EveOnline
27
27
  end
28
28
 
29
29
  def url
30
- format(API_ENDPOINT, character_id: character_id)
30
+ format(API_ENDPOINT, character_id: character_id, datasource: datasource)
31
31
  end
32
32
  end
33
33
  end
@@ -3,20 +3,14 @@
3
3
  module EveOnline
4
4
  module ESI
5
5
  class CharacterClones < Base
6
- API_ENDPOINT = 'https://esi.tech.ccp.is/v3/characters/%<character_id>s/clones/?datasource=tranquility'
6
+ API_ENDPOINT = 'https://esi.tech.ccp.is/v3/characters/%<character_id>s/clones/?datasource=%<datasource>s'
7
7
 
8
8
  attr_reader :character_id
9
9
 
10
10
  def initialize(options)
11
11
  super
12
12
 
13
- @character_id = options[:character_id]
14
- end
15
-
16
- def last_clone_jump_date
17
- last_clone_jump_date = response['last_clone_jump_date']
18
-
19
- parse_datetime_with_timezone(last_clone_jump_date) if last_clone_jump_date
13
+ @character_id = options.fetch(:character_id)
20
14
  end
21
15
 
22
16
  def home_location
@@ -33,6 +27,12 @@ module EveOnline
33
27
  end
34
28
  memoize :jump_clones
35
29
 
30
+ def last_clone_jump_date
31
+ last_clone_jump_date = response['last_clone_jump_date']
32
+
33
+ parse_datetime_with_timezone(last_clone_jump_date) if last_clone_jump_date
34
+ end
35
+
36
36
  def last_station_change_date
37
37
  last_station_change_date = response['last_station_change_date']
38
38
 
@@ -44,7 +44,7 @@ module EveOnline
44
44
  end
45
45
 
46
46
  def url
47
- format(API_ENDPOINT, character_id: character_id)
47
+ format(API_ENDPOINT, character_id: character_id, datasource: datasource)
48
48
  end
49
49
  end
50
50
  end
@@ -7,14 +7,14 @@ module EveOnline
7
7
  class CharacterFatigue < Base
8
8
  extend Forwardable
9
9
 
10
- API_ENDPOINT = 'https://esi.tech.ccp.is/v1/characters/%<character_id>s/fatigue/?datasource=tranquility'
10
+ API_ENDPOINT = 'https://esi.tech.ccp.is/v1/characters/%<character_id>s/fatigue/?datasource=%<datasource>s'
11
11
 
12
12
  attr_reader :character_id
13
13
 
14
14
  def initialize(options)
15
15
  super
16
16
 
17
- @character_id = options[:character_id]
17
+ @character_id = options.fetch(:character_id)
18
18
  end
19
19
 
20
20
  def_delegators :model, :as_json, :jump_fatigue_expire_date,
@@ -30,7 +30,7 @@ module EveOnline
30
30
  end
31
31
 
32
32
  def url
33
- format(API_ENDPOINT, character_id: character_id)
33
+ format(API_ENDPOINT, character_id: character_id, datasource: datasource)
34
34
  end
35
35
  end
36
36
  end