eve_online 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +0 -1
  3. data/.rubocop-thread_safety.yml +9 -0
  4. data/.rubocop.yml +26 -102
  5. data/.rubocop_general.yml +94 -0
  6. data/.rubocop_rspec.yml +61 -0
  7. data/.rubocop_todo.yml +0 -0
  8. data/.travis.yml +14 -29
  9. data/CHANGELOG.md +329 -0
  10. data/Gemfile +1 -2
  11. data/README.md +840 -1088
  12. data/eve_online.gemspec +8 -8
  13. data/lib/eve_online.rb +45 -59
  14. data/lib/eve_online/esi/alliance.rb +33 -0
  15. data/lib/eve_online/esi/alliance_icon.rb +32 -0
  16. data/lib/eve_online/esi/base.rb +3 -2
  17. data/lib/eve_online/esi/bloodlines.rb +22 -0
  18. data/lib/eve_online/esi/character.rb +13 -56
  19. data/lib/eve_online/esi/character_assets.rb +32 -0
  20. data/lib/eve_online/esi/character_attributes.rb +36 -0
  21. data/lib/eve_online/esi/character_blueprints.rb +32 -0
  22. data/lib/eve_online/esi/character_clones.rb +43 -0
  23. data/lib/eve_online/esi/character_fatigue.rb +35 -0
  24. data/lib/eve_online/esi/character_implants.rb +27 -0
  25. data/lib/eve_online/esi/character_industry_jobs.rb +33 -0
  26. data/lib/eve_online/esi/character_loyalty_points.rb +4 -3
  27. data/lib/eve_online/esi/character_portrait.rb +12 -40
  28. data/lib/eve_online/esi/character_skill_queue.rb +6 -5
  29. data/lib/eve_online/esi/character_skills.rb +6 -5
  30. data/lib/eve_online/esi/character_standings.rb +32 -0
  31. data/lib/eve_online/esi/character_wallet.rb +33 -0
  32. data/lib/eve_online/esi/corporation.rb +35 -0
  33. data/lib/eve_online/esi/corporation_industry_jobs.rb +33 -0
  34. data/lib/eve_online/esi/dogma_attribute.rb +34 -0
  35. data/lib/eve_online/esi/dogma_attributes.rb +17 -0
  36. data/lib/eve_online/esi/factions.rb +22 -0
  37. data/lib/eve_online/esi/models/alliance.rb +34 -0
  38. data/lib/eve_online/esi/models/alliance_icon.rb +22 -0
  39. data/lib/eve_online/esi/models/asset.rb +47 -0
  40. data/lib/eve_online/esi/models/attributes.rb +56 -0
  41. data/lib/eve_online/esi/models/base.rb +21 -0
  42. data/lib/eve_online/esi/models/bloodline.rb +67 -0
  43. data/lib/eve_online/esi/models/blueprint.rb +52 -0
  44. data/lib/eve_online/esi/models/character.rb +64 -0
  45. data/lib/eve_online/esi/models/character_portrait.rb +48 -0
  46. data/lib/eve_online/esi/models/corporation.rb +69 -0
  47. data/lib/eve_online/esi/models/dogma_attribute.rb +62 -0
  48. data/lib/eve_online/esi/models/faction.rb +62 -0
  49. data/lib/eve_online/esi/models/fatigue.rb +33 -0
  50. data/lib/eve_online/esi/models/home_location.rb +22 -0
  51. data/lib/eve_online/esi/models/industry_job.rb +130 -0
  52. data/lib/eve_online/esi/models/jump_clone.rb +27 -0
  53. data/lib/eve_online/esi/models/loyalty_point.rb +1 -7
  54. data/lib/eve_online/esi/models/race.rb +32 -0
  55. data/lib/eve_online/esi/models/server_status.rb +34 -0
  56. data/lib/eve_online/esi/models/skill.rb +1 -7
  57. data/lib/eve_online/esi/models/skill_queue_entry.rb +13 -17
  58. data/lib/eve_online/esi/models/standing.rb +27 -0
  59. data/lib/eve_online/esi/races.rb +22 -0
  60. data/lib/eve_online/esi/server_status.rb +8 -24
  61. data/lib/eve_online/version.rb +1 -1
  62. metadata +67 -83
  63. data/.codeclimate.yml +0 -11
  64. data/.editorconfig +0 -10
  65. data/.rspec +0 -1
  66. data/lib/eve_online/base_crest.rb +0 -11
  67. data/lib/eve_online/blueprint.rb +0 -60
  68. data/lib/eve_online/character.rb +0 -54
  69. data/lib/eve_online/character_implants.rb +0 -29
  70. data/lib/eve_online/character_jump_clone_implants.rb +0 -29
  71. data/lib/eve_online/character_jump_clones.rb +0 -29
  72. data/lib/eve_online/character_skills.rb +0 -29
  73. data/lib/eve_online/eve/character_id.rb +0 -41
  74. data/lib/eve_online/implant.rb +0 -24
  75. data/lib/eve_online/item.rb +0 -49
  76. data/lib/eve_online/jump_clone.rb +0 -34
  77. data/lib/eve_online/jump_clone_implant.rb +0 -29
  78. data/lib/eve_online/sde/chr_races.rb +0 -14
  79. data/lib/eve_online/sde/models/chr_race.rb +0 -38
  80. data/lib/eve_online/skill.rb +0 -34
  81. data/lib/eve_online/sovereignty/campaigns.rb +0 -28
  82. data/lib/eve_online/standing.rb +0 -29
  83. data/lib/eve_online/xml/account_characters.rb +0 -48
  84. data/lib/eve_online/xml/account_status.rb +0 -31
  85. data/lib/eve_online/xml/api_key_info.rb +0 -63
  86. data/lib/eve_online/xml/character_account_balance.rb +0 -59
  87. data/lib/eve_online/xml/character_asset_list.rb +0 -54
  88. data/lib/eve_online/xml/character_blueprints.rb +0 -53
  89. data/lib/eve_online/xml/character_calendar_event_attendees.rb +0 -24
  90. data/lib/eve_online/xml/character_chat_channels.rb +0 -25
  91. data/lib/eve_online/xml/character_contact_list.rb +0 -25
  92. data/lib/eve_online/xml/character_contract_bids.rb +0 -23
  93. data/lib/eve_online/xml/character_contract_items.rb +0 -24
  94. data/lib/eve_online/xml/character_contracts.rb +0 -26
  95. data/lib/eve_online/xml/character_fac_war_stats.rb +0 -23
  96. data/lib/eve_online/xml/character_industry_jobs.rb +0 -23
  97. data/lib/eve_online/xml/character_industry_jobs_history.rb +0 -23
  98. data/lib/eve_online/xml/character_kill_mails.rb +0 -25
  99. data/lib/eve_online/xml/character_locations.rb +0 -32
  100. data/lib/eve_online/xml/character_mail_bodies.rb +0 -30
  101. data/lib/eve_online/xml/character_mail_messages.rb +0 -23
  102. data/lib/eve_online/xml/character_mailing_lists.rb +0 -23
  103. data/lib/eve_online/xml/character_medals.rb +0 -23
  104. data/lib/eve_online/xml/character_notification_texts.rb +0 -32
  105. data/lib/eve_online/xml/character_notifications.rb +0 -23
  106. data/lib/eve_online/xml/character_planetary_colonies.rb +0 -23
  107. data/lib/eve_online/xml/character_planetary_links.rb +0 -24
  108. data/lib/eve_online/xml/character_planetary_pins.rb +0 -24
  109. data/lib/eve_online/xml/character_planetary_routes.rb +0 -24
  110. data/lib/eve_online/xml/character_research.rb +0 -23
  111. data/lib/eve_online/xml/character_sheet.rb +0 -231
  112. data/lib/eve_online/xml/character_skill_in_training.rb +0 -68
  113. data/lib/eve_online/xml/character_skill_queue.rb +0 -51
  114. data/lib/eve_online/xml/character_standings.rb +0 -67
  115. data/lib/eve_online/xml/character_wallet_transactions.rb +0 -24
  116. data/lib/eve_online/xml/models/account_status.rb +0 -40
  117. data/lib/eve_online/xml/models/account_type_object.rb +0 -22
  118. data/lib/eve_online/xml/models/api_key_info.rb +0 -35
  119. data/lib/eve_online/xml/models/skill_queue_entry.rb +0 -55
  120. data/lib/eve_online/xml/server_status.rb +0 -31
data/Gemfile CHANGED
@@ -8,5 +8,4 @@ gem 'awesome_print', require: 'ap'
8
8
  gem 'pry'
9
9
  gem 'mutant'
10
10
  gem 'mutant-rspec'
