Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bitliner/bing-search
- Owner: bitliner
- License: gpl-3.0
- Created: 2013-10-12T22:12:50.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-12T22:23:14.000Z (over 11 years ago)
- Last Synced: 2024-04-09T21:32:13.773Z (10 months ago)
- Language: JavaScript
- Size: 793 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.