summaryrefslogtreecommitdiffhomepage
path: root/salvager
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-05-25 19:31:06 +0200
committerAki <please@ignore.pl>2022-05-25 19:31:06 +0200
commit07ee1440ff2ce61d0c4253f6efb976e3a3009fe6 (patch)
treea363047b099c965b69c11addad442a101b70bf60 /salvager
parenta4f7ff63f671f55d408633a4458253c908b16fe3 (diff)
downloadsalvager-07ee1440ff2ce61d0c4253f6efb976e3a3009fe6.zip
salvager-07ee1440ff2ce61d0c4253f6efb976e3a3009fe6.tar.gz
salvager-07ee1440ff2ce61d0c4253f6efb976e3a3009fe6.tar.bz2
Added locations to the snapshot
Diffstat (limited to 'salvager')
-rw-r--r--salvager/esi.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/salvager/esi.py b/salvager/esi.py
index 4783e12..d6acf30 100644
--- a/salvager/esi.py
+++ b/salvager/esi.py
@@ -32,3 +32,7 @@ def _trim_killmail(km):
killmail = _make_endpoint("killmails/{}/{}/", trim=_trim_killmail)
type = _make_endpoint("universe/types/{}/", include=['type_id', 'name', 'group_id'])
+system = _make_endpoint(
+ "universe/systems/{}/", include=['system_id', 'constellation_id', 'name', 'position', 'security_status'])
+constellation = _make_endpoint("universe/constellations/{}/", include=['region_id', 'name'])
+region = _make_endpoint("universe/regions/{}/", include=['name'])