Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. $(eval try{a=JSON.parse(`$(urlfetch json https://ssd-api.jpl.nasa.gov/cad.api?dist-max=10LD&sort=dist&limit=1)`);b=a.data[0][0];c=a.data[0][4];d=a.data[0][3]; `Upcoming Closest NEO: ${b} - Approach Distance: ${c + ' (au)'} - Approach Date: ${d}`;}catch(e){`Err`;})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement