nasa / nasa/api-docs

https://images-api.nasa.gov chronological order

Open
#187 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SCSS
Stars
555
Forks
140
Avg merge
2h 30m
Merged PRs (30d)
3

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Images API documentation linked in the issue and the /search-results endpoint, focusing on its yearStart and yearEnd query parameters. Determine whether chronological ordering or a recent-images response is supported, then document the confirmed behavior or the required API change and its completion criteria.

Written by the indexing model from the issue text.

Assessment

Domain
api, search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.