From 603c1c7b3fe75d5c5726b1627f305c2d099d4489 Mon Sep 17 00:00:00 2001 From: Scott McAllister Date: Wed, 13 Jan 2016 19:28:51 -0500 Subject: [PATCH] Updated readme file to document web only Bing API subscription support --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index a2cd720..20c8045 100644 --- a/README.md +++ b/README.md @@ -150,6 +150,13 @@ 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 require and initialize it with this root uri: + +```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