Node.js module for the Bing Search API (Cognitive Services)
Find a file
2014-10-27 17:45:26 +01:00
lib Support for Markets 2014-10-27 17:45:26 +01:00
test Adding test for failure, removing spurious debugger statement. 2014-10-01 12:00:00 -07:00
.gitignore Ignore t.js 2014-09-19 14:22:53 +02:00
Gruntfile.js jshint laxbreak 2014-10-04 23:00:16 +02:00
index.js Git init 2014-09-18 18:24:52 +02:00
LICENSE Add license file 2014-09-19 14:50:37 +02:00
package.json Bump to 0.1.4 2014-10-04 23:14:56 +02:00
README.md Readme sytle 2014-10-04 23:12:41 +02:00

Node Bing API

Node.js lib for the Azure Bing Web Search API

Installation

npm install node-bing-api

Usage

Require the library and initialialize it with your account key:

var Bing = require('node-bing-api')({ accKey: "your-account-key" });
Bing.search("Pizza", function(error, res, body){
    console.log(body);
  },
  {
    top: 10,  // Number of results (max 50)
    skip: 3   // Skip first 3 results
  });
Bing.images("Ninja Turtles", function(error, res, body){
  console.log(body);
}, {skip: 50});

License

MIT