Two (maybe dumb) questions:
- two days ago I landed in a settlement, and looking at the data in Inara they are updated, but Spansh shows an older date. When the Spansh data are update? And (or) to who should i send my data (using EDDI and EDMC)? I'm pretty sure that i have enabled all the various servers (Inara, EDSM, etc) but i don't know from where Spansh takes the data.
- Could someone show me a javascript sample that get all the stations belonging to a minor faction? I'm not an expert and all my code failed... what i would like to get is what's returned from
Code:
https://spansh.co.uk/api/stations/search
{"filters":{"controlling_minor_faction":{"value":["Flotta Stellare"]}},"sort":[{"updated_at":{"direction":"asc"}}],"size":500,"page":0}
Thanks
What Varonica said above however there is an additional caveat. The index which powers the search endpoints is only updated once a day with the galaxy dump from the previous day, as such it may take up to 48 hours to reflect in the search. For instance if you visited a system just after the galaxy dump started 20:00 UTC, then that update would not appear until the next nights galaxy dump (24 hours later), then it would take until the next time the index was updated starting at 09:00 UTC and assuming a 6 hour import it would be searchable at roughly 15:00 UTC.
Breaking it down with specific dates from the most recent update:
Galaxy Dump: 26 Feb 2024 at 20:00 UTC
Visit System: 26 Feb 2024 at 20:01 UTC (Your update)
Search Refresh: 27 Feb at 09:00 UTC
Search Refresh Finish: 27 Feb at 16:52 UTC
Galaxy Dump 27 Feb 2024 at 20:00 UTC (this would contain your update)
Search Refresh: 28 Feb 2024 at 09:00 UTC (this would contain your update)
Search Refresh Finish: 28 Feb at 16:52 UTC (you can now see your update in the search)
However, all that said, you can see live updates on the site if you visit the specific station page, so for instance looking at your search you could visit
https://spansh.co.uk/station/3228048128 and you would see your change on there nearly instantly.