PHP Classes

PHP NASA Image of the Day API: Show the image of the day retrieved from NASA API

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 82 All time: 10,078 This week: 73Up
Version License PHP version Categories
nasa-image-of-the-da 1.0.0MIT/X Consortium ...5PHP 5, Graphics, Web services
Description 

Author

This package can show the image of the day retrieved from NASA API.

It provides a script that can send an HTTP request to the NASA API to get the details of the current image of the day.

The package can output HTML tags to display the day's image on a Web page in two versions: the original definition and the high definition.

Innovation Award
PHP Programming Innovation award nominee
June 2023
Number 6
NASA is the well-known North American Space Agency that does space exploration activities.

NASA often capture images from planets and stars that they observe in space.

They provide an API that can return what they call the image of the day.

This package provides a simple script that can retrieve and display the NASA image of the day.

Manuel Lemos
Picture of Chun-Sheng, Li
  Performance   Level  
Name: Chun-Sheng, Li <contact>
Classes: 37 packages by
Country: Taiwan Taiwan
Age: 31
All time rank: 21046 in Taiwan Taiwan
Week rank: 4 Up1 in Taiwan Taiwan Up
Innovation award
Innovation award
Nominee: 17x

Winner: 1x

Documentation

NASA-Image-Of-The-Day-API

A PHP script to retrieve and display the NASA image of the day and its associated information.

1). You will need to go to the nasa website. 2). Register for an api key. 3). Paste your key into where it says your_api_key on line 3 index.php.


  Files folder image Files (3)  
File Role Description
Accessible without login Plain text file index.php Appl. Application
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:82
This week:0
All time:10,078
This week:73Up