Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including node-semrush2 with all npm packages installed. Try it out:

var nodeSemrush2 = require("node-semrush2")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

node-semrush2 v1.0.1

A forked SEMRush API library for Node.js

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

This module provides calls to the SEMRushAPI for Nodejs.

Installation

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

You can also install via git by cloning: git clone https://github.com/ithinkdancan/node-semrush.git /path/to/semrush-api

Usage

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

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

  // See http://www.semrush.com/api.html for format of returned object
  var report = response;

  // Do something with data
});
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free