11
- # rubocop version locked due config. Update rubocop config on gem update.
12
- gem 'rubocop', '0.48.1', require: false
11
+ gem 'rubocop', require: false
data/README.md CHANGED
@@ -1,19 +1,20 @@
1
- # EveOnline API (XML, CREST and ESI). With SDE.
1
+ # EveOnline API (XML and ESI). With SDE.
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/eve_online.svg)](https://badge.fury.io/rb/eve_online)
4
4
  [![Gem Downloads](https://img.shields.io/gem/dt/eve_online.svg)](https://rubygems.org/gems/eve_online)
5
- [![Code Climate](https://codeclimate.com/github/biow0lf/eve_online/badges/gpa.svg)](https://codeclimate.com/github/biow0lf/eve_online)
6
5
  [![Test Coverage](https://codeclimate.com/github/biow0lf/eve_online/badges/coverage.svg)](https://codeclimate.com/github/biow0lf/eve_online/coverage)
7
6
  [![Build Status](https://travis-ci.org/biow0lf/eve_online.svg?branch=master)](https://travis-ci.org/biow0lf/eve_online)
8
7
  [![Dependency Status](https://gemnasium.com/biow0lf/eve_online.svg)](https://gemnasium.com/biow0lf/eve_online)
9
8
  [![security](https://hakiri.io/github/biow0lf/eve_online/master.svg)](https://hakiri.io/github/biow0lf/eve_online/master)
10
9
 
11
- This gem implement Ruby API for EveOnline MMORPG. All, XML, CREST and ESI API. With SDE.
10
+ This gem implement Ruby API for EveOnline MMORPG. XML and ESI API. With SDE.
12
11
 
13
12
  This gem was extracted from [EveMonk](http://evemonk.com). Source code of evemonk backend published [here](https://github.com/biow0lf/evemonk).
14
13
 
15
14
  You will need to add xml parser to your Gemfile to use this gem. E.g. `nokogiri`. Or any other xml parser which are supported by nori.
16
15
 
16
+ EveOnline XML API deprecated. And will be removed in near future. From this library and by [CCP developers](https://community.eveonline.com/news/dev-blogs/introducing-esi/).
17
+
17
18
  ## TOC
18
19
 
19
20
  * [Installation](#installation)
@@ -22,7 +23,6 @@ You will need to add xml parser to your Gemfile to use this gem. E.g. `nokogiri`
22
23
  * [Useful links](#useful-links)
23
24
  * [Development](#development)
24
25
  * [Contributing](#contributing)
25
- * [Changelog](#changelog)
26
26
  * [Implementation check list](#implementation-check-list)
27
27
  * [TODO](#todo)
28
28
  * [Author](#author)
@@ -48,14 +48,11 @@ Or install it yourself as:
48
48
 
49
49
  ## Supported ruby versions
50
50
 
51
- * MRI 1.9.3
52
- * MRI 2.0
53
- * MRI 2.1
54
51
  * MRI 2.2
55
52
  * MRI 2.3
56
53
  * MRI 2.4
57
54
  * MRI 2.5 (head)
58
- * JRuby 9.1.8.0
55
+ * JRuby 9.1.14.0
59
56
  * JRuby (head)
60
57
 
61
58
  ## Supported rails versions
@@ -69,1111 +66,1219 @@ Or install it yourself as:
69
66
 
70
67
  ### XML API
71
68
 
72
- #### Account status
69
+ #### Characters Bookmarks
73
70
 
74
71
  ```ruby
75
72
  key_id = 1234567
76
73
  v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
74
+ options = { character_id: 90729314 }
75
+
76
+ bookmarks = EveOnline::XML::CharacterBookmarks.new(key_id, v_code, options)
77
+
78
+ bookmarks.current_time # => Sun, 03 Jan 2016 14:53:44 UTC +00:00
79
+ bookmarks.cached_until # => Sun, 03 Jan 2016 15:50:44 UTC +00:00
80
+ bookmarks.version # => 2
77
81
 
78
- account_status = EveOnline::XML::AccountStatus.new(key_id, v_code)
82
+ bookmarks.bookmark_folders.size # => 4
83
+
84
+ bookmark_folder = bookmarks.bookmark_folders.first
85
+
86
+ bookmark_folder.as_json # => {:folder_id=>0, :folder_name=>""}
87
+
88
+ bookmark_folder.folder_id # => 0
89
+ bookmark_folder.folder_name # => ""
79
90
 
80
- account_status.as_json
81
- # => {:paid_until=>Mon, 28 Dec 2015 18:12:56 UTC +00:00, :create_date=>Fri, 15 Jan 2010 15:11:00 UTC +00:00, :logon_count=>388, :logon_minutes=>15598}
91
+ bookmark_folder.bookmarks.size # => 87
82
92
 
83
- account_status.paid_until # => Mon, 28 Dec 2015 18:12:56 UTC +00:00
84
- account_status.create_date # => Fri, 15 Jan 2010 15:11:00 UTC +00:00
85
- account_status.logon_count # => 388
86
- account_status.logon_minutes # => 15598
93
+ bookmark = bookmark_folder.bookmarks.first
87
94
 
88
- account_status.current_time # => Mon, 23 Nov 2015 18:53:46 UTC +00:00
89
- account_status.cached_until # => Mon, 23 Nov 2015 19:28:38 UTC +00:00
90
- account_status.version # => 2
95
+ bookmark.as_json # => {:bookmark_id=>459411933, :creator_id=>0, :created=>Sat, 28 Mar 2009 07:51:00 UTC +00:00, :item_id=>0, :type_id=>5, :location_id=>30002656, :x=>-267396330161.0, :y=>-376627274.0, :z=>-556366331388.0, :memo=>"1", :note=>""}
91
96
 
92
- # TODO: add multi character training support
97
+ bookmark.bookmark_id # => 459411933
98
+ bookmark.creator_id # => 0
99
+ bookmark.created # => Sat, 28 Mar 2009 07:51:00 UTC +00:00
100
+ bookmark.item_id # => 0
101
+ bookmark.type_id # => 5
102
+ bookmark.location_id # => 30002656
103
+ bookmark.x # => -267396330161.0
104
+ bookmark.y # => -376627274.0
105
+ bookmark.z # => -556366331388.0
106
+ bookmark.memo # => "1"
107
+ bookmark.note # => ""
93
108
  ```
94
109
 
95
- #### Api Key Info
110
+ #### Character contact notifications
96
111
 
97
112
  ```ruby
98
113
  key_id = 1234567
99
114
  v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
115
+ character_id = 90729314
100
116
 
101
- api_key_info = EveOnline::XML::ApiKeyInfo.new(key_id, v_code)
102
-
103
- api_key_info.as_json
104
- # => {:access_mask=>1073741823, :api_key_type=>:character, :expires=>Fri, 02 Dec 2016 18:13:59 UTC +00:00}
105
-
106
- api_key_info.access_mask # => 1073741823
107
- api_key_info.api_key_type # => :character
108
- api_key_info.expires # => Fri, 02 Dec 2016 18:13:59 UTC +00:00
117
+ contact_notifications = EveOnline::XML::CharacterContactNotifications.new(key_id, v_code, character_id)
109
118
 
110
- api_key_info.current_time # => Mon, 30 Nov 2015 23:00:38 UTC +00:00
111
- api_key_info.cached_until # => Mon, 30 Nov 2015 23:05:38 UTC +00:00
112
- api_key_info.version # => 2
119
+ contact_notifications.current_time # => Fri, 19 Aug 2016 11:10:23 UTC +00:00
120
+ contact_notifications.cached_until # => Fri, 19 Aug 2016 11:37:23 UTC +00:00
121
+ contact_notifications.version # => 2
113
122
 
114
- api_key_info.characters.size # => 2
123
+ contact_notifications.contact_notifications.size # => 3
115
124
 
116
- character = api_key_info.characters.first
125
+ contact_notification = contact_notifications.contact_notifications.first
117
126
 
118
- character.as_json
119
- # => {:character_id=>90729314, :character_name=>"Green Black", :corporation_id=>1000168, :corporation_name=>"Federal Navy Academy", :alliance_id=>0, :alliance_name=>"", :faction_id=>0, :faction_name=>""}
127
+ contact_notification.as_json # => {:notification_id=>308734131, :sender_id=>797400947, :sender_name=>"CCP Garthagk", :sent_date=>Sat, 19 Mar 2016 12:13:00 UTC +00:00, :message_data=>"level: 5\nmessage: ''\n"}
120
128
 
121
- character.character_id # => 90729314
122
- character.character_name # => "Green Black"
123
- character.corporation_id # => 1000168
124
- character.corporation_name # => "Federal Navy Academy"
125
- character.alliance_id # => 0
126
- character.alliance_name # => ""
127
- character.faction_id # => 0
128
- character.faction_name # => ""
129
+ contact_notification.notification_id # => 308734131
130
+ contact_notification.sender_id # => 797400947
131
+ contact_notification.sender_name # => "CCP Garthagk"
132
+ contact_notification.sent_date # => Sat, 19 Mar 2016 12:13:00 UTC +00:00
133
+ contact_notification.message_data # => "level: 5\nmessage: ''\n"
129
134
  ```
130
135
 
131
- #### Characters
136
+ #### Character market orders
132
137
 
133
138
  ```ruby
134
139
  key_id = 1234567
135
140
  v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
141
+ options = { character_id: 90729314 }
136
142
 
137
- characters = EveOnline::XML::AccountCharacters.new(key_id, v_code)
138
- characters.version # => 2
139
- characters.current_time # => Mon, 30 Nov 2015 23:31:31 UTC +00:00
140
- characters.cached_until # => Tue, 01 Dec 2015 00:28:31 UTC +00:00
143
+ market_orders = EveOnline::XML::CharacterMarketOrders.new(key_id, v_code, options)
144
+
145
+ market_orders.current_time # => Fri, 26 Aug 2016 13:56:17 UTC +00:00
146
+ market_orders.cached_until # => Fri, 26 Aug 2016 14:53:17 UTC +00:00
147
+ market_orders.version # => 2
141
148
 
142
- characters.characters.size # => 2
149
+ market_orders.orders.size # => 1
143
150
 
144
- character = characters.characters.first
151
+ marker_order = market_orders.orders.first
145
152
 
146
- character.as_json
147
- # => {:character_id=>90729314, :character_name=>"Green Black", :corporation_id=>1000168, :corporation_name=>"Federal Navy Academy", :alliance_id=>0, :alliance_name=>"", :faction_id=>0, :faction_name=>""}
153
+ marker_order.as_json # => {:order_id=>4053334100, :char_id=>1801683792, :station_id=>60005686, :vol_entered=>340000, :vol_remaining=>245705, :min_volume=>1, :order_state=>0, :type_id=>24488, :range=>32767, :account_key=>1000, :duration=>90, :escrow=>0.0, :price=>92.0, :bid=>false, :issued=>Thu, 01 Sep 2016 20:01:57 UTC +00:00}
148
154
 
149
- character.character_id # => 90729314
150
- character.character_name # => "Green Black"
151
- character.corporation_id # => 1000168
152
- character.corporation_name # => "Federal Navy Academy"
153
- character.alliance_id # => 0
154
- character.alliance_name # => ""
155
- character.faction_id # => 0
156
- character.faction_name # => ""
155
+ marker_order.order_id # => 4053334100
156
+ marker_order.char_id # => 1801683792
157
+ marker_order.station_id # => 60005686
158
+ marker_order.vol_entered # => 340000
159
+ marker_order.vol_remaining # => 245705
160
+ marker_order.min_volume # => 1
161
+ marker_order.order_state # => 0
162
+ marker_order.type_id # => 24488
163
+ marker_order.range # => 32767
164
+ marker_order.account_key # => 1000
165
+ marker_order.duration # => 90
166
+ marker_order.escrow # => 0.0
167
+ marker_order.price # => 92.0
168
+ marker_order.bid # => false
169
+ marker_order.issued # => Thu, 01 Sep 2016 20:01:57 UTC +00:00
157
170
  ```
158
171
 
159
- #### Character Account Balance
172
+ #### Character upcoming calender events
160
173
 
161
174
  ```ruby
162
175
  key_id = 1234567
163
176
  v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
164
- options = { character_id: 90729314 }
177
+ character_id = 90729314
178
+
179
+ upcoming_events = EveOnline::XML::CharacterUpcomingCalendarEvents.new(key_id, v_code, character_id)
180
+
181
+ upcoming_events.current_time # => Thu, 17 Dec 2015 20:43:46 UTC +00:00
182
+ upcoming_events.cached_until # => Thu, 17 Dec 2015 21:40:46 UTC +00:00
183
+ upcoming_events.version # => 2
184
+
185
+ upcoming_events.events.size # => 2
165
186
 
166
- account_balance = EveOnline::XML::CharacterAccountBalance.new(key_id, v_code, options)
187
+ event = upcoming_events.events.first
167
188
 
168
- account_balance.as_json
169
- # => {:account_id=>42763123, :account_key=>1000, :balance=>5000.0, :current_time=>Wed, 02 Dec 2015 20:29:32 UTC +00:00, :cached_until=>Wed, 02 Dec 2015 20:40:42 UTC +00:00}
189
+ event.as_json
190
+ # => {:event_id=>1234567, :owner_id=>98765432, :owner_name=>"MyCorp", :event_date=>Sat, 26 Dec 2015 19:47:29 UTC +00:00, :event_title=>"Control tower in 99-999", :duration=>60, :importance=>false, :response=>:undecided, :event_text=>"<b>Minmatar Control Tower</b> will run out of fuel and go offline...", :owner_type_id=>2}
170
191
 
171
- account_balance.account_id # => 42763123
172
- account_balance.account_key # => 1000
173
- account_balance.balance # => 5000.0
174
- account_balance.current_time # => Wed, 02 Dec 2015 20:29:32 UTC +00:00
175
- account_balance.cached_until # => Wed, 02 Dec 2015 20:40:42 UTC +00:00
176
- account_balance.version # => 2
192
+ event.event_id # => 1234567
193
+ event.owner_id # => 98765432
194
+ event.owner_name # => "MyCorp"
195
+ event.event_date # => Sat, 26 Dec 2015 19:47:29 UTC +00:00
196
+ event.event_title # => "Control tower in 99-999"
197
+ event.duration # => 60
198
+ event.importance # => false
199
+ event.response # => :undecided
200
+ event.event_text # => "<b>Minmatar Control Tower</b> will run out of fuel and go offline..."
201
+ event.owner_type_id # => 2
177
202
  ```
178
203
 
179
- #### Character Asset List
204
+ #### Retrieve character wallet journal
180
205
 
181
206
  ```ruby
182
207
  key_id = 1234567
183
208
  v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
184
- options = { character_id: 90729314 }
209
+ character_id = 90729314
185
210
 
186
- asset_list = EveOnline::XML::CharacterAssetList.new(key_id, v_code, options)
211
+ wallet_journal = EveOnline::XML::CharacterWalletJournal.new(key_id, v_code, character_id)
187
212
 
188
- asset_list.current_time # => Mon, 29 Feb 2016 21:51:38 UTC +00:00
189
- asset_list.cached_until # => Tue, 01 Mar 2016 03:48:38 UTC +00:00
190
- asset_list.version # => 2
213
+ wallet_journal.current_time # => Sat, 27 Aug 2016 21:14:20 UTC +00:00
214
+ wallet_journal.cached_until # => Sat, 27 Aug 2016 21:41:20 UTC +00:00
215
+ wallet_journal.version # => 2
191
216
 
192
- asset_list.assets.size # => 642
217
+ wallet_journal.wallet_journal_entries.size # => 3
193
218
 
194
- asset = asset_list.assets.first
219
+ wallet_journal_entry = wallet_journal.wallet_journal_entries.first
195
220
 
196
- asset.as_json
197
- # => {:item_id=>408887580, :location_id=>60000634, :type_id=>588, :quantity=>1, :flag=>4, :singleton=>1, :raw_quantity=>-1}
221
+ wallet_journal_entry.as_json # => {:date=>Thu, 01 Sep 2016 20:01:57 UTC +00:00, :ref_id=>6709813912, :ref_type_id=>15, :owner_name1=>"reygar burnt", :owner_id1=>1801683792, :owner_name2=>"Wiyrkomi Corporation", :owner_id2=>1000011, :arg_name1=>"EVE System", :arg_id1=>1, :amount=>-9250.00, :balance=>385574791.30, :reason=>"", :tax_receiver_id=>"", :tax_amount=>"", :owner1_type_id=>1380, :owner2_type_id=>2}
198
222
 
199
- asset.item_id # => 408887580
200
- asset.location_id # => 60000634
201
- asset.type_id # => 588
202
- asset.quantity # => 1
203
- asset.flag # => 4
204
- asset.singleton # => 1
205
- asset.raw_quantity # => -1
223
+ wallet_journal_entry.date # => Thu, 01 Sep 2016 20:01:57 UTC +00:00
224
+ wallet_journal_entry.ref_id # => 6709813912
225
+ wallet_journal_entry.ref_type_id # => 15
226
+ wallet_journal_entry.owner_name1 # => "reygar burnt"
227
+ wallet_journal_entry.owner_id1 # => 1801683792
228
+ wallet_journal_entry.owner_name2 # => "Wiyrkomi Corporation"
229
+ wallet_journal_entry.owner_id2 # => 1000011
230
+ wallet_journal_entry.arg_name1 # => "EVE System"
231
+ wallet_journal_entry.arg_id1 # => 1
232
+ wallet_journal_entry.amount # => -9250.00
233
+ wallet_journal_entry.balance # => 385574791.30
234
+ wallet_journal_entry.reason # => ""
235
+ wallet_journal_entry.tax_receiver_id # => ""
236
+ wallet_journal_entry.tax_amount # => ""
237
+ wallet_journal_entry.owner1_type_id # => 1380
238
+ wallet_journal_entry.owner2_type_id # => 2
206
239
  ```
207
240
 
208
- #### Character Blueprints
241
+ #### Corporation market orders
209
242
 
210
243
  ```ruby
211
244
  key_id = 1234567
212
245
  v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
213
246
  options = { character_id: 90729314 }
214
247
 
215
- blueprints = EveOnline::XML::CharacterBlueprints.new(key_id, v_code, options)
248
+ corporation_market_orders = EveOnline::XML::CorporationMarketOrders.new(key_id, v_code, options)
216
249
 
217
- blueprints.current_time # => Sun, 03 Jan 2016 14:36:37 UTC +00:00
218
- blueprints.cached_until # => Mon, 04 Jan 2016 02:06:37 UTC +00:00
219
- blueprints.version # => 2
250
+ # TODO: finish this
220
251
 
221
- blueprints.blueprints.size # => 4
252
+ ```
222
253
 
223
- blueprint = blueprints.blueprints.first
254
+ ### ESI Examples
224
255
 
225
- blueprint.as_json
226
- # => {:item_id=>716338097, :location_id=>61000032, :type_id=>1010, :type_name=>"Small Shield Extender I Blueprint", :flag_id=>4, :quantity=>-2, :time_efficiency=>0, :material_efficiency=>10, :runs=>300}
256
+ #### Alliance
227
257
 
228
- blueprint.item_id # => 716338097
229
- blueprint.location_id # => 61000032
230
- blueprint.type_id # => 1010
231
- blueprint.type_name # => "Small Shield Extender I Blueprint"
232
- blueprint.flag_id # => 4
233
- blueprint.quantity # => -2
234
- blueprint.time_efficiency # => 0
235
- blueprint.material_efficiency # => 10
236
- blueprint.runs # => 300
237
- ```
258
+ ##### List all alliances
238
259
 
239
- #### Characters Bookmarks
260
+ ##### Get alliance names
261
+
262
+ ##### Get alliance information
240
263
 
241
264
  ```ruby
242
- key_id = 1234567
243
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
244
- options = { character_id: 90729314 }
265
+ options = { alliance_id: 99005443 }
245
266
 
246
- bookmarks = EveOnline::XML::CharacterBookmarks.new(key_id, v_code, options)
267
+ alliance = EveOnline::ESI::Alliance.new(options)
247
268
 
248
- bookmarks.current_time # => Sun, 03 Jan 2016 14:53:44 UTC +00:00
249
- bookmarks.cached_until # => Sun, 03 Jan 2016 15:50:44 UTC +00:00
250
- bookmarks.version # => 2
269
+ alliance.scope # => nil
251
270
 
252
- bookmarks.bookmark_folders.size # => 4
271
+ alliance.as_json # => {:alliance_name=>"Kids With Guns Alliance",
272
+ # :ticker=>"-KWG-",
273
+ # :date_founded=>Sun, 03 May 2015 19:45:17 UTC +00:00,
274
+ # :executor_corp=>98306624}
253
275
 
254
- bookmark_folder = bookmarks.bookmark_folders.first # => #<EveOnline::BookmarkFolder:0x007fda7521a4b0 ....
276
+ alliance.alliance_name # => "Kids With Guns Alliance"
277
+ alliance.ticker # => "-KWG-"
278
+ alliance.date_founded # => Sun, 03 May 2015 19:45:17 UTC +00:00
279
+ alliance.executor_corp # => 98306624
280
+ ```
255
281
 
256
- bookmark_folder.as_json # => {:folder_id=>0, :folder_name=>""}
282
+ ##### List alliance's corporations
257
283
 
258
- bookmark_folder.folder_id # => 0
259
- bookmark_folder.folder_name # => ""
284
+ ##### Get alliance icon
260
285
 
261
- bookmark_folder.bookmarks.size # => 87
286
+ ```ruby
287
+ options = { alliance_id: 99005443 }
262
288
 
263
- bookmark = bookmark_folder.bookmarks.first # => #<EveOnline::Bookmark:0x007fc8b49f3880 @options={"@bookmarkID"=>"459411933", "@creatorID"=>"0", "@created"=>"2009-03-28 07:51:00", "@itemID"=>"0", "@typeID"=>"5", "@locationID"=>"30002656", "@x"=>"-267396330161", "@y"=>"-376627274", "@z"=>"-556366331388", "@memo"=>"1", "@note"=>""}>
289
+ alliance_icon = EveOnline::ESI::AllianceIcon.new(options)
264
290
 
265
- bookmark.as_json # => {:bookmark_id=>459411933, :creator_id=>0, :created=>Sat, 28 Mar 2009 07:51:00 UTC +00:00, :item_id=>0, :type_id=>5, :location_id=>30002656, :x=>-267396330161.0, :y=>-376627274.0, :z=>-556366331388.0, :memo=>"1", :note=>""}
291
+ alliance_icon.scope # => nil
266
292
 
267
- bookmark.bookmark_id # => 459411933
268
- bookmark.creator_id # => 0
269
- bookmark.created # => Sat, 28 Mar 2009 07:51:00 UTC +00:00
270
- bookmark.item_id # => 0
271
- bookmark.type_id # => 5
272
- bookmark.location_id # => 30002656
273
- bookmark.x # => -267396330161.0
274
- bookmark.y # => -376627274.0
275
- bookmark.z # => -556366331388.0
276
- bookmark.memo # => "1"
277
- bookmark.note # => ""
293
+ alliance_icon.as_json # => {:small=>"http://image.eveonline.com/Alliance/99005443_64.png", :medium=>"http://image.eveonline.com/Alliance/99005443_128.png"}
294
+
295
+ alliance_icon.small # => "http://image.eveonline.com/Alliance/99005443_64.png"
296
+ alliance_icon.medium # => "http://image.eveonline.com/Alliance/99005443_128.png"
278
297
  ```
279
298
 
280
- #### Character Calendar Event Attendees
299
+ #### Assets
300
+
301
+ ##### Get character assets
281
302
 
282
303
  ```ruby
283
- key_id = 1234567
284
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
285
- character_id = 90729314
286
- event_id = 1234567
304
+ options = { token: 'token123', character_id: 90729314 }
287
305
 
288
- cea = EveOnline::XML::CharacterCalendarEventAttendees.new(key_id, v_code, character_id, event_id)
306
+ character_assets = EveOnline::ESI::CharacterAssets.new(options)
289
307
 
290
- cea.current_time # => Mon, 21 Dec 2015 18:36:33 UTC +00:00
291
- cea.cached_until # => Mon, 21 Dec 2015 18:36:33 UTC +00:00
292
- cea.version # => 2
308
+ character_assets.scope # => "esi-assets.read_assets.v1"
293
309
 
294
- # TODO: finish this
310
+ character_assets.assets.size # => 486
295
311
 
296
- ````
312
+ asset = character_assets.assets.first
297
313
 
298
- #### Character Sheet
314
+ asset.as_json # => {:type_id=>2629,
315
+ # :location_id=>60008674,
316
+ # :location_type=>"station",
317
+ # :item_id=>1006604012678,
318
+ # :location_flag=>"Hangar",
319
+ # :is_singleton=>false,
320
+ # :quantity=>16156}
299
321
 
300
- ```ruby
301
- key_id = 1234567
302
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
303
- options = { character_id: 90729314 }
322
+ asset.type_id # => 2629
323
+ asset.location_id # => 60008674
324
+ asset.location_type # => "station"
325
+ asset.item_id # => 1006604012678
326
+ asset.location_flag # => "Hangar"
327
+ asset.is_singleton # => false
328
+ asset.quantity # => 16156
304
329
 
305
- character_sheet = EveOnline::XML::CharacterSheet.new(key_id, v_code, options)
306
-
307
- character_sheet.current_time # => Sun, 17 Jul 2016 12:27:11 UTC +00:00
308
- character_sheet.cached_until # => Sun, 17 Jul 2016 13:24:11 UTC +00:00
309
- character_sheet.version # => 2
310
-
311
- character_sheet.as_json
312
- # => {:id=>90729314, :name=>"Green Black", :home_station_id=>61000032, :dob=>Fri, 15 Jan 2010 15:26:00 UTC +00:00, :race=>"Minmatar", :blood_line_id=>4, :blood_line=>"Brutor", :ancestry_id=>24, :ancestry=>"Slave Child", :gender=>:male, :corporation_name=>"MyLittleDragon", :corporation_id=>98134807, :alliance_name=>"Kids With Guns Alliance", :alliance_id=>99005443, :faction_name=>nil, :faction_id=>0, :clone_type_id=>164, :clone_name=>"Clone Grade Alpha", :clone_skill_points=>0, :free_skill_points=>400000, :free_respecs=>2, :clone_jump_date=>Fri, 27 Jul 2012 14:50:11 UTC +00:00, :last_respec_date=>Sat, 07 May 2011 12:58:06 UTC +00:00, :last_timed_respec=>Sat, 07 May 2011 12:58:06 UTC +00:00, :remote_station_date=>Tue, 30 Jun 2015 21:51:13 UTC +00:00}
313
-
314
- character_sheet.id # => 90729314
315
- character_sheet.name # => "Green Black"
316
- character_sheet.home_station_id # => 61000032
317
- character_sheet.dob # => Fri, 15 Jan 2010 15:26:00 UTC +00:00
318
- character_sheet.race # => "Minmatar"
319
- character_sheet.blood_line_id # => 4
320
- character_sheet.blood_line # => "Brutor"
321
- character_sheet.ancestry_id # => 24
322
- character_sheet.ancestry # => "Slave Child"
323
- character_sheet.gender # => :male
324
- character_sheet.corporation_name # => "MyLittleDragon"
325
- character_sheet.corporation_id # => 98134807
326
- character_sheet.alliance_name # => "Kids With Guns Alliance"
327
- character_sheet.alliance_id # => 99005443
328
- character_sheet.faction_name # => nil
329
- character_sheet.faction_id # => 0
330
- character_sheet.clone_type_id # => 164
331
- character_sheet.clone_name # => "Clone Grade Alpha"
332
- character_sheet.clone_skill_points # => 0
333
- character_sheet.free_skill_points # => 400000
334
- character_sheet.free_respecs # => 2
335
- character_sheet.clone_jump_date # => Fri, 27 Jul 2012 14:50:11 UTC +00:00
336
- character_sheet.last_respec_date # => Sat, 07 May 2011 12:58:06 UTC +00:00
337
- character_sheet.last_timed_respec # => Sat, 07 May 2011 12:58:06 UTC +00:00
338
- character_sheet.remote_station_date # => Tue, 30 Jun 2015 21:51:13 UTC +00:00
339
- character_sheet.jump_activation # => Mon, 01 Jan 0001 00:00:00 UTC +00:00
340
- character_sheet.jump_fatigue # => Mon, 01 Jan 0001 00:00:00 UTC +00:00
341
- character_sheet.jump_last_update # => Mon, 01 Jan 0001 00:00:00 UTC +00:00
342
- character_sheet.balance # => 5000.0
343
- character_sheet.intelligence # => 21
344
- character_sheet.memory # => 21
345
- character_sheet.charisma # => 17
346
- character_sheet.perception # => 20
347
- character_sheet.willpower # => 20
348
-
349
- character_sheet.implants.size # => 5
350
-
351
- implant = character_sheet.implants.first # => #<EveOnline::Implant:0x007fdd34c88110 @options={"@typeID"=>"9899", "@typeName"=>"Ocular Filter - Basic"}>
352
-
353
- implant.as_json # => {:type_id=>9899, :type_name=>"Ocular Filter - Basic"}
354
-
355
- implant.type_id # => 9899
356
- implant.type_name # => "Ocular Filter - Basic"
357
-
358
- character_sheet.skills.size # => 180
359
-
360
- skill = character_sheet.skills.first # => #<EveOnline::Skill:0x007fc1951e1b18 @options={"@typeID"=>"2495", "@skillpoints"=>"1000", "@level"=>"1", "@published"=>"1"}>
361
-
362
- skill.as_json # => {:type_id=>2495, :skillpoints=>1000, :level=>1, :published=>true}
363
-
364
- skill.type_id # => 2495
365
- skill.skillpoints # => 1000
366
- skill.level # => 1
367
- skill.published # => true
368
-
369
- character_sheet.jump_clones.size # => 2
370
-
371
- jump_clone = character_sheet.jump_clones.first # => #<EveOnline::JumpClone:0x007fa2341cdb48 @options={"@jumpCloneID"=>"22357400", "@typeID"=>"164", "@locationID"=>"61000032", "@cloneName"=>""}, @jump_clone_id=22357400, @type_id=164, @location_id=61000032, @clone_name="">
372
-
373
- jump_clone.as_json # => {:jump_clone_id=>22357400, :type_id=>164, :location_id=>61000032, :clone_name=>""}
374
-
375
- jump_clone.jump_clone_id # => 22357400
376
- jump_clone.type_id # => 164
377
- jump_clone.location_id # => 61000032
378
- jump_clone.clone_name # => ""
330
+ # TODO: add pagination support
331
+ ```
379
332
 
380
- character_sheet.jump_clone_implants.size # => 15
333
+ ##### Get character asset locations
381
334
 
382
- jump_clone_implant = character_sheet.jump_clone_implants.first # => #<EveOnline::JumpCloneImplant:0x007fae9a929b40 @options={"@jumpCloneID"=>"22703029", "@typeID"=>"10209", "@typeName"=>"Memory Augmentation - Improved"}>
335
+ ##### Get character asset names
383
336
 
384
- jump_clone_implant.as_json # => {:jump_clone_id=>22703029, :type_id=>10209, :type_name=>"Memory Augmentation - Improved"}
337
+ ##### Get corporation assets
385
338
 
386
- jump_clone_implant.jump_clone_id # => 22703029
387
- jump_clone_implant.type_id # => 10209
388
- jump_clone_implant.type_name # => "Memory Augmentation - Improved"
339
+ #### Bookmarks
389
340
 
390
- # TODO: finish this
341
+ ##### List bookmarks
391
342
 
392
- ```
343
+ ##### List bookmark folders
393
344
 
394
- #### Character chat channels
345
+ #### Calendar
395
346
 
396
- ```ruby
397
- key_id = 1234567
398
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
399
- options = { character_id: 90729314 }
347
+ ##### List calendar event summaries
400
348
 
401
- character_chat_channels = EveOnline::XML::CharacterChatChannels.new(key_id, v_code, options)
349
+ ##### Get an event
402
350
 
403
- character_chat_channels.current_time # => Fri, 19 Aug 2016 11:05:43 UTC +00:00
404
- character_chat_channels.cached_until # => Fri, 19 Aug 2016 11:19:44 UTC +00:00
405
- character_chat_channels.version # => 2
351
+ ##### Respond to an event
406
352
 
407
- # TODO: finish this
353
+ ##### Get attendees
408
354
 
409
- ```
355
+ #### Character
356
+
357
+ ##### Character affiliation
358
+
359
+ ##### Get character names
410
360
 
411
- #### Character contact list
361
+ ##### Get character's public information
412
362
 
413
363
  ```ruby
414
- key_id = 1234567
415
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
416
364
  options = { character_id: 90729314 }
417
365
 
418
- contact_list = EveOnline::XML::CharacterContactList.new(key_id, v_code, options)
366
+ character = EveOnline::ESI::Character.new(options)
419
367
 
420
- contact_list.current_time # => Fri, 19 Aug 2016 11:08:06 UTC +00:00
421
- contact_list.cached_until # => Fri, 19 Aug 2016 11:22:07 UTC +00:00
422
- contact_list.version # => 2
368
+ character.scope # => nil
423
369
 
424
- # TODO: finish this
370
+ character.as_json
371
+ # => {:corporation_id=>1000168, :birthday=>Fri, 15 Jan 2010 15:26:00 UTC +00:00, :name=>"Green Black", :gender=>"male", :race_id=>2, :bloodline_id=>4, :description=>"", :alliance_id=>12345678, :ancestry_id=>24, :security_status=>1.8694881661345457}
425
372
 
373
+ character.corporation_id # => 1000168
374
+ character.birthday # => Fri, 15 Jan 2010 15:26:00 UTC +00:00
375
+ character.name # => "Green Black"
376
+ character.gender # => "male"
377
+ character.race_id # => 2
378
+ character.bloodline_id # => 4
379
+ character.description # => ""
380
+ character.alliance_id # => 12345678
381
+ character.ancestry_id # => 24
382
+ character.security_status # => 1.8694881661345457
426
383
  ```
427
384
 
428
- #### Character contact notifications
385
+ ##### Get agents research
386
+
387
+ ##### Get blueprints
429
388
 
430
389
  ```ruby
431
- key_id = 1234567
432
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
433
- character_id = 90729314
390
+ options = { token: 'token123', character_id: 90729314 }
434
391
 
435
- contact_notifications = EveOnline::XML::CharacterContactNotifications.new(key_id, v_code, character_id)
392
+ character_blueprints = EveOnline::ESI::CharacterBlueprints.new(options)
436
393
 
437
- contact_notifications.current_time # => Fri, 19 Aug 2016 11:10:23 UTC +00:00
438
- contact_notifications.cached_until # => Fri, 19 Aug 2016 11:37:23 UTC +00:00
439
- contact_notifications.version # => 2
394
+ character_blueprints.scope # => "esi-characters.read_blueprints.v1"
440
395
 
441
- contact_notifications.contact_notifications.size # => 3
396
+ character_blueprints.blueprints.size # => 4
442
397
 
443
- contact_notification = contact_notifications.contact_notifications.first # => #<EveOnline::ContactNotification:0x007fe00413d4e0 @options={"@notificationID"=>"308734131", "@senderID"=>"797400947", "@senderName"=>"CCP Garthagk", "@sentDate"=>"2016-03-19 12:13:00", "@messageData"=>"level: 5\nmessage: ''\n"}>
398
+ blueprint = character_blueprints.blueprints.first
444
399
 
445
- contact_notification.as_json # => {:notification_id=>308734131, :sender_id=>797400947, :sender_name=>"CCP Garthagk", :sent_date=>Sat, 19 Mar 2016 12:13:00 UTC +00:00, :message_data=>"level: 5\nmessage: ''\n"}
400
+ blueprint.as_json # => {:item_id=>716338097,
401
+ # :location_flag=>"Hangar",
402
+ # :location_id=>61000032,
403
+ # :material_efficiency=>10,
404
+ # :quantity=>-2,
405
+ # :runs=>300,
406
+ # :time_efficiency=>0,
407
+ # :type_id=>1010}
446
408
 
447
- contact_notification.notification_id # => 308734131
448
- contact_notification.sender_id # => 797400947
449
- contact_notification.sender_name # => "CCP Garthagk"
450
- contact_notification.sent_date # => Sat, 19 Mar 2016 12:13:00 UTC +00:00
451
- contact_notification.message_data # => "level: 5\nmessage: ''\n"
409
+ blueprint.item_id # => 716338097
410
+ blueprint.location_flag # => "Hangar"
411
+ blueprint.location_id # => 61000032
412
+ blueprint.material_efficiency # => 10
413
+ blueprint.quantity # => -2
414
+ blueprint.runs # => 300
415
+ blueprint.time_efficiency # => 0
416
+ blueprint.type_id # => 1010
417
+
418
+ # TODO: add pagination support
452
419
  ```
453
420
 
454
- #### Character contract bids
421
+ ##### Get chat channels
422
+
423
+ ##### Get corporation history
424
+
425
+ ##### Calculate a CSPA charge cost
426
+
427
+ ##### Get jump fatigue
455
428
 
456
429
  ```ruby
457
- key_id = 1234567
458
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
459
- character_id = 90729314
430
+ options = { token: 'token123', character_id: 90729314 }
460
431
 
461
- contract_bids = EveOnline::XML::CharacterContractBids.new(key_id, v_code, character_id)
432
+ character_fatigue = EveOnline::ESI::CharacterFatigue.new(options)
462
433
 
463
- contract_bids.current_time # => Fri, 19 Aug 2016 12:11:52 UTC +00:00
464
- contract_bids.cached_until # => Fri, 19 Aug 2016 12:25:52 UTC +00:00
465
- contract_bids.version # => 2
434
+ character_fatigue.scope # => "esi-characters.read_fatigue.v1"
466
435
 
467
- # TODO: finish this
436
+ character_fatigue.as_json # => {:jump_fatigue_expire_date=>nil, :last_jump_date=>nil, :last_update_date=>nil}
437
+
438
+ character_fatigue.jump_fatigue_expire_date # => nil
439
+ character_fatigue.last_jump_date # => nil
440
+ character_fatigue.last_update_date # => nil
468
441
 
442
+ # TODO: add real data here
469
443
  ```
470
444
 
471
- #### Character contract items
445
+ ##### Get medals
446
+
447
+ ##### Get character notifications
448
+
449
+ ##### Get new contact notifications
450
+
451
+ ##### Get character portraits
472
452
 
473
453
  ```ruby
474
- key_id = 1234567
475
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
476
- character_id = 90729314
477
- contract_id = 1234 # TODO: recheck
454
+ options = { character_id: 90729314 }
478
455
 
479
- contract_items = EveOnline::XML::CharacterContractItems.new(key_id, v_code, character_id, contract_id)
456
+ character_portrait = EveOnline::ESI::CharacterPortrait.new(options)
480
457
 
481
- # TODO: finish this
458
+ character_portrait.scope # => nil
459
+
460
+ character_portrait.as_json
461
+ # => {:small=>"http://image.eveonline.com/Character/90729314_64.jpg", :medium=>"http://image.eveonline.com/Character/90729314_128.jpg", :large=>"http://image.eveonline.com/Character/90729314_256.jpg", :huge=>"http://image.eveonline.com/Character/90729314_512.jpg"}
482
462
 
463
+ character_portrait.small # => "http://image.eveonline.com/Character/90729314_64.jpg"
464
+ character_portrait.medium # => "http://image.eveonline.com/Character/90729314_128.jpg"
465
+ character_portrait.large # => "http://image.eveonline.com/Character/90729314_256.jpg"
466
+ character_portrait.huge # => "http://image.eveonline.com/Character/90729314_512.jpg"
483
467
  ```
484
468
 
485
- #### Character contacts
469
+ ##### Get character corporation roles
470
+
471
+ ##### Get standings
486
472
 
487
473
  ```ruby
488
- key_id = 1234567
489
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
490
- character_id = 90729314
474
+ options = { token: 'token123', character_id: 90729314 }
491
475
 
492
- contracts = EveOnline::XML::CharacterContracts.new(key_id, v_code, character_id)
476
+ character_standing = EveOnline::ESI::CharacterStandings.new(options)
493
477
 
494
- contracts.current_time # => Fri, 19 Aug 2016 10:57:38 UTC +00:00
495
- contracts.cached_until # => Fri, 19 Aug 2016 11:11:38 UTC +00:00
496
- contracts.version # => 2
478
+ character_standing.scope # => "esi-characters.read_standings.v1"
497
479
 
498
- # TODO: finish this
480
+ character_standing.standings.size # => 37
481
+
482
+ standing = character_standing.standings.first
499
483
 
484
+ standing.as_json # => {:from_id=>500001, :from_type=>"faction", :standing=>0.3303719111639991}
485
+
486
+ standing.from_id # => 500001
487
+ standing.from_type # => "faction"
488
+ standing.standing # => 0.3303719111639991
500
489
  ```
501
490
 
502
- #### Character factional warfare stats
491
+ #### Clones
492
+
493
+ ##### Get clones
503
494
 
504
495
  ```ruby
505
- key_id = 1234567
506
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
507
- character_id = 90729314
496
+ options = { token: 'token123', character_id: 90729314 }
508
497
 
509
- fac_war_stats = EveOnline::XML::CharacterFacWarStats.new(key_id, v_code, character_id)
498
+ character_clones = EveOnline::ESI::CharacterClones.new(options)
510
499
 
511
- # TODO: finish this
500
+ character_clones.scope # => "esi-clones.read_clones.v1"
501
+
502
+ character_clones.last_jump_date # => Fri, 27 Jul 2012 14:50:11 UTC +00:00
503
+
504
+ character_clones.home_location.as_json # => {:location_id=>61000032, :location_type=>"station"}
505
+
506
+ character_clones.jump_clones.size # => 2
512
507
 
508
+ jump_clone = character_clones.jump_clones.first
509
+
510
+ jump_clone.as_json # => {:location_id=>61000032, :location_type=>"station", :implants=>[22118]}
511
+
512
+ jump_clone.location_id # => 61000032
513
+ jump_clone.location_type # => "station"
514
+ jump_clone.implants # => [22118]
513
515
  ```
514
516
 
515
- #### Character industry jobs
517
+ ##### Get active implants
516
518
 
517
519
  ```ruby
518
- key_id = 1234567
519
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
520
- character_id = 90729314
520
+ options = { token: 'token123', character_id: 90729314 }
521
521
 
522
- industry_jobs = EveOnline::XML::CharacterIndustryJobs.new(key_id, v_code, character_id)
522
+ character_implants = EveOnline::ESI::CharacterImplants.new(options)
523
523
 
524
- industry_jobs.current_time # => Mon, 22 Aug 2016 14:10:13 UTC +00:00
525
- industry_jobs.cached_until # => Mon, 22 Aug 2016 14:24:13 UTC +00:00
526
- industry_jobs.version # => 2
524
+ character_implants.scope # => "esi-clones.read_implants.v1"
527
525
 
528
- # TODO: finish this
526
+ character_implants.implants.size # => 5
529
527
 
528
+ character_implants.implants # => [9899, 9941, 9942, 9943, 9956]
530
529
  ```
531
530
 
532
- #### Character industry jobs history
531
+ #### Contacts
533
532
 
534
- ```ruby
535
- key_id = 1234567
536
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
537
- character_id = 90729314
533
+ ##### Delete contacts
538
534
 
539
- industry_jobs_history = EveOnline::XML::CharacterIndustryJobsHistory.new(key_id, v_code, character_id)
535
+ ##### Get contacts
540
536
 
541
- industry_jobs_history.current_time # => Mon, 22 Aug 2016 14:53:37 UTC +00:00
542
- industry_jobs_history.cached_until # => Mon, 22 Aug 2016 20:29:37 UTC +00:00
543
- industry_jobs_history.version # => 2
537
+ ##### Add contacts
544
538
 
545
- # TODO: finish this
539
+ ##### Edit contacts
546
540
 
547
- ```
541
+ ##### Get contact labels
548
542
 
549
- #### Character kill mails
543
+ ##### Get corporation contacts
550
544
 
551
- ```ruby
552
- key_id = 1234567
553
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
554
- character_id = 90729314
545
+ #### Contracts
555
546
 
556
- kill_mails = EveOnline::XML::CharacterKillMails.new(key_id, v_code, character_id)
547
+ ##### Get contracts
557
548
 
558
- kill_mails.current_time # => Fri, 26 Aug 2016 10:27:38 UTC +00:00
559
- kill_mails.cached_until # => Fri, 26 Aug 2016 10:54:38 UTC +00:00
560
- kill_mails.version # => 2
549
+ ##### Get contract bids
561
550
 
562
- # TODO: finish this
551
+ ##### Get contract items
563
552
 
564
- ```
553
+ ##### Get coporation contracts (typo in swagger)
565
554
 
566
- #### Character locations
555
+ ##### Get corporation contract bids
567
556
 
568
- ```ruby
569
- key_id = 1234567
570
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
571
- character_id = 90729314
572
- ids = [123456]
557
+ ##### Get corporation contract items
573
558
 
574
- locations = EveOnline::XML::CharacterLocations.new(key_id, v_code, character_id, ids)
559
+ #### Corporation
575
560
 
576
- locations.current_time # => Fri, 26 Aug 2016 11:01:53 UTC +00:00
577
- locations.cached_until # => Fri, 26 Aug 2016 12:01:53 UTC +00:00
578
- locations.version # => 2
561
+ ##### Get corporation names
579
562
 
580
- # TODO: finish this
563
+ ##### Get npc corporations
581
564
 
565
+ ##### Get corporation information
566
+
567
+ ```ruby
568
+ options = { corporation_id: 98468592 }
569
+
570
+ corporation = EveOnline::ESI::Corporation.new(options)
571
+
572
+ corporation.scope # => nil
573
+
574
+ corporation.as_json
575
+ # => {:alliance_id=>99001258, :ceo_id=>1721864142, :corporation_description=>"", :corporation_name=>"Bullshit Bingo Club", :creation_date=>Mon, 11 Jul 2016 14:22:17 UTC +00:00, :creator_id=>1721864142, :faction=>nil, :member_count=>38, :tax_rate=>0.1, :ticker=>"BUBIC", :url=>"http://"}
576
+
577
+ corporation.alliance_id # => 99001258
578
+ corporation.ceo_id # => 1721864142
579
+ corporation.corporation_description # => ""
580
+ corporation.corporation_name # => "Bullshit Bingo Club"
581
+ corporation.creation_date # => Mon, 11 Jul 2016 14:22:17 UTC +00:00
582
+ corporation.creator_id # => 1721864142
583
+ corporation.faction # => nil
584
+ corporation.member_count # => 38
585
+ corporation.tax_rate # => 0.1
586
+ corporation.ticker # => "BUBIC"
587
+ corporation.corporation_url # => "http://"
582
588
  ```
583
589
 
584
- #### Character mail bodies
590
+ ##### Get alliance history
585
591
 
586
- ```ruby
587
- key_id = 1234567
588
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
589
- character_id = 90729314
590
- ids = [123456]
592
+ ##### Get corporation blueprints
591
593
 
592
- mail_bodies = EveOnline::XML::CharacterMailBodies.new(key_id, v_code, character_id, ids)
594
+ ##### Get corporation divisions
593
595
 
594
- mail_bodies.current_time # => Fri, 26 Aug 2016 11:13:55 UTC +00:00
595
- mail_bodies.cached_until # => Mon, 24 Aug 2026 11:13:55 UTC +00:00
596
- mail_bodies.version # => 2
596
+ ##### Get corporation icon
597
597
 
598
- # TODO: finish this
598
+ ##### Get corporation members
599
599
 
600
- ```
600
+ ##### Get corporation member limit
601
601
 
602
- #### Character mailing lists
602
+ ##### Track corporation members
603
603
 
604
- ```ruby
605
- key_id = 1234567
606
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
607
- character_id = 90729314
604
+ ##### Get corporation member roles
608
605
 
609
- mailing_lists = EveOnline::XML::CharacterMailingLists.new(key_id, v_code, character_id)
606
+ ##### Get corporation standings
610
607
 
611
- mailing_lists.current_time # => Fri, 26 Aug 2016 12:38:48 UTC +00:00
612
- mailing_lists.cached_until # => Fri, 26 Aug 2016 18:35:48 UTC +00:00
613
- mailing_lists.version # => 2
608
+ ##### Get corporation structures
614
609
 
615
- # TODO: finish this
610
+ ##### Update structure vulnerability schedule
616
611
 
617
- ```
612
+ ##### Get corporation titles
618
613
 
619
- #### Character mail messages headers
614
+ #### Dogma
620
615
 
621
- ```ruby
622
- key_id = 1234567
623
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
624
- character_id = 90729314
616
+ ##### Get attributes
625
617
 
626
- mail_messages = EveOnline::XML::CharacterMailMessages.new(key_id, v_code, character_id)
618
+ ```ruby
619
+ dogma_attributes = EveOnline::ESI::DogmaAttributes.new
627
620
 
628
- mail_messages.current_time # => Fri, 26 Aug 2016 12:49:38 UTC +00:00
629
- mail_messages.cached_until # => Fri, 26 Aug 2016 13:03:38 UTC +00:00
630
- mail_messages.version # => 2
621
+ dogma_attributes.scope # => nil
631
622
 
632
- # TODO: finish this
623
+ dogma_attributes.attributes.size # => 2385
633
624
 
625
+ dogma_attributes.attributes.first # => 2
634
626
  ```
635
627
 
636
- #### Character market orders
628
+ ##### Get attribute information
637
629
 
638
630
  ```ruby
639
- key_id = 1234567
640
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
641
- options = { character_id: 90729314 }
631
+ options = { attribute_id: 2 }
632
+
633
+ dogma_attribute = EveOnline::ESI::DogmaAttribute.new(options)
634
+
635
+ dogma_attribute.scope # => nil
636
+
637
+ dogma_attribute.as_json # => {:id=>2,
638
+ # :name=>"isOnline",
639
+ # :description=>"Boolean to store status of online effect",
640
+ # :icon_id=>nil,
641
+ # :default_value=>0.0,
642
+ # :published=>nil,
643
+ # :display_name=>"",
644
+ # :unit_id=>nil,
645
+ # :stackable=>true,
646
+ # :high_is_good=>true}
647
+
648
+ dogma_attribute.id # => 2
649
+ dogma_attribute.name # => "isOnline"
650
+ dogma_attribute.description # => "Boolean to store status of online effect"
651
+ dogma_attribute.icon_id # => nil
652
+ dogma_attribute.default_value # => 0.0
653
+ dogma_attribute.published # => nil
654
+ dogma_attribute.display_name # => ""
655
+ dogma_attribute.unit_id # => nil
656
+ dogma_attribute.stackable # => true
657
+ dogma_attribute.high_is_good # => true
658
+ ```
642
659
 
643
- market_orders = EveOnline::XML::CharacterMarketOrders.new(key_id, v_code, options)
660
+ ##### Get effects
644
661
 
645
- market_orders.current_time # => Fri, 26 Aug 2016 13:56:17 UTC +00:00
646
- market_orders.cached_until # => Fri, 26 Aug 2016 14:53:17 UTC +00:00
647
- market_orders.version # => 2
662
+ ##### Get effect information
648
663
 
649
- market_orders.orders.size # => 1
664
+ #### Faction Warfare
650
665
 
651
- marker_order = market_orders.orders.first
666
+ ##### List of the top factions in faction warfare
652
667
 
653
- marker_order.as_json # => {:order_id=>4053334100, :char_id=>1801683792, :station_id=>60005686, :vol_entered=>340000, :vol_remaining=>245705, :min_volume=>1, :order_state=>0, :type_id=>24488, :range=>32767, :account_key=>1000, :duration=>90, :escrow=>0.0, :price=>92.0, :bid=>false, :issued=>Thu, 01 Sep 2016 20:01:57 UTC +00:00}
668
+ ##### List of the top pilots in faction warfare
654
669
 
655
- marker_order.order_id # => 4053334100
656
- marker_order.char_id # => 1801683792
657
- marker_order.station_id # => 60005686
658
- marker_order.vol_entered # => 340000
659
- marker_order.vol_remaining # => 245705
660
- marker_order.min_volume # => 1
661
- marker_order.order_state # => 0
662
- marker_order.type_id # => 24488
663
- marker_order.range # => 32767
664
- marker_order.account_key # => 1000
665
- marker_order.duration # => 90
666
- marker_order.escrow # => 0.0
667
- marker_order.price # => 92.0
668
- marker_order.bid # => false
669
- marker_order.issued # => Thu, 01 Sep 2016 20:01:57 UTC +00:00
670
- ```
670
+ ##### List of the top corporations in faction warfare
671
671
 
672
- #### Character medals
672
+ ##### An overview of statistics about factions involved in faction warfare
673
673
 
674
- ```ruby
675
- key_id = 1234567
676
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
677
- character_id = 90729314
674
+ ##### Ownership of faction warfare systems
678
675
 
679
- character_medals = EveOnline::XML::CharacterMedals.new(key_id, v_code, character_id)
676
+ ##### Data about which NPC factions are at war
680
677
 
681
- character_medals.current_time # => Fri, 01 Jul 2016 14:22:43 UTC +00:00
682
- character_medals.cached_until # => Fri, 01 Jul 2016 20:13:49 UTC +00:00
683
- character_medals.version # => 2
678
+ #### Fittings
684
679
 
685
- # TODO: finish this
680
+ ##### Get fitting
686
681
 
687
- ```
682
+ ##### Create fitting
688
683
 
689
- #### Character notification headers
684
+ ##### Delete fitting
690
685
 
691
- ```ruby
692
- key_id = 1234567
693
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
694
- character_id = 90729314
686
+ #### Fleets
695
687
 
696
- notifications = EveOnline::XML::CharacterNotifications.new(key_id, v_code, character_id)
688
+ ##### Get fleet information
697
689
 
698
- notifications.current_time # => Fri, 26 Aug 2016 14:02:06 UTC +00:00
699
- notifications.cached_until # => Fri, 26 Aug 2016 14:29:06 UTC +00:00
700
- notifications.version # => 2
690
+ ##### Update fleet
701
691
 
702
- # TODO: finish this
692
+ ##### Get fleet members
693
+
694
+ ##### Create fleet invitation
695
+
696
+ ##### Kick fleet member
697
+
698
+ ##### Move fleet member
699
+
700
+ ##### Delete fleet squad
701
+
702
+ ##### Rename fleet squad
703
+
704
+ ##### Get fleet wings
703
705
 
706
+ ##### Create fleet wing
707
+
708
+ ##### Delete fleet wing
709
+
710
+ ##### Rename fleet wing
711
+
712
+ ##### Create fleet squad
713
+
714
+ #### Incursions
715
+
716
+ ##### List incursions
717
+
718
+ #### Industry
719
+
720
+ ##### List character industry jobs
721
+ ```ruby
722
+ options = { token: 'token123', character_id: 90729314 }
723
+
724
+ character_jobs = EveOnline::ESI::CharacterIndustryJobs.new(options)
725
+
726
+ character_jobs.scope => # => "esi-industry.read_character_jobs.v1"
727
+
728
+ character_jobs.jobs.size # => 3
729
+
730
+ job = character_jobs.jobs.first
731
+
732
+ job.as_json = # => {:activity_id=>5,
733
+ # :blueprint_id=>1024839597103,
734
+ # :blueprint_location_id=>1023579231924,
735
+ # :blueprint_type_id=>28607,
736
+ # :completed_character_id=>nil,
737
+ # :completed_date=>nil,
738
+ # :cost=>902034.0,
739
+ # :duration=>625697,
740
+ # :end_date=>Sat, 25 Nov 2017 16:04:31 UTC +00:00,
741
+ # :facility_id=>1023579231924,
742
+ # :installer_id=>93997721,
743
+ # :job_id=>344732396,
744
+ # :licensed_runs=>1,
745
+ # :output_location_id=>1023579231924,
746
+ # :pause_date=>nil,
747
+ # :probability=>1.0,
748
+ # :product_type_id=>28607,
749
+ # :runs=>2,
750
+ # :start_date=>Sat, 18 Nov 2017 10:16:14 UTC +00:00,
751
+ # :station_id=>1023579231924,
752
+ # :status=>"active",
753
+ # :successful_runs=>nil}
754
+
755
+ job.activity_id # => 5
756
+ job.blueprint_id # => 1024839597103
757
+ job.blueprint_location_id # => 1023579231924
758
+ job.blueprint_type_id # => 28607
759
+ job.completed_character_id # => nil
760
+ job.completed_date # => nil
761
+ job.cost # => 902034.0
762
+ job.duration # => 625697
763
+ job.end_date # => Sat, 25 Nov 2017 16:04:31 UTC +00:00
764
+ job.facility_id # => 1023579231924
765
+ job.installer_id # => 93997721
766
+ job.job_id # => 344732396
767
+ job.licensed_runs # => 1
768
+ job.output_location_id # => 1023579231924
769
+ job.pause_date # => nil
770
+ job.probability # => 1.0
771
+ job.product_type_id # => 28607
772
+ job.runs # => 2
773
+ job.start_date # => Sat, 18 Nov 2017 10:16:14 UTC +00:00
774
+ job.station_id # => 1023579231924
775
+ job.status # => "active"
776
+ job.successful_runs # => nil
777
+
778
+ # TODO: add pagination support
704
779
  ```
705
780
 
706
- #### Character notification texts
707
781
 
782
+ ##### List corporation industry jobs
708
783
  ```ruby
709
- key_id = 1234567
710
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
711
- character_id = 90729314
712
- ids = [123_456]
784
+ options = { token: 'token123', corporation_id: 98146630 }
785
+
786
+ corporation_jobs = EveOnline::ESI::CorporationIndustryJobs.new(options)
787
+
788
+ corporation_jobs.scope # => "esi-industry.read_corporation_jobs.v1"
789
+
790
+ corporation_jobs.jobs.size # => 23
791
+
792
+ job = corporation_jobs.jobs.first
793
+
794
+ job.as_json # => {:activity_id=>1,
795
+ # :blueprint_id=>1026042055832,
796
+ # :blueprint_location_id=>1024956764558,
797
+ # :blueprint_type_id=>28607,
798
+ # :completed_character_id=>nil,
799
+ # :completed_date=>nil,
800
+ # :cost=>19505804.0,
801
+ # :duration=>424816,
802
+ # :end_date=>Thu, 23 Nov 2017 09:20:30 UTC +00:00,
803
+ # :facility_id=>1023579231924,
804
+ # :installer_id=>93174304,
805
+ # :job_id=>344736432,
806
+ # :licensed_runs=>1,
807
+ # :output_location_id=>1024956764558,
808
+ # :pause_date=>nil,
809
+ # :probability=>1.0,
810
+ # :product_type_id=>28606,
811
+ # :runs=>1,
812
+ # :start_date=>Sat, 18 Nov 2017 11:20:14 UTC +00:00,
813
+ # :station_id=>nil,
814
+ # :status=>"active",
815
+ # :successful_runs=>nil}
816
+
817
+ job.activity_id # => 1
818
+
819
+ job.blueprint_id # => 1026042055832
820
+
821
+ job.blueprint_location_id # => 1024956764558
822
+
823
+ job.job.blueprint_type_id # => 28607
824
+
825
+ job.completed_character_id # => nil
826
+
827
+ job.completed_date # => nil
828
+
829
+ job.cost # => 19505804.0
830
+
831
+ job.duration # => 424816
832
+
833
+ job.end_date # => Thu, 23 Nov 2017 09:20:30 UTC +00:00
834
+
835
+ job.facility_id # => 1023579231924
836
+
837
+ job.installer_id # => 93174304
838
+
839
+ job.job_id # => 344736432
840
+
841
+ job.licensed_runs # => 1
842
+
843
+ job.output_location_id # => 1024956764558
844
+
845
+ job.pause_date # => nil
846
+
847
+ job.probability # => 1.0
848
+
849
+ job.product_type_id # => 28606
850
+
851
+ job.runs # => 1
852
+
853
+ job.start_date # => Sat, 18 Nov 2017 11:20:14 UTC +00:00
713
854
 
714
- notification_texts = EveOnline::XML::CharacterNotificationTexts.new(key_id, v_code, character_id, ids)
855
+ job.station_id # => nil
715
856
 
716
- notification_texts.current_time # => Sat, 27 Aug 2016 18:12:52 UTC +00:00
717
- notification_texts.cached_until # => Tue, 25 Aug 2026 18:12:52 UTC +00:00
718
- notification_texts.version # => 2
857
+ job.status # => "active"
719
858
 
720
- # TODO: finish this
859
+ job.successful_runs # => nil
860
+
861
+ # TODO: add pagination support
721
862
 
722
863
  ```
723
864
 
724
- #### Retrieve planetary colonies owned by character
865
+ ##### List industry facilities
725
866
 
726
- ```ruby
727
- key_id = 1234567
728
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
729
- character_id = 90729314
867
+ ##### List solar system cost indices
730
868
 
731
- planetary_colonies = EveOnline::XML::CharacterPlanetaryColonies.new(key_id, v_code, character_id)
869
+ #### Insurance
732
870
 
733
- planetary_colonies.current_time # => Sat, 27 Aug 2016 18:29:02 UTC +00:00
734
- planetary_colonies.cached_until # => Sat, 27 Aug 2016 19:29:02 UTC +00:00
735
- planetary_colonies.version # => 2
871
+ ##### List insurance levels
736
872
 
737
- # TODO: finish this
873
+ #### Killmails
738
874
 
739
- ```
875
+ ##### Get character kills and losses
740
876
 
741
- #### Retrieve planetary links for colonies owned by character
877
+ ##### Get corporation kills and losses
742
878
 
743
- ```ruby
744
- key_id = 1234567
745
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
746
- character_id = 90729314
747
- planet_id = 123_456
879
+ ##### Get a single killmail
748
880
 
749
- planetary_links = EveOnline::XML::CharacterPlanetaryLinks.new(key_id, v_code, character_id, planet_id)
881
+ #### Location
750
882
 
751
- planetary_links.current_time # => Sat, 27 Aug 2016 18:40:23 UTC +00:00
752
- planetary_links.cached_until # => Sat, 27 Aug 2016 19:40:23 UTC +00:00
753
- planetary_links.version # => 2
883
+ ##### Get character location
754
884
 
755
- # TODO: finish this
885
+ ##### Get character online
756
886
 
757
- ```
887
+ ##### Get current ship
758
888
 
759
- #### Retrieve planetary pins for colonies owned by character
889
+ #### Loyalty
760
890
 
761
- ```ruby
762
- key_id = 1234567
763
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
764
- character_id = 90729314
765
- planet_id = 123_456
891
+ ##### Get loyalty points
766
892
 
767
- planetary_pins = EveOnline::XML::CharacterPlanetaryPins.new(key_id, v_code, character_id, planet_id)
893
+ ```ruby
894
+ options = { token: 'token123', character_id: 90729314 }
768
895
 
769
- planetary_pins.current_time # => Sat, 27 Aug 2016 18:48:36 UTC +00:00
770
- planetary_pins.cached_until # => Sat, 27 Aug 2016 19:48:36 UTC +00:00
771
- planetary_pins.version # => 2
896
+ character_loyalty_points = EveOnline::ESI::CharacterLoyaltyPoints.new(options)
772
897
 
773
- # TODO: finish this
898
+ character_loyalty_points.scope # => "esi-characters.read_loyalty.v1"
774
899
 
775
- ```
900
+ character_loyalty_points.loyalty_points.size # => 5
776
901
 
777
- #### Retrieve planetary routes for colonies owned by character
902
+ loyalty_point = character_loyalty_points.loyalty_points.first
778
903
 
779
- ```ruby
780
- key_id = 1234567
781
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
782
- character_id = 90729314
783
- planet_id = 123_456
904
+ loyalty_point.as_json # => {:corporation_id=>1000035, :loyalty_points=>14163}
784
905
 
785
- planetary_routes = EveOnline::XML::CharacterPlanetaryRoutes.new(key_id, v_code, character_id, planet_id)
906
+ loyalty_point.corporation_id # => 1000035
907
+ loyalty_point.loyalty_points # => 14163
908
+ ```
786
909
 
787
- planetary_routes.current_time # => Sat, 27 Aug 2016 20:38:42 UTC +00:00
788
- planetary_routes.cached_until # => Sat, 27 Aug 2016 21:38:42 UTC +00:00
789
- planetary_routes.version # => 2
910
+ ##### List loyalty store offers
790
911
 
791
- # TODO: finish this
912
+ #### Mail
792
913
 
793
- ```
914
+ ##### Return mail headers
794
915
 
795
- #### Retrieve character research
916
+ ##### Send a new mail
796
917
 
797
- ```ruby
798
- key_id = 1234567
799
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
800
- character_id = 90729314
918
+ ##### Get mail labels and unread counts
801
919
 
802
- research = EveOnline::XML::CharacterResearch.new(key_id, v_code, character_id)
920
+ ##### Create a mail label
803
921
 
804
- research.current_time # => Sat, 27 Aug 2016 20:47:32 UTC +00:00
805
- research.cached_until # => Sat, 27 Aug 2016 21:01:32 UTC +00:00
806
- research.version # => 2
922
+ ##### Delete a mail label
807
923
 
808
- # TODO: finish this
924
+ ##### Return mailing list subscriptions
809
925
 
810
- ```
926
+ ##### Delete a mail
811
927
 
812
- #### Retrieve character skill queue
928
+ ##### Return a mail
813
929
 
814
- ```ruby
815
- key_id = 1234567
816
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
817
- character_id = 90729314
930
+ ##### Update metadata about a mail
818
931
 
819
- character_skill_queue = EveOnline::XML::CharacterSkillQueue.new(key_id, v_code, character_id)
932
+ #### Market
820
933
 
821
- character_skill_queue.current_time # => Sat, 27 Aug 2016 21:06:27 UTC +00:00
822
- character_skill_queue.cached_until # => Sat, 27 Aug 2016 21:07:58 UTC +00:00
823
- character_skill_queue.version # => 2
934
+ ##### List orders from a character
824
935
 
825
- character_skill_queue.skills.size # => 11
936
+ ##### List orders from a corporation
826
937
 
827
- skill_queue_entry = character_skill_queue.skills.first
938
+ ##### Get item groups
828
939
 
829
- skill_queue_entry.as_json
830
- # => {:queue_position=>0, :type_id=>3420, :level=>5, :start_sp=>181020, :end_sp=>1024000, :start_time=>Mon, 15 Aug 2016 17:25:30 UTC +00:00, :end_time=>Wed, 31 Aug 2016 23:41:36 UTC +00:00}
940
+ ##### Get item group information
831
941
 
832
- skill_queue_entry.queue_position # => 0
833
- skill_queue_entry.type_id # => 3420
834
- skill_queue_entry.level # => 5
835
- skill_queue_entry.start_sp # => 181020
836
- skill_queue_entry.end_sp # => 1024000
837
- skill_queue_entry.start_time # => Mon, 15 Aug 2016 17:25:30 UTC +00:00
838
- skill_queue_entry.end_time # => Wed, 31 Aug 2016 23:41:36 UTC +00:00
839
- ```
942
+ ##### List market prices
840
943
 
841
- #### Character skill in training
944
+ ##### List orders in a structure
842
945
 
843
- ```ruby
844
- key_id = 1234567
845
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
846
- character_id = 90729314
946
+ ##### List historical market statistics in a region
847
947
 
848
- skill_in_training = EveOnline::XML::CharacterSkillInTraining.new(key_id, v_code, character_id)
948
+ ##### List orders in a region
849
949
 
850
- skill_in_training.current_time # => Sun, 03 Jan 2016 16:09:15 UTC +00:00
851
- skill_in_training.cached_until # => Sun, 03 Jan 2016 16:51:29 UTC +00:00
852
- skill_in_training.version # => 2
950
+ ##### List type IDs relevant to a market
853
951
 
854
- skill_in_training.as_json
855
- # => {:current_tq_time=>Sun, 03 Jan 2016 16:09:15 UTC +00:00, :training_end_time=>Wed, 13 Jan 2016 16:38:31 UTC +00:00, :training_start_time=>Wed, 23 Dec 2015 11:35:45 UTC +00:00, :training_type_id=>30651, :training_start_sp=>226275, :training_destination_sp=>1280000, :training_to_level=>5, :skill_in_training=>1}
952
+ #### Opportunities
856
953
 
857
- skill_in_training.current_tq_time # => Sun, 03 Jan 2016 16:09:15 UTC +00:00
858
- skill_in_training.training_end_time # => Wed, 13 Jan 2016 16:38:31 UTC +00:00
859
- skill_in_training.training_start_time # => Wed, 23 Dec 2015 11:35:45 UTC +00:00
860
- skill_in_training.training_type_id # => 30651
861
- skill_in_training.training_start_sp # => 226275
862
- skill_in_training.training_destination_sp # => 1280000
863
- skill_in_training.training_to_level # => 5
864
- skill_in_training.skill_in_training # => 1
865
- ```
954
+ ##### Get a character's completed task
866
955
 
867
- #### Character standings
956
+ ##### Get opportunities groups
868
957
 
869
- ```ruby
870
- key_id = 1234567
871
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
872
- character_id = 90729314
958
+ ##### Get opportunities group
873
959
 
874
- standings = EveOnline::XML::CharacterStandings.new(key_id, v_code, character_id)
960
+ ##### Get opportunities tasks
875
961
 
876
- standings.current_time # => Thu, 18 Aug 2016 14:50:50 UTC +00:00
877
- standings.cached_until # => Thu, 18 Aug 2016 17:47:50 UTC +00:00
878
- standings.version # => 2
962
+ ##### Get opportunities task
879
963
 
880
- standings.agents.size # => 15
964
+ #### Planetary Interaction
881
965
 
882
- agent = standings.agents.first # => #<EveOnline::Standing:0x007f90f33df4d8 @options={"@fromID"=>"3008771", "@fromName"=>"Nehrnah Gorouyar", "@standing"=>"0.12"}>
966
+ ##### Get colonies
883
967
 
884
- agent.as_json # => {:from_id=>3008771, :from_name=>"Nehrnah Gorouyar", :standing=>0.12}
968
+ ##### Get colony layout
885
969
 
886
- agent.from_id # => 3008771
887
- agent.from_name # => "Nehrnah Gorouyar"
888
- agent.standing # => 0.12
970
+ ##### Get schematic information
889
971
 
890
- standings.npc_corporations.size # => 6
972
+ #### Routes
891
973
 
892
- npc_corporation = standings.npc_corporations.first # => #<EveOnline::Standing:0x007f90f33af9e0 @options={"@fromID"=>"1000035", "@fromName"=>"Caldari Navy", "@standing"=>"0.72"}>
974
+ ##### Get route
893
975
 
894
- npc_corporation.as_json # => {:from_id=>1000035, :from_name=>"Caldari Navy", :standing=>0.72}
976
+ #### Search
895
977
 
896
- npc_corporation.from_id # => 1000035
897
- npc_corporation.from_name # => "Caldari Navy"
898
- npc_corporation.standing # => 0.72
978
+ ##### Search on a string (search for something in character stuff)
899
979
 
900
- standings.factions.size # => 16
980
+ ##### Search on a string
901
981
 
902
- faction = standings.factions.first # => #<EveOnline::Standing:0x007f90f3395a90 @options={"@fromID"=>"500001", "@fromName"=>"Caldari State", "@standing"=>"0.33"}>
982
+ #### Skills
903
983
 
904
- faction.as_json # => {:from_id=>500001, :from_name=>"Caldari State", :standing=>0.33}
984
+ ##### Get character attributes
905
985
 
906
- faction.from_id # => 500001
907
- faction.from_name # => "Caldari State"
908
- faction.standing # => 0.33
986
+ ```ruby
987
+ options = { token: 'token123', character_id: 90729314 }
988
+
989
+ character_attributes = EveOnline::ESI::CharacterAttributes.new(options)
990
+
991
+ character_attributes.scope # => "esi-skills.read_skills.v1"
992
+
993
+ character_attributes.as_json # => {:charisma=>20,
994
+ # :intelligence=>24,
995
+ # :memory=>24,
996
+ # :perception=>23,
997
+ # :willpower=>23,
998
+ # :bonus_remaps=>2,
999
+ # :last_remap_date=>Sat, 07 May 2011 12:58:06 UTC +00:00,
1000
+ # :accrued_remap_cooldown_date=>Sun, 06 May 2012 12:58:06 UTC +00:00}
1001
+
1002
+ character_attributes.charisma # => 20
1003
+ character_attributes.intelligence # => 24
1004
+ character_attributes.memory # => 24
1005
+ character_attributes.perception # => 23
1006
+ character_attributes.willpower # => 23
1007
+ character_attributes.bonus_remaps # => 2
1008
+ character_attributes.last_remap_date # => Sat, 07 May 2011 12:58:06 UTC +00:00
1009
+ character_attributes.accrued_remap_cooldown_date # => Sun, 06 May 2012 12:58:06 UTC +00:00
909
1010
  ```
910
1011
 
911
- #### Character upcoming calender events
1012
+ ##### Get character's skill queue
912
1013
 
913
1014
  ```ruby
914
- key_id = 1234567
915
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
916
- character_id = 90729314
1015
+ options = { token: 'token123', character_id: 90729314 }
917
1016
 
918
- upcoming_events = EveOnline::XML::CharacterUpcomingCalendarEvents.new(key_id, v_code, character_id)
1017
+ character_skill_queue = EveOnline::ESI::CharacterSkillQueue.new(options)
919
1018
 
920
- upcoming_events.current_time # => Thu, 17 Dec 2015 20:43:46 UTC +00:00
921
- upcoming_events.cached_until # => Thu, 17 Dec 2015 21:40:46 UTC +00:00
922
- upcoming_events.version # => 2
1019
+ character_skill_queue.scope # => "esi-skills.read_skillqueue.v1"
923
1020
 
924
- upcoming_events.events.size # => 2
1021
+ character_skill_queue.skills.size # => 50
925
1022
 
926
- event = upcoming_events.events.first
1023
+ skill_queue_entry = character_skill_queue.skills.first
927
1024
 
928
- event.as_json
929
- # => {:event_id=>1234567, :owner_id=>98765432, :owner_name=>"MyCorp", :event_date=>Sat, 26 Dec 2015 19:47:29 UTC +00:00, :event_title=>"Control tower in 99-999", :duration=>60, :importance=>false, :response=>:undecided, :event_text=>"<b>Minmatar Control Tower</b> will run out of fuel and go offline...", :owner_type_id=>2}
1025
+ skill_queue_entry.as_json
1026
+ # => {:skill_id=>12487, :finished_level=>3, :queue_position=>0, :finish_date=>Mon, 16 Jan 2017 03:00:35 UTC +00:00, :start_date=>Sun, 15 Jan 2017 11:38:25 UTC +00:00, :training_start_sp=>7263, :level_end_sp=>40000, :level_start_sp=>7072}
930
1027
 
931
- event.event_id # => 1234567
932
- event.owner_id # => 98765432
933
- event.owner_name # => "MyCorp"
934
- event.event_date # => Sat, 26 Dec 2015 19:47:29 UTC +00:00
935
- event.event_title # => "Control tower in 99-999"
936
- event.duration # => 60
937
- event.importance # => false
938
- event.response # => :undecided
939
- event.event_text # => "<b>Minmatar Control Tower</b> will run out of fuel and go offline..."
940
- event.owner_type_id # => 2
1028
+ skill_queue_entry.skill_id # => 12487
1029
+ skill_queue_entry.finished_level # => 3
1030
+ skill_queue_entry.queue_position # => 0
1031
+ skill_queue_entry.finish_date # => Mon, 16 Jan 2017 03:00:35 UTC +00:00
1032
+ skill_queue_entry.start_date # => Sun, 15 Jan 2017 11:38:25 UTC +00:00
1033
+ skill_queue_entry.training_start_sp # => 7263
1034
+ skill_queue_entry.level_end_sp # => 40000
1035
+ skill_queue_entry.level_start_sp # => 7072
941
1036
  ```
942
1037
 
943
- #### Retrieve character wallet journal
1038
+ ##### Get character skills
944
1039
 
945
1040
  ```ruby
946
- key_id = 1234567
947
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
948
- character_id = 90729314
1041
+ options = { token: 'token123', character_id: 90729314 }
949
1042
 
950
- wallet_journal = EveOnline::XML::CharacterWalletJournal.new(key_id, v_code, character_id)
1043
+ character_skills = EveOnline::ESI::CharacterSkills.new(options)
951
1044
 
952
- wallet_journal.current_time # => Sat, 27 Aug 2016 21:14:20 UTC +00:00
953
- wallet_journal.cached_until # => Sat, 27 Aug 2016 21:41:20 UTC +00:00
954
- wallet_journal.version # => 2
1045
+ character_skills.scope # => "esi-skills.read_skills.v1"
955
1046
 
956
- wallet_journal.wallet_journal_entries.size # => 3
1047
+ character_skills.total_sp # => 43232144
957
1048
 
958
- wallet_journal_entry = wallet_journal.wallet_journal_entries.first
1049
+ character_skills.as_json # => {:total_sp=>43232144}
959
1050
 
960
- wallet_journal_entry.as_json # => {:date=>Thu, 01 Sep 2016 20:01:57 UTC +00:00, :ref_id=>6709813912, :ref_type_id=>15, :owner_name1=>"reygar burnt", :owner_id1=>1801683792, :owner_name2=>"Wiyrkomi Corporation", :owner_id2=>1000011, :arg_name1=>"EVE System", :arg_id1=>1, :amount=>-9250.00, :balance=>385574791.30, :reason=>"", :tax_receiver_id=>"", :tax_amount=>"", :owner1_type_id=>1380, :owner2_type_id=>2}
1051
+ character_skills.skills.size # => 180
961
1052
 
962
- wallet_journal_entry.date # => Thu, 01 Sep 2016 20:01:57 UTC +00:00
963
- wallet_journal_entry.ref_id # => 6709813912
964
- wallet_journal_entry.ref_type_id # => 15
965
- wallet_journal_entry.owner_name1 # => "reygar burnt"
966
- wallet_journal_entry.owner_id1 # => 1801683792
967
- wallet_journal_entry.owner_name2 # => "Wiyrkomi Corporation"
968
- wallet_journal_entry.owner_id2 # => 1000011
969
- wallet_journal_entry.arg_name1 # => "EVE System"
970
- wallet_journal_entry.arg_id1 # => 1
971
- wallet_journal_entry.amount # => -9250.00
972
- wallet_journal_entry.balance # => 385574791.30
973
- wallet_journal_entry.reason # => ""
974
- wallet_journal_entry.tax_receiver_id # => ""
975
- wallet_journal_entry.tax_amount # => ""
976
- wallet_journal_entry.owner1_type_id # => 1380
977
- wallet_journal_entry.owner2_type_id # => 2
978
- ```
1053
+ skill = character_skills.skills.first
979
1054
 
980
- #### Retrieve character wallet transactions
1055
+ skill.as_json # => {:skill_id=>22536, :skillpoints_in_skill=>500, :current_skill_level=>1}
981
1056
 
982
- ```ruby
983
- key_id = 1234567
984
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
985
- character_id = 90729314
1057
+ skill.skill_id # => 22536
1058
+ skill.skillpoints_in_skill # => 500
1059
+ skill.current_skill_level # => 1
1060
+ ```
986
1061
 
987
- wallet_transactions = EveOnline::XML::CharacterWalletTransactions.new(key_id, v_code, character_id)
1062
+ #### Sovereignty
988
1063
 
989
- wallet_transactions.current_time # => Sat, 27 Aug 2016 21:23:53 UTC +00:00
990
- wallet_transactions.cached_until # => Sat, 27 Aug 2016 21:50:53 UTC +00:00
991
- wallet_transactions.version # => 2
1064
+ ##### List sovereignty campaigns
992
1065
 
993
- # TODO: finish this
1066
+ ##### List sovereignty of systems
994
1067
 
995
- ```
1068
+ ##### List sovereignty structures
996
1069
 
997
- #### Corporation market orders
1070
+ #### Status
1071
+
1072
+ ##### Retrieve the uptime and player counts
998
1073
 
999
1074
  ```ruby
1000
- key_id = 1234567
1001
- v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
1002
- options = { character_id: 90729314 }
1075
+ server_status = EveOnline::ESI::ServerStatus.new
1003
1076
 
1004
- corporation_market_orders = EveOnline::XML::CorporationMarketOrders.new(key_id, v_code, options)
1077
+ server_status.scope # => nil
1005
1078
 
1006
- # TODO: finish this
1079
+ server_status.as_json # => {:start_time=>Tue, 11 Apr 2017 11:05:35 UTC +00:00, :players=>34545, :server_version=>"1135520", :vip=>nil}
1007
1080
 
1081
+ server_status.start_time # => Tue, 11 Apr 2017 11:05:35 UTC +00:00
1082
+ server_status.players # => 34545
1083
+ server_status.server_version # => "1135520"
1084
+ server_status.vip # => nil
1008
1085
  ```
1009
1086
 
1010
- Character Names to IDs:
1087
+ #### Universe
1088
+
1089
+ ##### Get bloodlines
1090
+
1011
1091
  ```ruby
1012
- input = ['Johnn Dillinger'] # => ["Johnn Dillinger"]
1092
+ bloodlines = EveOnline::ESI::Bloodlines.new
1093
+
1094
+ bloodlines.scope # => nil
1095
+
1096
+ bloodlines.bloodlines.size # => 15
1097
+
1098
+ bloodline = bloodlines.bloodlines.first
1099
+
1100
+ bloodline.as_json # => {:bloodline_id=>4,
1101
+ # :name=>"Brutor",
1102
+ # :description=>"A martial, strong-willed people, the Brutor...",
1103
+ # :race_id=>2,
1104
+ # :ship_type_id=>588,
1105
+ # :corporation_id=>1000049,
1106
+ # :perception=>9,
1107
+ # :willpower=>7,
1108
+ # :charisma=>6,
1109
+ # :memory=>4,
1110
+ # :intelligence=>4}
1111
+
1112
+ bloodline.bloodline_id # => 4
1113
+ bloodline.name # => "Brutor"
1114
+ bloodline.description # => "A martial, strong-willed people, the Brutor..."
1115
+ bloodline.race_id # => 2
1116
+ bloodline.ship_type_id # => 588
1117
+ bloodline.corporation_id # => 1000049
1118
+ bloodline.perception # => 9
1119
+ bloodline.willpower # => 7
1120
+ bloodline.charisma # => 6
1121
+ bloodline.memory # => 4
1122
+ bloodline.intelligence # => 4
1123
+
1124
+ # TODO: add languages
1125
+ ```
1013
1126
 
1014
- characters_ids = EveOnline::Eve::CharacterID.new(input)
1127
+ ##### Get item categories
1015
1128
 
1016
- characters_ids.current_time # => Mon, 11 Apr 2016 18:51:01 UTC +00:00
1017
- characters_ids.cached_until # => Wed, 11 May 2016 18:51:01 UTC +00:00
1018
- characters_ids.version # => 2
1129
+ ##### Get item category information
1019
1130
 
1020
- characters_ids.response # => {"eveapi"=>{"currentTime"=>"2016-04-11 18:51:01", "result"=>{"rowset"=>{"row"=>{"@name"=>"Johnn Dillinger", "@characterID"=>"1337512245"}, "@name"=>"characters", "@key"=>"characterID", "@columns"=>"name,characterID"}}, "cachedUntil"=>"2016-05-11 18:51:01", "@version"=>"2"}}
1021
- ```
1131
+ ##### Get constellations
1132
+
1133
+ ##### Get constellation information
1022
1134
 
1023
- #### Server status
1135
+ ##### Get factions
1024
1136
 
1025
1137
  ```ruby
1026
- status = EveOnline::XML::ServerStatus.new
1138
+ factions = EveOnline::ESI::Factions.new
1139
+
1140
+ factions.scope # => nil
1141
+
1142
+ factions.factions.size # => 22
1143
+
1144
+ faction = factions.factions.first
1145
+
1146
+ faction.as_json # => {:faction_id=>500002,
1147
+ # :name=>"Minmatar Republic",
1148
+ # :description=>"The Minmatar Republic was formed over a century ago when the Minmatar threw...",
1149
+ # :solar_system_id=>30002544,
1150
+ # :corporation_id=>1000051,
1151
+ # :militia_corporation_id=>1000182,
1152
+ # :size_factor=>5.0,
1153
+ # :station_count=>570,
1154
+ # :station_system_count=>291,
1155
+ # :is_unique=>true}
1156
+
1157
+ faction.faction_id # => 500002
1158
+ faction.name # => "Minmatar Republic"
1159
+ faction.description # => "The Minmatar Republic was formed over a century ago when the Minmatar threw..."
1160
+ faction.solar_system_id # => 30002544
1161
+ faction.corporation_id # => 1000051
1162
+ faction.militia_corporation_id # => 1000182
1163
+ faction.size_factor # => 5.0
1164
+ faction.station_count # => 570
1165
+ faction.station_system_count # => 291
1166
+ faction.is_unique # => true
1167
+
1168
+ # TODO: add languages
1169
+ ```
1027
1170
 
1028
- status.as_json
1029
- # => {:current_time=>Mon, 23 Nov 2015 18:18:29 UTC +00:00, :cached_until=>Mon, 23 Nov 2015 18:19:44 UTC +00:00, :server_open=>true, :online_players=>25611}
1171
+ ##### Get graphics
1030
1172
 
1031
- status.current_time # => Mon, 23 Nov 2015 18:18:29 UTC +00:00
1032
- status.cached_until # => Mon, 23 Nov 2015 18:19:44 UTC +00:00
1033
- status.server_open? # => true
1034
- status.online_players # => 25611
1035
- status.version # => 2
1036
- ```
1173
+ ##### Get graphic information
1037
1174
 
1038
- ### CREST Examples
1175
+ ##### Get item groups
1039
1176
 
1040
- Sovereignty campaigns:
1177
+ ##### Get item group information
1041
1178
 
1042
- ```ruby
1043
- campaigns = EveOnline::Sovereignty::Campaigns.new
1179
+ ##### Get moon information
1044
1180
 
1045
- campaigns.total_count # => 205
1046
- campaigns.page_count # => 1
1181
+ ##### Get names and categories for a set of ID's
1047
1182
 
1048
- campaigns.items.class # => Array
1183
+ ##### Get planet information
1049
1184
 
1050
- campaigns.items.size # => 205
1185
+ ##### Get character races
1051
1186
 
1052
- campaigns.items.first
1053
- # => {"eventType_str"=>"1", "campaignID"=>21773, "eventType"=>1, "sourceSolarsystem"=>{"id_str"=>"30003629", "href"=>"https://crest-tq.eveonline.com/solarsystems/30003629/", "id"=>30003629, "name"=>"S-KSWL"}, "attackers"=>{"score"=>0.8}, "campaignID_str"=>"21773", "sourceItemID"=>1020806305659, "startTime"=>"2016-05-04T15:43:16", "sourceItemID_str"=>"1020806305659", "defender"=>{"defender"=>{"id_str"=>"99006297", "href"=>"https://crest-tq.eveonline.com/alliances/99006297/", "id"=>99006297, "name"=>"DRONE WALKERS"}, "score"=>0.2}, "constellation"=>{"id_str"=>"20000529", "href"=>"https://crest-tq.eveonline.com/constellations/20000529/", "id"=>20000529, "name"=>"TJ10-O"}}
1054
- ```
1187
+ ```ruby
1188
+ races = EveOnline::ESI::Races.new
1055
1189
 
1056
- ### ESI Examples
1190
+ races.scope # => nil
1057
1191
 
1058
- #### Public information about a character
1192
+ races.races.size # => 4
1059
1193
 
1060
- ```ruby
1061
- character_id = 90729314
1194
+ race = races.races.first
1062
1195
 
1063
- character = EveOnline::ESI::Character.new(character_id)
1196
+ race.as_json # => {:race_id=>2,
1197
+ # :name=>"Minmatar",
1198
+ # :description=>"Once a thriving tribal civilization, the Minmatar...",
1199
+ # :alliance_id=>500002}
1064
1200
 
1065
- character.as_json
1066
- # => {:corporation_id=>1000168, :birthday=>Fri, 15 Jan 2010 15:26:00 UTC +00:00, :name=>"Green Black", :gender=>"male", :race_id=>2, :bloodline_id=>4, :description=>"", :alliance_id=>12345678, :ancestry_id=>24, :security_status=>1.8694881661345457}
1201
+ race.race_id # => 2
1202
+ race.name # => "Minmatar"
1203
+ race.description # => "Once a thriving tribal civilization, the Minmatar..."
1204
+ race.alliance_id # => 500002
1205
+
1206
+ # TODO: add languages
1067
1207
 
1068
- character.corporation_id # => 1000168
1069
- character.birthday # => Fri, 15 Jan 2010 15:26:00 UTC +00:00
1070
- character.name # => "Green Black"
1071
- character.gender # => "male"
1072
- character.race_id # => 2
1073
- character.bloodline_id # => 4
1074
- character.description # => ""
1075
- character.alliance_id # => 12345678
1076
- character.ancestry_id # => 24
1077
- character.security_status # => 1.8694881661345457
1078
1208
  ```
1079
1209
 
1080
- #### Get portrait urls for a character
1210
+ ##### Get regions
1081
1211
 
1082
- ```ruby
1083
- character_id = 90729314
1212
+ ##### Get region information
1084
1213
 
1085
- character_portrait = EveOnline::ESI::CharacterPortrait.new(character_id)
1214
+ ##### Get stargate information
1086
1215
 
1087
- character_portrait.as_json
1088
- # => {:small=>"http://image.eveonline.com/Character/90729314_64.jpg", :medium=>"http://image.eveonline.com/Character/90729314_128.jpg", :large=>"http://image.eveonline.com/Character/90729314_256.jpg", :huge=>"http://image.eveonline.com/Character/90729314_512.jpg"}
1216
+ ##### Get star information
1089
1217
 
1090
- character_portrait.small # => "http://image.eveonline.com/Character/90729314_64.jpg"
1091
- character_portrait.medium # => "http://image.eveonline.com/Character/90729314_128.jpg"
1092
- character_portrait.large # => "http://image.eveonline.com/Character/90729314_256.jpg"
1093
- character_portrait.huge # => "http://image.eveonline.com/Character/90729314_512.jpg"
1094
- ```
1218
+ ##### Get station information
1095
1219
 
1096
- #### List all trained skills for the given character
1220
+ ##### List all public structures
1097
1221
 
1098
- ```ruby
1099
- token = 'token123'
1222
+ ##### Get structure information
1100
1223
 
1101
- character_id = 90729314
1224
+ ##### Get system jumps
1102
1225
 
1103
- character_skills = EveOnline::ESI::CharacterSkills.new(token, character_id)
1226
+ ##### Get system kills
1104
1227
 
1105
- character_skills.total_sp # => 43232144
1228
+ ##### Get solar systems
1106
1229
 
1107
- character_skills.as_json # => {:total_sp=>43232144}
1230
+ ##### Get solar system information
1108
1231
 
1109
- character_skills.skills.size # => 180
1232
+ ##### Get types
1110
1233
 
1111
- skill = character_skills.skills.first
1234
+ ##### Get type information
1112
1235
 
1113
- skill.as_json # => {:skill_id=>22536, :skillpoints_in_skill=>500, :current_skill_level=>1}
1236
+ #### User Interface
1114
1237
 
1115
- skill.skill_id # => 22536
1116
- skill.skillpoints_in_skill # => 500
1117
- skill.current_skill_level # => 1
1118
- ```
1238
+ ##### Set Autopilot Waypoint
1119
1239
 
1120
- #### List the configured skill queue for the given character
1240
+ ##### Open Contract Window
1121
1241
 
1122
- ```ruby
1123
- token = 'token123'
1242
+ ##### Open Information Window
1124
1243
 
1125
- character_id = 90729314
1244
+ ##### Open Market Details
1126
1245
 
1127
- character_skill_queue = EveOnline::ESI::CharacterSkillQueue.new(token, character_id)
1246
+ ##### Open New Mail Window
1128
1247
 
1129
- character_skill_queue.skills.size # => 50
1248
+ #### Wallet
1130
1249
 
1131
- skill_queue_entry = character_skill_queue.skills.first
1250
+ ##### Get a character's wallet balance
1132
1251
 
1133
- skill_queue_entry.as_json
1134
- # => {:skill_id=>12487, :finished_level=>3, :queue_position=>0, :finish_date=>Mon, 16 Jan 2017 03:00:35 UTC +00:00, :start_date=>Sun, 15 Jan 2017 11:38:25 UTC +00:00, :training_start_sp=>7263, :level_end_sp=>40000, :level_start_sp=>7072}
1252
+ ##### Get character wallet journal
1135
1253
 
1136
- skill_queue_entry.skill_id # => 12487
1137
- skill_queue_entry.finished_level # => 3
1138
- skill_queue_entry.queue_position # => 0
1139
- skill_queue_entry.finish_date # => Mon, 16 Jan 2017 03:00:35 UTC +00:00
1140
- skill_queue_entry.start_date # => Sun, 15 Jan 2017 11:38:25 UTC +00:00
1141
- skill_queue_entry.training_start_sp # => 7263
1142
- skill_queue_entry.level_end_sp # => 40000
1143
- skill_queue_entry.level_start_sp # => 7072
1144
- ```
1254
+ ```ruby
1255
+ options = { token: 'token123', character_id: 90729314 }
1145
1256
 
1146
- #### List of loyalty points for all corporations the character has worked for
1257
+ character_wallet = EveOnline::ESI::CharacterWallet.new(options)
1147
1258
 
1148
- ```ruby
1149
- token = 'token123'
1259
+ character_wallet.scope # => "esi-wallet.read_character_wallet.v1"
1150
1260
 
1151
- character_id = 90729314
1261
+ character_wallet.as_json # => {:wallet=>409488252.49}
1152
1262
 
1153
- character_loyalty_points = EveOnline::ESI::CharacterLoyaltyPoints.new(token, character_id)
1263
+ character_wallet.wallet # => 409488252.49
1264
+ ```
1154
1265
 
1155
- character_loyalty_points.loyalty_points.size # => 5
1266
+ ##### Get wallet transactions
1156
1267
 
1157
- loyalty_point = character_loyalty_points.loyalty_points.first
1268
+ ##### Returns a corporation's wallet balance
1158
1269
 
1159
- loyalty_point.as_json # => {:corporation_id=>1000035, :loyalty_points=>14163}
1270
+ ##### Get corporation wallet journal
1160
1271
 
1161
- loyalty_point.corporation_id # => 1000035
1162
- loyalty_point.loyalty_points # => 14163
1163
- ```
1272
+ ##### Get corporation wallet transactions
1164
1273
 
1165
- #### EVE Server status
1274
+ #### Wars
1166
1275
 
1167
- ```ruby
1168
- server_status = EveOnline::ESI::ServerStatus.new
1276
+ ##### List wars
1169
1277
 
1170
- server_status.as_json # => {:start_time=>Tue, 11 Apr 2017 11:05:35 UTC +00:00, :players=>34545, :server_version=>"1135520", :vip=>nil}
1278
+ ##### Get war information
1279
+
1280
+ ##### List kills for a war
1171
1281
 
1172
- server_status.start_time # => Tue, 11 Apr 2017 11:05:35 UTC +00:00
1173
- server_status.players # => 34545
1174
- server_status.server_version # => "1135520"
1175
- server_status.vip # => nil
1176
- ```
1177
1282
 
1178
1283
  ### SDE Examples
1179
1284
 
@@ -1290,27 +1395,6 @@ inv_position.yaw # => 0.0
1290
1395
  inv_position.z # => 0.0
1291
1396
  ```
1292
1397
 
1293
- Character Races:
1294
- ```ruby
1295
- file = 'chrRaces.yaml'
1296
-
1297
- chr_races = EveOnline::SDE::ChrRaces.new(file)
1298
-
1299
- chr_races.chr_races.size # => 8
1300
-
1301
- chr_race = chr_races.chr_races.first
1302
-
1303
- chr_race.as_json # => {:race_id=>16,
1304
- # :race_name=>"Jove",
1305
- # :short_description=>"",
1306
- # :description=>"The most mysterious and elusive of all the universe's peoples..."}
1307
-
1308
- chr_race.race_id # => 16
1309
- chr_race.race_name # => "Jove"
1310
- chr_race.short_description # => ""
1311
- chr_race.description # => "The most mysterious and elusive of all the universe's peoples..."
1312
- ```
1313
-
1314
1398
  ## Exceptions
1315
1399
 
1316
1400
  If you want to catch all exceptions `rescue` `EveOnline::Exceptions::Base`. E.g.:
@@ -1378,359 +1462,26 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
1378
1462
 
1379
1463
  Issue reports and pull requests are welcome on GitHub at https://github.com/biow0lf/eve_online.
1380
1464
 
1381
- ## Changelog
1382
-
1383
- **v0.12.0**
1384
-
1385
- * **Breaking change**. Rename `EveOnline::Exceptions::Exception` to `EveOnline::Exceptions::Base`.
1386
- * Add `EveOnline::XML::Base` class
1387
- * Add `EveOnline::Exceptions::UnauthorizedException`
1388
- * Add `EveOnline::Exceptions::InvalidCharacterIDException`
1389
- * Test with Rails 5.1.0 too
1390
- * Rename `EveOnline::Account::Status` to `EveOnline::XML::AccountStatus`
1391
- * Rename `EveOnline::Account::ApiKeyInfo` to `EveOnline::XML::ApiKeyInfo`
1392
- * Rename `EveOnline::Account::Characters` to `EveOnline::XML::AccountCharacters`
1393
- * Rename `EveOnline::Characters::AccountBalance` to `EveOnline::XML::CharacterAccountBalance`
1394
- * Rename `EveOnline::Characters::AssetList` to `EveOnline::XML::CharacterAssetList`
1395
- * Rename `EveOnline::Characters::Blueprints` to `EveOnline::XML::CharacterBlueprints`
1396
- * Rename `EveOnline::Characters::Bookmarks` to `EveOnline::XML::CharacterBookmarks`
1397
- * Rename `EveOnline::Characters::CharacterSheet` to `EveOnline::XML::CharacterSheet`
1398
- * Rename `EveOnline::Corporations::MarketOrders` to `EveOnline::XML::CorporationMarketOrders`
1399
- * Rename `EveOnline::Server::Status` to `EveOnline::XML::ServerStatus`
1400
- * Rename `EveOnline::Characters::Medals` to `EveOnline::XML::CharacterMedals`
1401
- * Rename `EveOnline::Characters::SkillQueue` to `EveOnline::XML::CharacterSkillQueue`
1402
- * Rename `EveOnline::Characters::ChatChannels` to `EveOnline::XML::CharacterChatChannels`
1403
- * Rename `EveOnline::Characters::CalendarEventAttendees` to `EveOnline::XML::CharacterCalendarEventAttendees`
1404
- * Rename `EveOnline::Characters::ContractBids` to `EveOnline::XML::CharacterContractBids`
1405
- * Rename `EveOnline::Characters::ContractItems` to `EveOnline::XML::CharacterContractItems`
1406
- * Rename `EveOnline::Characters::ContactList` to `EveOnline::XML::CharacterContactList`
1407
- * Rename `EveOnline::Characters::ContactNotifications` to `EveOnline::XML::CharacterContactNotifications`
1408
- * Rename `EveOnline::Characters::Contracts` to `EveOnline::XML::CharacterContracts`
1409
- * Rename `EveOnline::Characters::FacWarStats` to `EveOnline::XML::CharacterFacWarStats`
1410
- * Rename `EveOnline::Characters::IndustryJobsHistory` to `EveOnline::XML::CharacterIndustryJobsHistory`
1411
- * Rename `EveOnline::Characters::IndustryJobs` to `EveOnline::XML::CharacterIndustryJobs`
1412
- * Rename `EveOnline::Characters::KillMails` to `EveOnline::XML::CharacterKillMails`
1413
- * Rename `EveOnline::Characters::Locations` to `EveOnline::XML::CharacterLocations`
1414
- * Rename `EveOnline::Characters::MailBodies` to `EveOnline::XML::CharacterMailBodies`
1415
- * Rename `EveOnline::Characters::MailMessages` to `EveOnline::XML::CharacterMailMessages`
1416
- * Rename `EveOnline::Characters::MailingLists` to `EveOnline::XML::CharacterMailingLists`
1417
- * Rename `EveOnline::Characters::MarketOrders` to `EveOnline::XML::CharacterMarketOrders`
1418
- * Rename `EveOnline::Characters::NotificationTexts` to `EveOnline::XML::CharacterNotificationTexts`
1419
- * Rename `EveOnline::Characters::Notifications` to `EveOnline::XML::CharacterNotifications`
1420
- * Rename `EveOnline::Characters::PlanetaryColonies` to `EveOnline::XML::CharacterPlanetaryColonies`
1421
- * Rename `EveOnline::Characters::PlanetaryLinks` to `EveOnline::XML::CharacterPlanetaryLinks`
1422
- * Rename `EveOnline::Characters::PlanetaryPins` to `EveOnline::XML::CharacterPlanetaryPins`
1423
- * Rename `EveOnline::Characters::PlanetaryRoutes` to `EveOnline::XML::CharacterPlanetaryRoutes`
1424
- * Rename `EveOnline::Characters::Research` to `EveOnline::XML::CharacterResearch`
1425
- * Rename `EveOnline::Characters::SkillInTraining` to `EveOnline::XML::CharacterSkillInTraining`
1426
- * Rename `EveOnline::Characters::Standings` to `EveOnline::XML::CharacterStandings`
1427
- * Rename `EveOnline::Characters::UpcomingCalendarEvents` to `EveOnline::XML::CharacterUpcomingCalendarEvents`
1428
- * Rename `EveOnline::Characters::WalletJournal` to `EveOnline::XML::CharacterWalletJournal`
1429
- * Rename `EveOnline::Characters::WalletTransactions` to `EveOnline::XML::CharacterWalletTransactions`
1430
- * Rename `EveOnline::XML::CharacterSheet#base_intelligence` to `EveOnline::XML::CharacterSheet#intelligence`
1431
- * Rename `EveOnline::XML::CharacterSheet#base_memory` to `EveOnline::XML::CharacterSheet#memory`
1432
- * Rename `EveOnline::XML::CharacterSheet#base_charisma` to `EveOnline::XML::CharacterSheet#charisma`
1433
- * Rename `EveOnline::XML::CharacterSheet#base_perception` to `EveOnline::XML::CharacterSheet#perception`
1434
- * Rename `EveOnline::XML::CharacterSheet#base_willpower` to `EveOnline::XML::CharacterSheet#willpower`
1435
- * Fix `EveOnline::ESI::Character`
1436
- * Use versioned API endpoints
1437
- * Ignore missed fields in responses
1438
- * Add `EveOnline::ESI::ServerStatus`
1439
-
1440
- **v0.11.0**
1441
-
1442
- * Add SDE support classes
1443
- * `EveOnline::SDE::AgtAgentTypes`
1444
- * `EveOnline::SDE::AgtAgents`
1445
- * `EveOnline::SDE::AgtResearchAgents`
1446
- * `EveOnline::SDE::ChrRaces`
1447
- * `EveOnline::SDE::InvFlags`
1448
- * `EveOnline::SDE::InvItems`
1449
- * `EveOnline::SDE::InvNames`
1450
- * `EveOnline::SDE::InvPositions`
1451
- * `EveOnline::SDE::Models::AgtAgentType`
1452
- * `EveOnline::SDE::Models::AgtAgent`
1453
- * `EveOnline::SDE::Models::AgtResearchAgent`
1454
- * `EveOnline::SDE::Models::ChrRace`
1455
- * `EveOnline::SDE::Models::InvFlag`
1456
- * `EveOnline::SDE::Models::InvItem`
1457
- * `EveOnline::SDE::Models::InvName`
1458
- * `EveOnline::SDE::Models::InvPosition`
1459
- * Finish `EveOnline::ESI::Characters::Character`
1460
- * Add `EveOnline::ESI::CharacterPortrait`
1461
- * Add `EveOnline::ESI::CharacterSkills`
1462
- * Rename `EveOnline::ESI::Characters::Character` to `EveOnline::ESI::Character`
1463
- * Add `EveOnline::ESI::CharacterSkillQueue`
1464
- * Add `EveOnline::ESI::CharacterLoyaltyPoints`
1465
- * Add `EveOnline::ESI::Models::LoyaltyPoint` class for handling character loyalty points
1466
- * Add `EveOnline::ESI::Models::SkillQueue` class for handling character skill queue entries
1467
- * Add `EveOnline::ESI::Models::Skill` class for handing character skills
1468
- * Rename `EveOnline::SkillQueueEntry` to `EveOnline::XML::Models::SkillQueueEntry`
1469
-
1470
- **v0.10.0**
1471
-
1472
- * Replace `open-uri` with `faraday`
1473
- * Add `EveOnline::ESI::Characters::Character`
1474
- * Add `EveOnline::AccountTypeObject` class for handling EveOnline account type values
1475
- * `EveOnline::Account::ApiKeyInfo#type` now returns symbols. e.g. `:account`
1476
- * Add `EveOnline::Account::ApiKeyInfo#as_json`
1477
- * Rename `EveOnline::Account::ApiKeyInfo#type` to `#api_key_type`
1478
-
1479
- **v0.9.0**
1480
-
1481
- * Add basic `EveOnline::Characters::Contracts`
1482
- * Add basic `EveOnline::Characters::ContractBids`
1483
- * Add basic `EveOnline::Characters::ContractItems`
1484
- * Add basic `EveOnline::Characters::FacWarStats`
1485
- * Add basic `EveOnline::Characters::IndustryJobs`
1486
- * Add basic `EveOnline::Characters::IndustryJobsHistory`
1487
- * Add `EveOnline::JumpCloneImplant` class for handling character jump clone implant
1488
- * Add `EveOnline::CharacterJumpCloneImplants` class for handling character jump clone implants
1489
- * Add basic `EveOnline::Characters::KillMails`
1490
- * Add basic `EveOnline::Characters::Locations`
1491
- * Add basic `EveOnline::Characters::MailBodies`
1492
- * Add basic `EveOnline::Characters::MailingLists`
1493
- * Add basic `EveOnline::Characters::MailMessages`
1494
- * Add basic `EveOnline::Characters::MarketOrders`
1495
- * Add basic `EveOnline::Characters::Notifications`
1496
- * `EveOnline::Characters::AccountBalance#balance` return float from now
1497
- * `EveOnline::Characters::CharacterSheet#balance` return float from now
1498
- * Add basic `EveOnline::Characters::NotificationTexts`
1499
- * Add basic `EveOnline::Characters::PlanetaryColonies`
1500
- * Add basic `EveOnline::Characters::PlanetaryLinks`
1501
- * Add basic `EveOnline::Characters::PlanetaryPins`
1502
- * Add basic `EveOnline::Characters::PlanetaryRoutes`
1503
- * Add basic `EveOnline::Characters::Research`
1504
- * Add basic `EveOnline::Characters::WalletJournal`
1505
- * Add basic `EveOnline::Characters::WalletTransactions`
1506
- * Add `EveOnline::SkillQueueEntry` class for handling character skill queue entry
1507
- * Make `EveOnline::Characters::Blueprints#row` `private`
1508
- * Make `EveOnline::Characters::Blueprints#rowset` `private`
1509
- * Make `EveOnline::Account::ApiKeyInfo#row` `private`
1510
- * Make `EveOnline::Account::ApiKeyInfo#rowset` `private`
1511
- * Make `EveOnline::Account::Characters#row` `private`
1512
- * Make `EveOnline::Account::Characters#rowset` `private`
1513
- * [Skill Queue](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_skillqueue.html)
1514
- * Add `EveOnline::ContactNotification` class for handling character contact notification
1515
- * [Contact Notifications](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_contactnotifications.html)
1516
- * Make `EveOnline::Characters::AccountBalance#row` `private`
1517
- * Make `EveOnline::Characters::AccountBalance#rowset` `private`
1518
- * Make `EveOnline::Characters::Account#key` `private`
1519
- * Make `EveOnline::Characters::AssetList#row` `private`
1520
- * Make `EveOnline::Characters::AssetList#rowset` `private`
1521
- * Make `EveOnline::Characters::Locations#escaped_ids` `private`
1522
- * Make `EveOnline::Characters::MailBodies#escaped_ids` `private`
1523
- * Make `EveOnline::Characters::NotificationTexts#escaped_ids` `private`
1524
- * Make `EveOnline::Characters::UpcomingCalendarEvents#row` `private`
1525
- * Make `EveOnline::Characters::UpcomingCalendarEvents#rowset` `private`
1526
- * Add access masks
1527
- * Make `EveOnline::Characters::Bookmarks#row` `private`
1528
- * Make `EveOnline::Characters::Bookmarks#rowset` `private`
1529
- * Add `EveOnline::WalletJournalEntry` class for handling character wallet journal entry
1530
- * [Wallet Journal](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_walletjournal.html)
1531
- * Rework memoization
1532
- * [Market Orders](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_marketorders.html)
1533
- * [Market Orders](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_marketorders.html)
1534
-
1535
- **v0.8.0**
1536
-
1537
- * Add basic `EveOnline::Characters::Medals` class
1538
- * Add basic `EveOnline::Characters::CharacterSheet` class
1539
- * Add `EveOnline::Implant` class for handling character implant
1540
- * Add `EveOnline::Skill` class for handling character skill
1541
- * Add `EveOnline::CharacterSkills` class for handling character skills
1542
- * Add `EveOnline::JumpClone` class for handling character jump clone
1543
- * Add `EveOnline::CharacterImplants` class for handling character implants
1544
- * Add `EveOnline::CharacterJumpClones` class for handling character jump clones
1545
- * Finish [Character Bookmarks](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_bookmarks.html)
1546
- * Finish [Standings](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_standings.html)
1547
- * Add `EveOnline::Standing` class for handling character standing
1548
-
1549
- **v0.7.0**
1550
-
1551
- * Drop `nokogiri` gem from gem dependency
1552
- * Add `json` gem for CREST API
1553
- * Add `EveOnline::Item` for handle items in AssetList
1554
- * [Asset List](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_assetlist.html)
1555
- * Remove unused `EveOneline::Skill` and `EveOnline::SkillGroup` classes
1556
- * Add `EveOnline::BookmarkFolder` class for handling bookmarks folders
1557
- * Add `EveOnline::Bookmark` class for handling EveOnline Bookmarks
1558
- * Remove unused `EveOnline::Eve::SkillTree` class
1559
- * Relax activesupport version requirement (now requires 3.0.0 or later)
1560
- * Respect EveOnline API guidelines. Set correct user agent.
1561
- * Add basic `EveOnline::Sovereignty::Campaigns` class
1562
- * Add basic `EveOnline::Eve::CharacterID` to handle character name to character id requests
1563
- * Add `EveOnline::BaseXML` as base for XML API
1564
- * Add `EveOnline::BaseCREST` as base for CREST API
1565
- * Citadel 1.0 updates
1566
-
1567
- **v0.6.0**
1568
-
1569
- * Add `EveOnline::EventResponseObject` class for handling EveOnline Event response values
1570
- * `EveOnline::Event#response` now returns symbols. e.g. `:undecided`
1571
- * [Character Blueprints](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_blueprints.html)
1572
- * Add `EveOnline::Blueprint` class for handling EveOnline Blueprints
1573
- * Add basic [Character Bookmarks](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_bookmarks.html)
1574
- * [Characters SkillInTraining](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_skillintraining.html)
1575
-
1576
- **v0.5.0**
1577
-
1578
- * Add `EveOnline::Event` class for handling EveOnline Events
1579
- * `EveOnline::Account::ApiKeyInfo#expires` now returns time with timezone
1580
- * [Upcoming Calendar Events](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_upcomingcalendarevents.html)
1581
- * Basic [Calendar Event Attendees](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_calendareventattendees.html)
1582
-
1583
- **v0.4.0**:
1584
-
1585
- * Time zone fixes
1586
- * Add `EveOnline::Character` class for handling each Character
1587
- * `EveOnline::Account::Characters` and `EveOnline::Account::ApiKeyInfo` now supports multiple characters
1588
- * Fix `EveOnline::Characters::AccountBalance` class
1589
- * Fix `EveOnline::Characters::AccountBalance#account_key`
1590
- * Add `#as_json` methods
1591
-
1592
- **v0.3.0**:
1593
-
1594
- * [Characters](https://eveonline-third-party-documentation.readthedocs.org/en/latest/xmlapi/account/account_characters.html)
1595
- * Refactoring and bug fixes
1596
-
1597
- **v0.2.0**:
1598
-
1599
- * [Account Balance](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_accountbalance.html)
1600
- * [API Key Info](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/account/account_apikeyinfo.html)
1601
- * [Account Status](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/account/account_accountstatus.html)
1602
-
1603
- **v0.1.0**:
1604
-
1605
- * [Server Status](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/server/serv_serverstatus.html)
1606
-
1607
1465
  ## Implementation check list
1608
1466
 
1609
- ### Account
1610
-
1611
- - [x] [Account Status](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/account/account_accountstatus.html)
1612
- - [x] [API Key Info](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/account/account_apikeyinfo.html)
1613
- - [x] [Characters](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/account/account_characters.html)
1614
-
1615
- ----
1616
-
1617
- ### Api
1618
-
1619
- - [ ] [Call List (Access Mask reference)](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/api/api_calllist.html)
1620
-
1621
- ----
1622
-
1623
1467
  ### Character
1624
1468
 
1625
- - [x] [Account Balance](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_accountbalance.html)
1626
- - [x] [Asset List](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_assetlist.html)
1627
- - [x] [Blueprints](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_blueprints.html)
1628
1469
  - [x] [Bookmarks](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_bookmarks.html)
1629
- - [ ] [Calendar Event Attendees](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_calendareventattendees.html)
1630
- - [ ] [Character Sheet](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_charactersheet.html)
1631
- - [ ] [Chat Channels](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_chatchannels.html)
1632
- - [ ] [Contact List](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_contactlist.html)
1633
1470
  - [x] [Contact Notifications](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_contactnotifications.html)
1634
- - [ ] [Contract Bids](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_contractbids.html)
1635
- - [ ] [Contract Items](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_contractitems.html)
1636
- - [ ] [Contracts](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_contracts.html)
1637
- - [ ] [Factional Warfare Stats](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_facwarstats.html)
1638
- - [ ] [Industry Jobs](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_industryjobs.html)
1639
- - [ ] [Industry Jobs History](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_industryjobshistory.html)
1640
- - [ ] [~~Kill Log~~](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_killlog.html) (deprecated)
1641
- - [ ] [Kill Mails](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_killmails.html)
1642
- - [ ] [Locations](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_locations.html)
1643
- - [ ] [Mail Bodies](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_mailbodies.html)
1644
- - [ ] [Mailing Lists](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_mailinglists.html)
1645
- - [ ] [Mail Messages](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_mailmessages.html)
1646
1471
  - [x] [Market Orders](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_marketorders.html)
1647
- - [ ] [Medals](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_medals.html)
1648
- - [ ] [Notifications](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_notifications.html)
1649
- - [ ] [Notification Texts](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_notificationtexts.html)
1650
- - [ ] [Planetary Colonies](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_planetarycolonies.html)
1651
- - [ ] [Planetary Links](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_planetarylinks.html)
1652
- - [ ] [Planetary Pins](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_planetarypins.html)
1653
- - [ ] [Planetary Routes](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_planetaryroutes.html)
1654
- - [ ] [Research](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_research.html)
1655
- - [x] [Skill in Training](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_skillintraining.html)
1656
- - [x] [Skill Queue](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_skillqueue.html)
1657
- - [x] [Standings](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_standings.html)
1658
1472
  - [x] [Upcoming Calendar Events](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_upcomingcalendarevents.html)
1659
1473
  - [x] [Wallet Journal](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_walletjournal.html)
1660
- - [ ] [Wallet Transactions](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_wallettransactions.html)
1661
1474
 
1662
1475
  ----
1663
1476
 
1664
1477
  ### Corporation
1665
1478
 
1666
- - [ ] [Account Balance](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_accountbalance.html)
1667
- - [ ] [Asset List](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_assetlist.html)
1668
- - [ ] [Blueprints](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_blueprints.html)
1669
- - [ ] [Bookmarks](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_bookmarks.html)
1670
- - [ ] [Contact List](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_contactlist.html)
1671
- - [ ] [Container Log](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_containerlog.html)
1672
- - [ ] [Contract Bids](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_contractbids.html)
1673
- - [ ] [Contract Items](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_contractitems.html)
1674
- - [ ] [Contracts](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_contracts.html)
1675
- - [ ] [Corporation Sheet](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_corporationsheet.html)
1676
- - [ ] [Customs Offices](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_customsoffices.html)
1677
- - [ ] [Facilities](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_facilities.html)
1678
- - [ ] [Factional Warfare Stats](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_facwarstats.html)
1679
- - [ ] [Industry Jobs](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_industryjobs.html)
1680
- - [ ] [Industry Jobs History](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_industryjobshistory.html)
1681
- - [ ] [Kill Mails](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_killmails.html)
1682
- - [ ] [Locations](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_locations.html)
1683
1479
  - [x] [Market Orders](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_marketorders.html)
1684
- - [ ] [Medals](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_medals.html)
1685
- - [ ] [Member Medals](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_membermedals.html)
1686
- - [ ] [Member Security](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_membersecurity.html)
1687
- - [ ] [Member Security Log](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_membersecuritylog.html)
1688
- - [ ] [Member Tracking](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_membertracking.html)
1689
- - [ ] [Outpost List](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_outpostlist.html)
1690
- - [ ] [Outpost Service Detail](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_outpostservicedetail.html)
1691
- - [ ] [Shareholders](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_shareholders.html)
1692
- - [ ] [Standings](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_standings.html)
1693
- - [ ] [Starbase Detail](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_starbasedetail.html)
1694
- - [ ] [Starbase List](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_starbaselist.html)
1695
- - [ ] [Titles](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_titles.html)
1696
- - [ ] [Wallet Journal](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_walletjournal.html)
1697
- - [ ] [Wallet Transactions](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_wallettransactions.html)
1698
-
1699
- ----
1700
-
1701
- ### Eve
1702
-
1703
- - [ ] [Alliance List](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/eve/eve_alliancelist.html)
1704
- - [ ] [Character Affiliation](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/eve/eve_characteraffiliation.html)
1705
- - [ ] [Character ID](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/eve/eve_characterid.html)
1706
- - [ ] [Character Info](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/eve/eve_characterinfo.html)
1707
- - [ ] [Character Name](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/eve/eve_charactername.html)
1708
- - [ ] [Conquerable Station List](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/eve/eve_conquerablestationlist.html)
1709
- - [ ] [Error List](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/eve/eve_errorlist.html)
1710
- - [ ] [Ref Types](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/eve/eve_reftypes.html)
1711
- - [ ] [Type Name](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/eve/eve_typename.html)
1712
-
1713
- ----
1714
-
1715
- ### Map
1716
-
1717
- - [ ] [Factional Warfare Systems](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/map/map_facwarsystems.html)
1718
- - [ ] [Jumps](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/map/map_jumps.html)
1719
- - [ ] [Kills](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/map/map_kills.html)
1720
- - [ ] [Sovereignty](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/map/map_sovereignty.html)
1721
-
1722
- ----
1723
-
1724
- ### Server
1725
-
1726
- - [x] [Server Status](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/server/serv_serverstatus.html)
1727
1480
 
1728
1481
  ----
1729
1482
 
1730
1483
  ## TODO
1731
1484
 
1732
- - [ ] Account Status: Support multiCharacterTraining
1733
- - [ ] Access Mask
1734
1485
  - [ ] Caching
1735
1486
  - [ ] Test EVE server
1736
1487
 
@@ -1741,6 +1492,7 @@ Issue reports and pull requests are welcome on GitHub at https://github.com/biow
1741
1492
  ## Contributors. Thank you everyone!
1742
1493
 
1743
1494
  * Ian Flynn (@monban)
1495
+ * Mekaret Eriker (@Mekaret)
1744
1496
 
1745
1497
  ## License
1746
1498