Skip to content

Wong-Innovations/WebmasterAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebmasterAPI

This is a Node.js wrapper for the Bing Webmaster API.

Installation

foo@bar:~$ npm install webmaster-api --save

Usage

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.

Release History

  • 0.1.0 Initial release

About

This is a Node.js wrapper for the [Bing Webmaster API](https://docs.microsoft.com/en-us/dotnet/api/webapi/?view=bing-webmaster-dotnet).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published