joncage / ed-scout

An Elite Dangerous companion app to simplify finding unexplored worlds
MIT License
134 stars 19 forks source link

Add EDSM caching #14

Closed joncage closed 4 years ago

joncage commented 4 years ago

To save unnecessary interactions with EDSM, it would be handy to add some caching of the lookups with some mechanism to check for stale data.

I've never hit their API limits using the tool myself but it would be polite to limit the load.

joncage commented 4 years ago

Should be fairly trivial it seems...

https://pypi.org/project/requests-cache/