Merge pull request #18 from scottmcallister/master
Issue #17 - Web only API subscription support
This commit is contained in:
commit
5eb5a3386b
1 changed files with 9 additions and 0 deletions
|
@ -150,6 +150,15 @@ Accepted values: "Off", "Moderate", "Strict".
|
|||
*Moderate level should not include results with sexually explicit images
|
||||
or videos, but may include sexually explicit text.*
|
||||
|
||||
#### Web Only API Subscriptions
|
||||
To use this library with a web only subscription, you can require and initialize it with an alternate root url:
|
||||
```js
|
||||
var Bing = require('node-bing-api')
|
||||
({
|
||||
accKey: "your-account-key",
|
||||
rootUri: "https://api.datamarket.azure.com/Bing/SearchWeb/v1/"
|
||||
});
|
||||
```
|
||||
|
||||
## Running Tests
|
||||
In order to run the tests, the integration tests require to create a `secrets.js` file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue