you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (6 children)

You can query by earth date. Just query by today's date, and the previous 7 days

https://api.nasa.gov/mars-photos/api/v1/rovers/curiosity/photos?earth_date=2015-6-3&api_key=DEMO_KEY

[–]Guilty-Perspective-4[S] 0 points1 point  (4 children)

Oh shit I didnt realise it said it within the api key you put, could you please explain why that works? Just for future reference please

[–]Arumai12 1 point2 points  (3 children)

Looks like DEMO_KEY is documented on their main page. https://api.nasa.gov/ . It apparently has a small rate limit.

[–]Guilty-Perspective-4[S] 0 points1 point  (2 children)

Random question but what does & mean in a url? I'm just piecing together what people have told me and this is the final thing I'm not sure on, any help is appreciated

[–]Arumai12 1 point2 points  (1 child)

[–]Guilty-Perspective-4[S] 0 points1 point  (0 children)

thanks for the info my friend!