Closed ReadyPlayer2 closed 5 years ago
Earliest valid date appears to be June 16 1995 according to https://apod.nasa.gov/apod/archivepix.html.
Confirmed by trying outside this date:
{
"code": 400,
"msg": "Date must be between Jun 16, 1995 and Mar 27, 2019.",
"service_version": "v1"
}
Documentation suggests a count=n
query parameter could be used in place of a date to return n random images in a JSON array. https://github.com/nasa/apod-api
Date is hardcoded so would be better to use any valid date from earliest valid date for APOD API.