Commit graph

21 commits

Author SHA1 Message Date
5718099d5a
spansh.py: added --nofeet option to outdatedstations
… which excludes Odyssey settlements from the outdated stations search.

fixes #10

Also now excluding carriers / settlements _from the search itself_
instead of removing returned results. So now the `--count` will be
properly respected. Will need updating if/when new station types are
introduced.
2022-09-05 16:22:58 +02:00
d2af6b90e4
spansh.py: pretty print raw output 2022-09-05 15:49:01 +02:00
1a76ca59d4
spansh.py: spansh.co.uk → spansh.uk 2022-09-05 15:27:40 +02:00
59619ca8bf spansh.py: added raw output option
mostly for debugging
2021-03-14 14:39:57 +01:00
fbfaeac64f spansh.py: exclude carriers from outdated stations list
fixes #8
2020-12-09 17:54:13 +01:00
4b8bf96c1c spansh.py: fixed tripping over missing parameter 2020-07-12 03:20:19 +02:00
0176f70c86 spansh.py: now takes minimum age of data as argument
Still defaults to 1 year.

fixes #6
2020-07-10 14:21:26 +02:00
ceccb497dd spansh.py: changed output format for old stations search
Instead of a time stamp it will now say “(<x> days ago)”.

kind of see #7
2020-07-10 14:14:58 +02:00
0179369fc1 spansh.py: fixed oldstation search results for partial system name
fixes #3
2020-06-29 09:25:16 +02:00
efa20d3801 spansh.py: removed leftover debug print 2020-05-04 20:24:59 +02:00
fec66bfebb spansh.py: added systemexists subcommand 2020-03-09 22:00:38 +01:00
5704593f4f spansh.py: fixed “nothing found” exit code 2020-03-09 18:15:25 +01:00
0054b5ae6c spansh.py: rudimentary error handling 2020-03-09 18:12:26 +01:00
07a6db2595 spansh.py: misc fixes 2020-03-09 17:59:35 +01:00
15a8deca65 spansh.py: added --parsable format to nearestsystem 2020-03-09 17:59:08 +01:00
07ca9ec406 spansh.py: added nearestsystem subcommand
Used to get the nearest system in the database, e.g. for plotting
a neutron route.

Useful since the elastic search powering the plotter might be behind
current EDDN data, so having a system in EDDN/EDSM doesn’t necessarily
mean it’s already available in the router.
2020-03-09 17:42:45 +01:00
19e8cbfdff spansh.py: added short output format
To both station and systems list. Replaces the `--systemlist` switch.
2020-03-08 00:59:55 +01:00
adec36ded9 fixed docs typo 2020-03-05 14:46:29 +01:00
7ee4b28c59 spansh.py: refactoring and cleanup
It’s now a bit less quick & dirty. Still has no error handling beyond
“works” or “doesn’t work”.
2020-03-05 14:12:54 +01:00
cf3fb80238 spansh.py: now exits with (3) if nothing found 2020-03-04 20:42:57 +01:00
95f5de2377 added spansh.py for Spansh API related shenanigans 2020-03-04 18:07:56 +01:00