This is a Node.js wrapper for the Bing Webmaster API.
foo@bar:~$ npm install webmaster-api --save
var WebmasterAPI = require('webmaster-api');
WebmasterAPI.init("your API key");
var yesterday = new Date(Date.now() - 86400 * 1000).toISOString();
var today = Date.now().toISOString();
console.log(WebmasterAPI.getKeyword({q: "peanuts", startDate: yesterday, endDate: today}));
// This should log an object containing keyword impression stats.
- 0.1.0 Initial release