From 07ee1440ff2ce61d0c4253f6efb976e3a3009fe6 Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 25 May 2022 19:31:06 +0200 Subject: Added locations to the snapshot --- salvager/esi.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'salvager') 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']) -- cgit v1.1