bing-image
v0.1.1
Published
get bing.com's daily picture's url
Downloads
9
Readme
node-bing-image
Install
$ npm i bing-image
Usage
Default
const bing = require('bing-image');
const callbackFn = (err, url) {
console.log(url);
};
bing.getPicUrl(callbackFn);
Optionally
const bing = require('bing-image');
const imageSize = {
width: 1920,
height: 1080
};
const callbackFn = (err, url) => {
console.log(url);
};
bing.getPicUrl(callbackFn, imageSize);