Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bitliner/bing-search

NodeJs module to search content with Bing
https://github.com/bitliner/bing-search

Last synced: about 21 hours ago
JSON representation

NodeJs module to search content with Bing

Awesome Lists containing this project

README

        

bing-search
===========

NodeJs module to search content with Bing

# Installation

```
npm install bing-search
```

# Usage

Import the module and create a new instance specifying user and password provided by Bing

```
var BingSearch=require('bing-search');

var bing=new BingSearch({
user: '...',
password: '...'
})

```

Search content

```
bing.search({
query: 'query'
}).then(function(res){
// res is a json object, containing 2 fields:
// * results: (the array of results)
// * __next: the url to the next page
}, function(err){ })
```

# Notes

* now it supports only images search. So the result returned by the method `search()` are images.