awis

Node.js client for the Alexa Web Information Service.

npm install awis
12 downloads in the last week
38 downloads in the last month

awis

NPM

Build Status Dependency Status devDependency Status

Node.js client for the Alexa Web Information Service.

Installation

$ npm install awis --save

Examples

var credentials = {
  key: process.env.AWSACCESSKEYID,
  secret: process.env.AWSSECRETACCESSKEY
};
var awis = require('awis')(credentials);
awis({
  'Action': 'UrlInfo',
  'Url': 'foo.com',
  'ResponseGroup': 'Related,TrafficData,ContentData'
}, function (err, data) {
  // ...
});

Actions

  • UrlInfo - get information about pages and sites on the web - their traffic, content, and related sites.

  • TrafficHistory - get a history of traffic rank.

  • CategoryBrowse, CategoryListings - get lists of sites within a specific category ordered by traffic rank, or create a browseable directory of websites.

  • SitesLinkingIn - get a list of sites linking in to a specified site.

For more details please check the Alexa Web Information Service documentation.

License

The MIT License

npm loves you