goferito / node-bing-api

Node.js module for the Bing Search API (Cognitive Services)
MIT License
56 stars 28 forks source link

Web only API subscription support #17

Closed scottmcallister closed 8 years ago

scottmcallister commented 8 years ago

This module does not currently support web only subscriptions for Bing's Search API. As a work around in our project we had to modify the rootURI in lib/bing.js to point here:

https://api.datamarket.azure.com/Bing/SearchWeb/v1/

It would be nice to have an option to toggle between the two, so developers with a web only subscription can use this module without having to modify the root url directly.

scottmcallister commented 8 years ago

It turns out this library can be included with an alternate root url. The documentation for this repository could be improved to show how this is done. I've submitted a pull request for this issue with an updated readme file.