Package Exports
- apobirthday
- apobirthday/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (apobirthday) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
π apobirthday π
Show the picture taken by NASA for the day you were born.
Install
Install with npm
$ npm install -g apobirthdaySet your API key
$ export APOD_ACCESS_TOKEN=YOUR_API_KEYπ You need NASA API account to create API key. More info is here.
You can use apod without API key.
In that case DEMO key is used automatically instead of API key.
This api has access limit.
About access limit
When you use DEMO key
- Hourly Limit: 30 requests per IP address per hour
- Daily Limit: 50 requests per IP address per day
When you use API key
- Hourly Limit: 1,000 requests per hour
Usage

Result
Caution
π¨ Please note that there is no data before 1995-08-16,in that case a random date is specified .