1.0.2 • Published 8 years ago
kote-api v1.0.2
kote-api 
Easily fetch quote of the day from BrainyQuotes and Eduro.
Install
$ npm install --save kote-apiUsage
'use strict';
const kote = require('kote-api');
kote.eduro().then(user => {
console.log(user);
// => { quote: 'Don’t cry because it’s over, smile because it happened.' }
});
kote.brainyQuote().then(quote => {
console.log(quote);
// { quote: 'Hope is but the dream of those wake.' }
});
// or
kote.brainyQuote('nature').then(quote => {
console.log(quote);
// { quote: A good garden may have some weeds. }
});API
kote.brainyQuote()kote.brainyQuote(opts)
opts
lovenatureartfunny
Typeof
opts : string
kote.eduro()
Related
Kote:Daily injection of wisdom, fun and love through command line
License
MIT © Rishi Giri