andrewcarteruk/astronomy-picture-of-the-day

A wrapper for the Astronomy Picture of the Day API provided by NASA.

0.1 2015-10-31 14:37 UTC

This package is auto-updated.

Last update: 2024-10-19 14:02:02 UTC


README

This package is used by AstroSplash to retrieve images from the NASA Astronomy Picture of the Day API.

Check the AstroSplash repository to see this API wrapper in use!

Check the NASA API website to see how to use their API directly.

Description

On its own, the NASA API does not provide thumbnails or return more than one result per request.

This wrapper provides a thin layer above the NASA API which includes these features. It does this by maintaining a store of thumbnails and JSON files in a public web root.

The methods that update, query and clear the store are documented with annotations in the API.php and APIInterface.php files in the src directory.