node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey ยป


node-semrush - An SEMRush API library for Node.js

This module provides calls to the SEMRushAPI for Nodejs.


You can install this through npm: npm install node-semrush

You can also install via git by cloning: git clone /path/to/semrush-api


var SEMRushAPI = require('node-semrush');
var semrush = new SEMRushAPI('<YOUR API KEY>');

semrush.<ReportType>('<DOMAIN>', {<RequestParams>}, function(err, response) {
  if (err) throw err;

  // See for format of returned object
  var report = response;

  // Do something with data