Install
$ npm install --save apod-nasa
Usage
For current date
const apod = ; ;
For specific date
apod;
Date
In apod.date()
the following format is only supported format -
yy/mm/dd
Example :
- For
16th of March, 1998
:
980316
- For
1st January, 2000
:
000101
NOTE :
APOD-NASA
started to post pictures since June 16, 1995
, so the least date will be 950616
and max will be the current date
API
-
apod()
-
apod.date('date')
date
Type :
string
Format :
yy/mm/dd
Related
apod
: Astronomy Picture of the Day form command line done right!
License
MIT © Rishi Giri