You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys, I'm trying to build a https://images-api.nasa.gov image search app, but I'm having difficulties getting recent images to show something on the initial load.
What I've tried to do is to query only the last and current year worth of images with a query of 'a'.
Like this:/search-results?q=a&page=1&media=image&yearStart=2022&yearEnd=2023.
This would be ok if the results were chronologically ordered. As I see in the documentation, there's no way to do this - chronologically order results.
https://images.nasa.gov/ uses https://images-assets.nasa.gov/popular.json to get popular images and https://images-assets.nasa.gov/recent.json to get recent images. Is there something like this for the https://images-api.nasa.gov api?
The text was updated successfully, but these errors were encountered:
Hey guys, I'm trying to build a
https://images-api.nasa.gov
image search app, but I'm having difficulties getting recent images to show something on the initial load.What I've tried to do is to query only the last and current year worth of images with a query of 'a'.
Like this:
/search-results?q=a&page=1&media=image&yearStart=2022&yearEnd=2023
.This would be ok if the results were chronologically ordered. As I see in the documentation, there's no way to do this - chronologically order results.
https://images.nasa.gov/
useshttps://images-assets.nasa.gov/popular.json
to get popular images andhttps://images-assets.nasa.gov/recent.json
to get recent images. Is there something like this for thehttps://images-api.nasa.gov
api?The text was updated successfully, but these errors were encountered: