kote-api
API to fetch quote of the day from the sites like GoodReads, BrainyQuote and Eduro.
install
$ npm install --save kote-api
Usage
'use strict';
const kote = require('kote-api');
kote.goodReads().then(quote => {
console.log(quote);
});
kote.brainyQuote().then(quote => {
console.log(quote);
});
kote.eduro().then(user => {
console.log(user);
});
API
-
kote.goodReads()
: Returns Quote of the Day
from GoodReads
-
kote.eduro()
: Returns Quote of the Day
from Eduro
-
kote.brainyQuote()
: Returns Quote of the Day
from BrainyQuote
Related
Kote
: Daily injection of wisdom, fun and love through command line
License
MIT © Rishi Giri