wikipics-api 
A simple API to obtain Wikipedia Picture of the Day
Install
$ npm install --save wikipics-api
Usage
'use strict'
const wikipics = require('wikipics-api');
wikipics().then(data => {
console.log(data);
});
wikipics('2014-10-10').then(data => {
console.log(data);
});
API
wikipics()
Return promise for current picture of the day
wikipics('date')
Returns promise for picture of the day of specific date
date
TYPE
:
string
FORMAT
:
yyyy-mm-dd
Related
wikipics
: Download Wikipedia Picture of the Day and more!
License
MIT © Rishi Giri