GitXplorerGitXplorer
l

node-bing-image

public
2 stars
1 forks
0 issues

Commits

List of commits on branch master.
Verified
c2f444aff23d6e96be77ea499025dcfcc03dfa4e

Update package.json

llisposter committed 4 years ago
Verified
e3b519d84179647f376e32eab49b137f749d8424

Merge pull request #1 from ebdonato/master

llisposter committed 4 years ago
Unverified
1be204537f2aef2d3527fe18cf7ff39f8a577013

Fix Readme

eebdonato committed 4 years ago
Unverified
cf42ffcca1b11a2ee743181c3f4ac3a177b3f1fd

Update README

eebdonato committed 4 years ago
Unverified
506238a43cc68d87cc07bb4b369b015f0a439608

Option for image size at returned url

eebdonato committed 4 years ago
Unverified
7549277a0203db5e5c98aaaeab57f9b6abb2a60c

init

llisposter committed 10 years ago

README

The README file for this repository.

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);