JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q44910F
  • License MIT

fetch picture taken by NASA on your Birthday

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 apobirthday

Set 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

how_to_use

Result

γ‚Ήγ‚―γƒͺγƒΌγƒ³γ‚·γƒ§γƒƒγƒˆ 2022-09-26 17 16 35

Caution

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