eve_online 0.48.0 → 0.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/codeql.yml +4 -4
- data/.github/workflows/dependency-review.yml +1 -1
- data/.github/workflows/mdl.yml +1 -1
- data/.github/workflows/rspec.yml +2 -2
- data/.github/workflows/scorecards.yml +2 -2
- data/.ruby-version +1 -1
- data/CHANGELOG.md +7 -3
- data/Gemfile.lock +25 -25
- data/README.md +81 -94
- data/lib/eve_online/esi/client.rb +18 -18
- data/lib/eve_online/esi/models/character_corporation_history.rb +18 -0
- data/lib/eve_online/esi/models/{character_portrait.rb.old → character_portrait.rb} +5 -5
- data/lib/eve_online/esi/models/loyalty_point.rb +16 -0
- data/lib/eve_online/esi/models/loyalty_store_offer.rb +24 -0
- data/lib/eve_online/esi/models/notification.rb +21 -0
- data/lib/eve_online/esi/models/offer_required_item.rb +16 -0
- data/lib/eve_online/esi/models/online.rb +18 -0
- data/lib/eve_online/esi/models/structures.rb +13 -0
- data/lib/eve_online/esi/resources/characters_resources.rb +21 -0
- data/lib/eve_online/esi/resources/clones_resources.rb +6 -6
- data/lib/eve_online/esi/resources/contacts_resources.rb +15 -0
- data/lib/eve_online/esi/resources/contracts_resources.rb +15 -0
- data/lib/eve_online/esi/resources/corporation_projects_resources.rb +15 -0
- data/lib/eve_online/esi/resources/faction_warfare_resources.rb +15 -0
- data/lib/eve_online/esi/resources/fittings_resources.rb +15 -0
- data/lib/eve_online/esi/resources/fleets_resources.rb +15 -0
- data/lib/eve_online/esi/resources/freelance_jobs_resources.rb +15 -0
- data/lib/eve_online/esi/resources/incursions_resources.rb +15 -0
- data/lib/eve_online/esi/resources/industry_resources.rb +15 -0
- data/lib/eve_online/esi/resources/insurance_resources.rb +15 -0
- data/lib/eve_online/esi/resources/killmails_resources.rb +15 -0
- data/lib/eve_online/esi/resources/location_resources.rb +10 -3
- data/lib/eve_online/esi/resources/loyalty_points_resources.rb +29 -0
- data/lib/eve_online/esi/resources/mail_resources.rb +15 -0
- data/lib/eve_online/esi/resources/market_resources.rb +15 -0
- data/lib/eve_online/esi/resources/meta_resources.rb +15 -0
- data/lib/eve_online/esi/resources/planetary_interaction_resources.rb +15 -0
- data/lib/eve_online/esi/resources/search_resources.rb +3 -3
- data/lib/eve_online/esi/resources/skills_resources.rb +9 -9
- data/lib/eve_online/esi/resources/sovereignty_resources.rb +15 -0
- data/lib/eve_online/esi/resources/universe_resources.rb +10 -0
- data/lib/eve_online/esi/resources/user_interface_resources.rb +15 -0
- data/lib/eve_online/version.rb +1 -1
- data/lib/eve_online.rb +26 -0
- metadata +28 -17
- data/lib/eve_online/esi/character_corporation_history.rb +0 -35
- data/lib/eve_online/esi/character_loyalty_points.rb +0 -36
- data/lib/eve_online/esi/character_notifications.rb +0 -36
- data/lib/eve_online/esi/character_online.rb +0 -36
- data/lib/eve_online/esi/character_portrait.rb +0 -34
- data/lib/eve_online/esi/corporation_loyalty_store_offers.rb +0 -39
- data/lib/eve_online/esi/models/character_corporation_history.rb.old +0 -36
- data/lib/eve_online/esi/models/loyalty_point.rb.old +0 -24
- data/lib/eve_online/esi/models/loyalty_store_offer.rb.old +0 -48
- data/lib/eve_online/esi/models/notification.rb.old +0 -51
- data/lib/eve_online/esi/models/offer_required_item.rb.old +0 -24
- data/lib/eve_online/esi/models/offer_required_items.rb.old +0 -21
- data/lib/eve_online/esi/models/online.rb.old +0 -38
- data/lib/eve_online/esi/universe_structures.rb +0 -32
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 91fa8df5a9d40e8fca0649345ba299f7bbeb8fa70884f8480171b1d38a9c51eb
|
|
4
|
+
data.tar.gz: fa54c690f28dd4fd6980edbd34cc31715085650b14f6132ad2520acca47b01b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f3dad85c4b239f5d38e408dc52f34383b9e5b321d76e56427ef788878ce751f3b759cd26ee79be6f539930499cc62db7e0b30ddb1a41cb95858f4fe0431f2757
|
|
7
|
+
data.tar.gz: 42e749c00a0694f01df281c46325a5988b8e6a23d45e7eb5289a44963a394e9ae03c060ad11b3cf0ea280da1b6acbc0187ecaf38773a1209c551955c9b71a87e
|
|
@@ -41,7 +41,7 @@ jobs:
|
|
|
41
41
|
|
|
42
42
|
steps:
|
|
43
43
|
- name: Harden Runner
|
|
44
|
-
uses: step-security/harden-runner@
|
|
44
|
+
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
|
|
45
45
|
with:
|
|
46
46
|
egress-policy: audit
|
|
47
47
|
|
|
@@ -50,7 +50,7 @@ jobs:
|
|
|
50
50
|
|
|
51
51
|
# Initializes the CodeQL tools for scanning.
|
|
52
52
|
- name: Initialize CodeQL
|
|
53
|
-
uses: github/codeql-action/init@
|
|
53
|
+
uses: github/codeql-action/init@38697555549f1db7851b81482ff19f1fa5c4fedc # v4.34.1
|
|
54
54
|
with:
|
|
55
55
|
languages: ${{ matrix.language }}
|
|
56
56
|
# If you wish to specify custom queries, you can do so here or in a config file.
|
|
@@ -60,7 +60,7 @@ jobs:
|
|
|
60
60
|
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
|
61
61
|
# If this step fails, then you should remove it and run the build manually (see below)
|
|
62
62
|
- name: Autobuild
|
|
63
|
-
uses: github/codeql-action/autobuild@
|
|
63
|
+
uses: github/codeql-action/autobuild@38697555549f1db7851b81482ff19f1fa5c4fedc # v4.34.1
|
|
64
64
|
|
|
65
65
|
# ℹ️ Command-line programs to run using the OS shell.
|
|
66
66
|
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
|
@@ -73,6 +73,6 @@ jobs:
|
|
|
73
73
|
# ./location_of_script_within_repo/buildscript.sh
|
|
74
74
|
|
|
75
75
|
- name: Perform CodeQL Analysis
|
|
76
|
-
uses: github/codeql-action/analyze@
|
|
76
|
+
uses: github/codeql-action/analyze@38697555549f1db7851b81482ff19f1fa5c4fedc # v4.34.1
|
|
77
77
|
with:
|
|
78
78
|
category: "/language:${{matrix.language}}"
|
|
@@ -13,7 +13,7 @@ jobs:
|
|
|
13
13
|
runs-on: ubuntu-24.04
|
|
14
14
|
steps:
|
|
15
15
|
- name: Harden Runner
|
|
16
|
-
uses: step-security/harden-runner@
|
|
16
|
+
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
|
|
17
17
|
with:
|
|
18
18
|
egress-policy: audit
|
|
19
19
|
|
data/.github/workflows/mdl.yml
CHANGED
data/.github/workflows/rspec.yml
CHANGED
|
@@ -29,7 +29,7 @@ jobs:
|
|
|
29
29
|
name: Ruby ${{ matrix.ruby }} and ActiveSupport ${{ matrix.activesupport }}
|
|
30
30
|
steps:
|
|
31
31
|
- name: Harden Runner
|
|
32
|
-
uses: step-security/harden-runner@
|
|
32
|
+
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
|
|
33
33
|
with:
|
|
34
34
|
egress-policy: audit
|
|
35
35
|
|
|
@@ -37,7 +37,7 @@ jobs:
|
|
|
37
37
|
- run: rm Gemfile.lock
|
|
38
38
|
- run: rm .ruby-version
|
|
39
39
|
- name: Set up Ruby
|
|
40
|
-
uses: ruby/setup-ruby@
|
|
40
|
+
uses: ruby/setup-ruby@319994f95fa847cf3fb3cd3dbe89f6dcde9f178f # v1.295.0
|
|
41
41
|
with:
|
|
42
42
|
ruby-version: ${{ matrix.ruby }}
|
|
43
43
|
rubygems: latest
|
|
@@ -31,7 +31,7 @@ jobs:
|
|
|
31
31
|
|
|
32
32
|
steps:
|
|
33
33
|
- name: Harden Runner
|
|
34
|
-
uses: step-security/harden-runner@
|
|
34
|
+
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
|
|
35
35
|
with:
|
|
36
36
|
egress-policy: audit
|
|
37
37
|
|
|
@@ -71,6 +71,6 @@ jobs:
|
|
|
71
71
|
|
|
72
72
|
# Upload the results to GitHub's code scanning dashboard.
|
|
73
73
|
- name: "Upload to code-scanning"
|
|
74
|
-
uses: github/codeql-action/upload-sarif@
|
|
74
|
+
uses: github/codeql-action/upload-sarif@38697555549f1db7851b81482ff19f1fa5c4fedc # v4.34.1
|
|
75
75
|
with:
|
|
76
76
|
sarif_file: results.sarif
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.0.
|
|
1
|
+
4.0.2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v0.49.0
|
|
4
|
+
|
|
5
|
+
* Re-implement more endpoints. Follow examples in README.md.
|
|
6
|
+
|
|
3
7
|
## v0.48.0
|
|
4
8
|
|
|
5
|
-
* Re-implement universe endpoints. Follow
|
|
6
|
-
* Re-implement dogma endpoints. Follow
|
|
9
|
+
* Re-implement universe endpoints. Follow examples in README.md.
|
|
10
|
+
* Re-implement dogma endpoints. Follow examples in README.md.
|
|
7
11
|
|
|
8
12
|
## v0.47.0
|
|
9
13
|
|
|
10
|
-
* Re-write API. Follow
|
|
14
|
+
* Re-write API. Follow examples in README.md.
|
|
11
15
|
* Ruby 3.4
|
|
12
16
|
* Ruby 4.0
|
|
13
17
|
* Rails 8.1
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
eve_online (0.
|
|
4
|
+
eve_online (0.49.0)
|
|
5
5
|
activesupport (>= 7.2.0)
|
|
6
6
|
faraday (>= 2.0.0)
|
|
7
7
|
faraday-http-cache
|
|
@@ -56,7 +56,7 @@ GEM
|
|
|
56
56
|
i18n (1.14.8)
|
|
57
57
|
concurrent-ruby (~> 1.0)
|
|
58
58
|
io-console (0.8.2)
|
|
59
|
-
json (2.19.
|
|
59
|
+
json (2.19.2)
|
|
60
60
|
language_server-protocol (3.17.0.5)
|
|
61
61
|
lint_roller (1.1.0)
|
|
62
62
|
logger (1.7.0)
|
|
@@ -67,24 +67,24 @@ GEM
|
|
|
67
67
|
prism (~> 1.5)
|
|
68
68
|
net-http (0.9.1)
|
|
69
69
|
uri (>= 0.11.1)
|
|
70
|
-
nokogiri (1.19.
|
|
70
|
+
nokogiri (1.19.2)
|
|
71
71
|
mini_portile2 (~> 2.8.2)
|
|
72
72
|
racc (~> 1.4)
|
|
73
|
-
nokogiri (1.19.
|
|
73
|
+
nokogiri (1.19.2-aarch64-linux-gnu)
|
|
74
74
|
racc (~> 1.4)
|
|
75
|
-
nokogiri (1.19.
|
|
75
|
+
nokogiri (1.19.2-aarch64-linux-musl)
|
|
76
76
|
racc (~> 1.4)
|
|
77
|
-
nokogiri (1.19.
|
|
77
|
+
nokogiri (1.19.2-arm-linux-gnu)
|
|
78
78
|
racc (~> 1.4)
|
|
79
|
-
nokogiri (1.19.
|
|
79
|
+
nokogiri (1.19.2-arm-linux-musl)
|
|
80
80
|
racc (~> 1.4)
|
|
81
|
-
nokogiri (1.19.
|
|
81
|
+
nokogiri (1.19.2-arm64-darwin)
|
|
82
82
|
racc (~> 1.4)
|
|
83
|
-
nokogiri (1.19.
|
|
83
|
+
nokogiri (1.19.2-x86_64-darwin)
|
|
84
84
|
racc (~> 1.4)
|
|
85
|
-
nokogiri (1.19.
|
|
85
|
+
nokogiri (1.19.2-x86_64-linux-gnu)
|
|
86
86
|
racc (~> 1.4)
|
|
87
|
-
nokogiri (1.19.
|
|
87
|
+
nokogiri (1.19.2-x86_64-linux-musl)
|
|
88
88
|
racc (~> 1.4)
|
|
89
89
|
optimist (3.2.1)
|
|
90
90
|
ostruct (0.6.3)
|
|
@@ -169,7 +169,7 @@ GEM
|
|
|
169
169
|
unicode-emoji (4.2.0)
|
|
170
170
|
uri (1.1.1)
|
|
171
171
|
vcr (6.4.0)
|
|
172
|
-
webmock (3.26.
|
|
172
|
+
webmock (3.26.2)
|
|
173
173
|
addressable (>= 2.8.0)
|
|
174
174
|
crack (>= 0.3.2)
|
|
175
175
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
@@ -222,7 +222,7 @@ CHECKSUMS
|
|
|
222
222
|
diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
|
|
223
223
|
docile (1.4.1) sha256=96159be799bfa73cdb721b840e9802126e4e03dfc26863db73647204c727f21e
|
|
224
224
|
drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
|
|
225
|
-
eve_online (0.
|
|
225
|
+
eve_online (0.49.0)
|
|
226
226
|
faraday (2.14.1) sha256=a43cceedc1e39d188f4d2cdd360a8aaa6a11da0c407052e426ba8d3fb42ef61c
|
|
227
227
|
faraday-http-cache (2.6.1) sha256=7772ae61c5fe1c0243452dec1f069b15bcc3304e9436e4f8545ccdb5963c4285
|
|
228
228
|
faraday-net_http (3.4.2) sha256=f147758260d3526939bf57ecf911682f94926a3666502e24c69992765875906c
|
|
@@ -230,7 +230,7 @@ CHECKSUMS
|
|
|
230
230
|
httplog (1.8.0) sha256=2b14bd6a26277765b08ff469d5574fde2a8eedec03962402ab05a606546607bf
|
|
231
231
|
i18n (1.14.8) sha256=285778639134865c5e0f6269e0b818256017e8cde89993fdfcbfb64d088824a5
|
|
232
232
|
io-console (0.8.2) sha256=d6e3ae7a7cc7574f4b8893b4fca2162e57a825b223a177b7afa236c5ef9814cc
|
|
233
|
-
json (2.19.
|
|
233
|
+
json (2.19.2) sha256=e7e1bd318b2c37c4ceee2444841c86539bc462e81f40d134cf97826cb14e83cf
|
|
234
234
|
language_server-protocol (3.17.0.5) sha256=fd1e39a51a28bf3eec959379985a72e296e9f9acfce46f6a79d31ca8760803cc
|
|
235
235
|
lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
|
|
236
236
|
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
|
|
@@ -238,15 +238,15 @@ CHECKSUMS
|
|
|
238
238
|
mini_portile2 (2.8.9) sha256=0cd7c7f824e010c072e33f68bc02d85a00aeb6fce05bb4819c03dfd3c140c289
|
|
239
239
|
minitest (6.0.2) sha256=db6e57956f6ecc6134683b4c87467d6dd792323c7f0eea7b93f66bd284adbc3d
|
|
240
240
|
net-http (0.9.1) sha256=25ba0b67c63e89df626ed8fac771d0ad24ad151a858af2cc8e6a716ca4336996
|
|
241
|
-
nokogiri (1.19.
|
|
242
|
-
nokogiri (1.19.
|
|
243
|
-
nokogiri (1.19.
|
|
244
|
-
nokogiri (1.19.
|
|
245
|
-
nokogiri (1.19.
|
|
246
|
-
nokogiri (1.19.
|
|
247
|
-
nokogiri (1.19.
|
|
248
|
-
nokogiri (1.19.
|
|
249
|
-
nokogiri (1.19.
|
|
241
|
+
nokogiri (1.19.2) sha256=38fdd8b59db3d5ea9e7dfb14702e882b9bf819198d5bf976f17ebce12c481756
|
|
242
|
+
nokogiri (1.19.2-aarch64-linux-gnu) sha256=c34d5c8208025587554608e98fd88ab125b29c80f9352b821964e9a5d5cfbd19
|
|
243
|
+
nokogiri (1.19.2-aarch64-linux-musl) sha256=7f6b4b0202d507326841a4f790294bf75098aef50c7173443812e3ac5cb06515
|
|
244
|
+
nokogiri (1.19.2-arm-linux-gnu) sha256=b7fa1139016f3dc850bda1260988f0d749934a939d04ef2da13bec060d7d5081
|
|
245
|
+
nokogiri (1.19.2-arm-linux-musl) sha256=61114d44f6742ff72194a1b3020967201e2eb982814778d130f6471c11f9828c
|
|
246
|
+
nokogiri (1.19.2-arm64-darwin) sha256=58d8ea2e31a967b843b70487a44c14c8ba1866daa1b9da9be9dbdf1b43dee205
|
|
247
|
+
nokogiri (1.19.2-x86_64-darwin) sha256=7d9af11fda72dfaa2961d8c4d5380ca0b51bc389dc5f8d4b859b9644f195e7a4
|
|
248
|
+
nokogiri (1.19.2-x86_64-linux-gnu) sha256=fa8feca882b73e871a9845f3817a72e9734c8e974bdc4fbad6e4bc6e8076b94f
|
|
249
|
+
nokogiri (1.19.2-x86_64-linux-musl) sha256=93128448e61a9383a30baef041bf1f5817e22f297a1d400521e90294445069a8
|
|
250
250
|
optimist (3.2.1) sha256=8cf8a0fd69f3aa24ab48885d3a666717c27bc3d9edd6e976e18b9d771e72e34e
|
|
251
251
|
ostruct (0.6.3) sha256=95a2ed4a4bd1d190784e666b47b2d3f078e4a9efda2fccf18f84ddc6538ed912
|
|
252
252
|
parallel (1.27.0) sha256=4ac151e1806b755fb4e2dc2332cbf0e54f2e24ba821ff2d3dcf86bf6dc4ae130
|
|
@@ -284,7 +284,7 @@ CHECKSUMS
|
|
|
284
284
|
unicode-emoji (4.2.0) sha256=519e69150f75652e40bf736106cfbc8f0f73aa3fb6a65afe62fefa7f80b0f80f
|
|
285
285
|
uri (1.1.1) sha256=379fa58d27ffb1387eaada68c749d1426738bd0f654d812fcc07e7568f5c57c6
|
|
286
286
|
vcr (6.4.0) sha256=077ac92cc16efc5904eb90492a18153b5e6ca5398046d8a249a7c96a9ea24ae6
|
|
287
|
-
webmock (3.26.
|
|
287
|
+
webmock (3.26.2) sha256=774556f2ea6371846cca68c01769b2eac0d134492d21f6d0ab5dd643965a4c90
|
|
288
288
|
|
|
289
289
|
BUNDLED WITH
|
|
290
|
-
4.0.
|
|
290
|
+
4.0.8
|
data/README.md
CHANGED
|
@@ -440,25 +440,23 @@ blueprint.type_id # => 1152
|
|
|
440
440
|
#### Get corporation history
|
|
441
441
|
|
|
442
442
|
```ruby
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
character_corporation_history = EveOnline::ESI::CharacterCorporationHistory.new(options)
|
|
443
|
+
client = EveOnline::ESI::Client.new
|
|
446
444
|
|
|
447
|
-
character_corporation_history
|
|
445
|
+
character_corporation_history = client.characters.corporation_history(id: 1_337_512_245)
|
|
448
446
|
|
|
449
|
-
character_corporation_history.
|
|
447
|
+
character_corporation_history.size # => 11
|
|
450
448
|
|
|
451
|
-
entry = character_corporation_history.
|
|
449
|
+
entry = character_corporation_history.first
|
|
452
450
|
|
|
453
|
-
entry.as_json # => {:
|
|
454
|
-
# :
|
|
455
|
-
# :
|
|
456
|
-
# :
|
|
451
|
+
entry.as_json # => {corporation_id: 1000171,
|
|
452
|
+
# is_deleted: nil,
|
|
453
|
+
# record_id: 64489559,
|
|
454
|
+
# start_date: 2025-04-24 19:02:00.000000000 UTC +00:00}
|
|
457
455
|
|
|
458
|
-
entry.corporation_id # =>
|
|
456
|
+
entry.corporation_id # => 1000171
|
|
459
457
|
entry.is_deleted # => nil
|
|
460
|
-
entry.record_id # =>
|
|
461
|
-
entry.start_date # =>
|
|
458
|
+
entry.record_id # => 64489559
|
|
459
|
+
entry.start_date # => 2025-04-24 19:02:00.000000000 UTC +00:00
|
|
462
460
|
```
|
|
463
461
|
|
|
464
462
|
#### Calculate a CSPA charge cost
|
|
@@ -488,31 +486,29 @@ character_fatigue.last_update_date # => nil
|
|
|
488
486
|
#### Get character notifications
|
|
489
487
|
|
|
490
488
|
```ruby
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
character_notifications = EveOnline::ESI::CharacterNotifications.new(options)
|
|
489
|
+
client = EveOnline::ESI::Client.new(token: "token123")
|
|
494
490
|
|
|
495
|
-
|
|
491
|
+
notifications = client.characters.notifications(id: 1_337_512_245)
|
|
496
492
|
|
|
497
|
-
|
|
493
|
+
notifications.size # => 219
|
|
498
494
|
|
|
499
|
-
notification =
|
|
495
|
+
notification = notifications.first
|
|
500
496
|
|
|
501
|
-
notification.as_json # => {:
|
|
502
|
-
# :
|
|
503
|
-
# :
|
|
504
|
-
# :
|
|
505
|
-
#
|
|
506
|
-
# :
|
|
507
|
-
# :
|
|
497
|
+
notification.as_json # => {is_read: nil,
|
|
498
|
+
# notification_id: 2156021212,
|
|
499
|
+
# sender_id: 319898237,
|
|
500
|
+
# sender_type: "character",
|
|
501
|
+
# text: "corpID: 98565696\n",
|
|
502
|
+
# timestamp: 2025-04-24 19:02:00.000000000 UTC +00:00,
|
|
503
|
+
# type: "CorpKicked"}
|
|
508
504
|
|
|
509
505
|
notification.is_read # => nil
|
|
510
|
-
notification.notification_id # =>
|
|
511
|
-
notification.sender_id # =>
|
|
512
|
-
notification.sender_type # => "
|
|
513
|
-
notification.text # => "
|
|
514
|
-
notification.timestamp # =>
|
|
515
|
-
notification.type # => "
|
|
506
|
+
notification.notification_id # => 2156021212
|
|
507
|
+
notification.sender_id # => 319898237
|
|
508
|
+
notification.sender_type # => "character"
|
|
509
|
+
notification.text # => "corpID: 98565696\n"
|
|
510
|
+
notification.timestamp # => 2025-04-24 19:02:00.000000000 UTC +00:00
|
|
511
|
+
notification.type # => "CorpKicked"
|
|
516
512
|
```
|
|
517
513
|
|
|
518
514
|
#### Get new contact notifications
|
|
@@ -520,21 +516,19 @@ notification.type # => "AllWarDeclaredMsg"
|
|
|
520
516
|
#### Get character portraits
|
|
521
517
|
|
|
522
518
|
```ruby
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
character_portrait = EveOnline::ESI::CharacterPortrait.new(options)
|
|
519
|
+
client = EveOnline::ESI::Client.new
|
|
526
520
|
|
|
527
|
-
character_portrait
|
|
521
|
+
character_portrait = client.characters.portraits(id: 1_337_512_245)
|
|
528
522
|
|
|
529
|
-
character_portrait.as_json # => {:
|
|
530
|
-
# :
|
|
531
|
-
# :
|
|
532
|
-
# :
|
|
523
|
+
character_portrait.as_json # => {medium: "https://images.evetech.net/characters/1337512245/portrait?tenant=tranquility&size=128",
|
|
524
|
+
# large: "https://images.evetech.net/characters/1337512245/portrait?tenant=tranquility&size=256",
|
|
525
|
+
# huge: "https://images.evetech.net/characters/1337512245/portrait?tenant=tranquility&size=512",
|
|
526
|
+
# small: "https://images.evetech.net/characters/1337512245/portrait?tenant=tranquility&size=64"}
|
|
533
527
|
|
|
534
|
-
character_portrait.medium # => "https://images.evetech.net/
|
|
535
|
-
character_portrait.large # => "https://images.evetech.net/
|
|
536
|
-
character_portrait.huge # => "https://images.evetech.net/
|
|
537
|
-
character_portrait.small # => "https://images.evetech.net/
|
|
528
|
+
character_portrait.medium # => "https://images.evetech.net/characters/1337512245/portrait?tenant=tranquility&size=128"
|
|
529
|
+
character_portrait.large # => "https://images.evetech.net/characters/1337512245/portrait?tenant=tranquility&size=256"
|
|
530
|
+
character_portrait.huge # => "https://images.evetech.net/characters/1337512245/portrait?tenant=tranquility&size=512"
|
|
531
|
+
character_portrait.small # => "https://images.evetech.net/characters/1337512245/portrait?tenant=tranquility&size=64"
|
|
538
532
|
```
|
|
539
533
|
|
|
540
534
|
#### Get character corporation roles
|
|
@@ -574,7 +568,7 @@ standing.standing # => 0.3303719111639991
|
|
|
574
568
|
```ruby
|
|
575
569
|
client = EveOnline::ESI::Client.new(token: "token123")
|
|
576
570
|
|
|
577
|
-
clones = client.clones.clones(
|
|
571
|
+
clones = client.clones.clones(id: 1_337_512_245)
|
|
578
572
|
|
|
579
573
|
clones.as_json # => {last_clone_jump_date: 2012-07-27 14:50:11.000000000 UTC +00:00,
|
|
580
574
|
# last_station_change_date: 2015-06-30 21:51:13.000000000 UTC +00:00}
|
|
@@ -610,7 +604,7 @@ jump_clone.name # => nil
|
|
|
610
604
|
```ruby
|
|
611
605
|
client = EveOnline::ESI::Client.new(token: "token123")
|
|
612
606
|
|
|
613
|
-
implants = client.clones.implants(
|
|
607
|
+
implants = client.clones.implants(id: 1_337_512_245)
|
|
614
608
|
|
|
615
609
|
implants.implant_ids.size # => 5
|
|
616
610
|
|
|
@@ -1381,21 +1375,19 @@ character_location.structure_id # => nil
|
|
|
1381
1375
|
#### Get character online
|
|
1382
1376
|
|
|
1383
1377
|
```ruby
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
character_online = EveOnline::ESI::CharacterOnline.new(options)
|
|
1378
|
+
client = EveOnline::ESI::Client.new(token: "token123")
|
|
1387
1379
|
|
|
1388
|
-
|
|
1380
|
+
online = client.locations.online(id: 1_337_512_245)
|
|
1389
1381
|
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1382
|
+
online.as_json # => {last_login: 2022-12-17 01:36:16.000000000 UTC +00:00,
|
|
1383
|
+
# last_logout: 2022-12-17 01:37:11.000000000 UTC +00:00,
|
|
1384
|
+
# logins: 536,
|
|
1385
|
+
# online: false}
|
|
1394
1386
|
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1387
|
+
online.last_login # => 2022-12-17 01:36:16.000000000 UTC +00:00
|
|
1388
|
+
online.last_logout # => 2022-12-17 01:37:11.000000000 UTC +00:00
|
|
1389
|
+
online.logins # => 536
|
|
1390
|
+
online.online # => false
|
|
1399
1391
|
```
|
|
1400
1392
|
|
|
1401
1393
|
#### Get current ship
|
|
@@ -1403,7 +1395,7 @@ character_online.online # => false
|
|
|
1403
1395
|
```ruby
|
|
1404
1396
|
client = EveOnline::ESI::Client.new(token: "token123")
|
|
1405
1397
|
|
|
1406
|
-
ship = client.locations.ship(
|
|
1398
|
+
ship = client.locations.ship(id: 1_337_512_245)
|
|
1407
1399
|
|
|
1408
1400
|
ship.as_json # => {ship_item_id: 1032641106218,
|
|
1409
1401
|
# ship_name: "Johnn Dillinger's Raven",
|
|
@@ -1419,17 +1411,16 @@ ship.ship_type_id # => 638
|
|
|
1419
1411
|
#### Get loyalty points
|
|
1420
1412
|
|
|
1421
1413
|
```ruby
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
character_loyalty_points = EveOnline::ESI::CharacterLoyaltyPoints.new(options)
|
|
1414
|
+
client = EveOnline::ESI::Client.new(token: "token123")
|
|
1425
1415
|
|
|
1426
|
-
|
|
1416
|
+
loyalty_points = client.loyalty.loyalty_points(id: 1_337_512_245)
|
|
1427
1417
|
|
|
1428
|
-
|
|
1418
|
+
loyalty_points.size # => 7
|
|
1429
1419
|
|
|
1430
|
-
loyalty_point =
|
|
1420
|
+
loyalty_point = loyalty_points.first
|
|
1431
1421
|
|
|
1432
|
-
loyalty_point.as_json # => {:
|
|
1422
|
+
loyalty_point.as_json # => {corporation_id: 1000035,
|
|
1423
|
+
# loyalty_points: 14163}
|
|
1433
1424
|
|
|
1434
1425
|
loyalty_point.corporation_id # => 1000035
|
|
1435
1426
|
loyalty_point.loyalty_points # => 14163
|
|
@@ -1438,26 +1429,22 @@ loyalty_point.loyalty_points # => 14163
|
|
|
1438
1429
|
#### List loyalty store offers
|
|
1439
1430
|
|
|
1440
1431
|
```ruby
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
corporation_loyalty_store_offers = EveOnline::ESI::CorporationLoyaltyStoreOffers.new(options)
|
|
1444
|
-
|
|
1445
|
-
corporation_loyalty_store_offers.scope # => nil
|
|
1432
|
+
client = EveOnline::ESI::Client.new
|
|
1446
1433
|
|
|
1447
|
-
corporation_loyalty_store_offers
|
|
1434
|
+
corporation_loyalty_store_offers = client.loyalty.offers(id: 1_000_035)
|
|
1448
1435
|
|
|
1449
|
-
corporation_loyalty_store_offers.
|
|
1436
|
+
corporation_loyalty_store_offers.size # => 334
|
|
1450
1437
|
|
|
1451
|
-
offer = corporation_loyalty_store_offers.
|
|
1438
|
+
offer = corporation_loyalty_store_offers.first
|
|
1452
1439
|
|
|
1453
|
-
offer.as_json # => {:
|
|
1454
|
-
# :
|
|
1455
|
-
# :
|
|
1456
|
-
# :
|
|
1457
|
-
# :
|
|
1458
|
-
# :
|
|
1440
|
+
offer.as_json # => {ak_cost: 0,
|
|
1441
|
+
# isk_cost: 2400000,
|
|
1442
|
+
# lp_cost: 2400,
|
|
1443
|
+
# offer_id: 3584,
|
|
1444
|
+
# quantity: 5000,
|
|
1445
|
+
# type_id: 23047}
|
|
1459
1446
|
|
|
1460
|
-
offer.ak_cost # =>
|
|
1447
|
+
offer.ak_cost # => 0
|
|
1461
1448
|
offer.isk_cost # => 2400000
|
|
1462
1449
|
offer.lp_cost # => 2400
|
|
1463
1450
|
offer.offer_id # => 3584
|
|
@@ -1850,7 +1837,7 @@ client = EveOnline::ESI::Client.new(token: "token123")
|
|
|
1850
1837
|
|
|
1851
1838
|
# remove from categories anything that not related to your search
|
|
1852
1839
|
search = client.search.search(
|
|
1853
|
-
|
|
1840
|
+
id: 1_337_512_245,
|
|
1854
1841
|
categories: [
|
|
1855
1842
|
"agent",
|
|
1856
1843
|
"alliance",
|
|
@@ -1894,7 +1881,7 @@ search.station_ids # => [60015169, 60000451, 60002959, 60003460, 60000463, 60003
|
|
|
1894
1881
|
# strict search
|
|
1895
1882
|
|
|
1896
1883
|
search = client.search.search(
|
|
1897
|
-
|
|
1884
|
+
id: 1_337_512_245,
|
|
1898
1885
|
categories: [
|
|
1899
1886
|
"agent",
|
|
1900
1887
|
"alliance",
|
|
@@ -1932,7 +1919,7 @@ search.as_json # => {agent_ids: [],
|
|
|
1932
1919
|
```ruby
|
|
1933
1920
|
client = EveOnline::ESI::Client.new(token: "token123")
|
|
1934
1921
|
|
|
1935
|
-
attributes = client.skills.attributes(
|
|
1922
|
+
attributes = client.skills.attributes(id: 1_337_512_245)
|
|
1936
1923
|
|
|
1937
1924
|
attributes.as_json # => {accrued_remap_cooldown_date: 2012-05-06 12:58:06.000000000 UTC +00:00,
|
|
1938
1925
|
# bonus_remaps: 2,
|
|
@@ -1958,7 +1945,7 @@ attributes.willpower # => 23
|
|
|
1958
1945
|
```ruby
|
|
1959
1946
|
client = EveOnline::ESI::Client.new(token: "token123")
|
|
1960
1947
|
|
|
1961
|
-
skillqueue = client.skills.skillqueue(
|
|
1948
|
+
skillqueue = client.skills.skillqueue(id: 1_337_512_245)
|
|
1962
1949
|
|
|
1963
1950
|
skillqueue.size # => 5
|
|
1964
1951
|
|
|
@@ -1988,7 +1975,7 @@ skill_queue_entry.training_start_sp # => 439295
|
|
|
1988
1975
|
```ruby
|
|
1989
1976
|
client = EveOnline::ESI::Client.new(token: "token123")
|
|
1990
1977
|
|
|
1991
|
-
skills = client.skills.skills(
|
|
1978
|
+
skills = client.skills.skills(id: 1_337_512_245)
|
|
1992
1979
|
|
|
1993
1980
|
skills.as_json # => {total_sp: 90657889, unallocated_sp: 2640075}
|
|
1994
1981
|
|
|
@@ -2543,23 +2530,23 @@ station.position.z # => 182618726400.0
|
|
|
2543
2530
|
#### List all public structures
|
|
2544
2531
|
|
|
2545
2532
|
```ruby
|
|
2546
|
-
|
|
2533
|
+
client = EveOnline::ESI::Client.new
|
|
2547
2534
|
|
|
2548
|
-
structures
|
|
2535
|
+
structures = client.universe.structures
|
|
2549
2536
|
|
|
2550
|
-
structures.structure_ids.size # =>
|
|
2537
|
+
structures.structure_ids.size # => 1003
|
|
2551
2538
|
|
|
2552
|
-
structures.structure_ids.first # =>
|
|
2539
|
+
structures.structure_ids.first # => 1035768592387
|
|
2553
2540
|
|
|
2554
2541
|
# with filter (`filter` is enum with values: nil, `market` and `manufacturing_basic`)
|
|
2555
2542
|
|
|
2556
|
-
|
|
2543
|
+
client = EveOnline::ESI::Client.new
|
|
2557
2544
|
|
|
2558
|
-
structures =
|
|
2545
|
+
structures = client.universe.structures(filter: "market")
|
|
2559
2546
|
|
|
2560
|
-
structures.structure_ids.size # =>
|
|
2547
|
+
structures.structure_ids.size # => 53
|
|
2561
2548
|
|
|
2562
|
-
structures.structure_ids.first # =>
|
|
2549
|
+
structures.structure_ids.first # => 1044961079041
|
|
2563
2550
|
```
|
|
2564
2551
|
|
|
2565
2552
|
#### Get structure information
|