Generates an image from the NASA Image of the Day.
nasa-image-of-the-day generate --config config.json --height 300 --width 400
It's based around the APOD API and requires an API key from NASA.
The configuration only requires a NASA API key, but can also specify a date to pick a specific day.
field | default | required | description |
---|---|---|---|
apiKey | Yes | The NASA API key | |
date | No | A date, in YYYY-MM-DD format, of a specific day to fetch |
---
apiKey: <redacted>
date: "2022-04-18"