Help with API For Hubble

Hi,
Could you please help with this idea.
I am trying to get the current co-ordinates of the Hubble Telescope (HST) and display them as Latitute/Longditude with a Google map which shows the current location.

So far I have: $(eval r=$(urlfetch json https://data.ivanstanojevic.me/api/tle/20580);$(urlfetch https://pastebin.com/TcnBDfhH)) for the Nightbot command and

try{
a=JSON.parse®;
Hubble ${a.line1} ${a.line2};
}catch(e){
Data fetch error!;
}
for the Pastebin code.

Any help would be greatly appreciated, you can use the links in the command to see the data.

We eventually did it with: https://pastebin.com/TcnBDfhH for anyone else that might be wondering.

Thanks for sharing the solution :+1:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.