Skip to content

APOD returns an unknown "other" media type #5

@trumpetx

Description

@trumpetx

I was installing this module today and was having some trouble, and that's because this endpoint:
https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY&date=2025-05-18
(added date for posterity, but that was the default "today")

did not return a valid URL (and the module kept trying to load it)

{
  "date": "2025-05-18",
  "explanation": "What if you could fly over Pluto -- what might you see? The New Horizons spacecraft did just this in 2015 July as it shot past the distant world at a speed of about 80,000 kilometers per hour. Images from this spectacular passage have been color enhanced, vertically scaled, and digitally combined into the featured two-minute time-lapse video. As your journey begins, light dawns on mountains thought to be composed of water ice but colored by frozen nitrogen.  Soon, to your right, you see a flat sea of mostly solid nitrogen that has segmented into strange polygons that are thought to have bubbled up from a comparatively warm interior.  Craters and ice mountains are common sights below. The video dims and ends over terrain dubbed bladed because it shows 500-meter high ridges separated by kilometer-sized gaps.  The robotic New Horizons spacecraft has too much momentum to ever return to Pluto and is now headed out of our Solar System.",
  "media_type": "other",
  "service_version": "v1",
  "title": "Pluto Flyover from New Horizons"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions