Re: Sorting the images of the latest Mars Rover #extraterrestrial
How can the JSON metadata be read from the NASA site directly?
If you check network traffic generated by the site you linked, it calls https://mars.nasa.gov/rss/api/?feed=raw_images&feedtype=json&category=mars2020 like is done in mars-stereo. No key is needed (but there might be a rate limitation per IP internally).
See https://github.com/stereopix/mars-stereo/blob/master/resources/script.js#L410-L423 for some arguments to pass to the URL.
Or reverse-engineer https://mars.nasa.gov/mars2020/multimedia/raw-images/ for more arguments.