This flow will download the latest Astronomy Picture of the Day (APOD) from Nasa.gov and caches in memory.
It hits the API once every 24 hours, so you don't have to worry about reaching your quota.
This flow demonstrates a technique in caching data that can be used for other sites as well - for example, you can create your own "xxx of the day" from any site that offers a random API by simply calling that random API once every 24 hours (you can change this interval) and caching the result. Calls to the API will read from the cached version.
NOTE: to use this flow you must obtain a free API key from data.nasa.gov.