Skip to content

Instantly share code, notes, and snippets.

import requests
edsm_url = 'https://www.edsm.net/api-v1/sphere-systems'
system_url = 'https://system.api.fuelrats.com/populated_systems'
station_url = 'https://system.api.fuelrats.com/stations'
max_dist = 10000
def getNearestScoopable(system):
params = {'systemName':system, 'radius':50, 'showPermit':1, 'showPrimaryStar':1}
req = requests.get(edsm_url, params=params)

Keybase proof

I hereby claim:

  • I am andybish on github.
  • I am abish (https://keybase.io/abish) on keybase.
  • I have a public key ASDq7eVvKWdng2cpQrKaPGHO9x8kwiY7y4IMf3NS6UI4Cwo

To claim this, I am signing this object:

reconstruct sstr (str:strs) | null strs = str
| otherwise = str++sstr++ reconstruct sstr strs