1.0.4 • Published 9 years ago

bing_count v1.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

bing_count

counts the number of bing search results for the given query

Install

npm install bing_count

Using

var bing_count = require('bing_count')
bing_count('food', function(count) {
  console.log(count) // will output
})

Bing authentication

Please place your credentials in a yaml file .getsecret.yaml with the format

bing_account_key: your_app_secret_here

Or set bing_count.account_key to the app secret, or specify the environment variable bing_account_key

Caching

You need to run a mongodb instance on localhost so that results can be cached.

The mongosrv command allows you to do this easily:

npm install -g mongosrv
mongosrv

To specify a different mongo url, modify bing_count.keyval.mongourl

Credits

Author: Geza Kovacs

License

MIT

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago