"Astronomy Picture of the Day" scraper for node, support multi-language
DEMO PAGE: http://ssarcandy.tw/node-apod/demo.html
npm install --save node-apod
var APOD = ;var apod = API_KEY; // You can get API_KEY atapod;
The response data format as follow:
zh_tw: Traditional Chinese
LANG is specified(and is valid), response data will get specified LANG's
For example, set
Will Get something like this:
[LANG] version not found.
The main site(NASA) is the first to update and the most likely to be up-to-date.
For those other languages mirror sites, maybe not alway up-to-date.
If happended, will get error as follow:
Response code not 200
If you get this error, means that the APOD servers cannot be reached.