RapidAPI logo

TopicAPI

FREEMIUM
By dmitrykey
Updated 17 days ago
Text Analysis
-/10
Popularity Score
-
Latency
-
Success Rate
Discussions
Hi Developer, feel free to ask your question:
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://dmitrykey-insiderapi-v1.p.rapidapi.com/articles/ru/cluster?enddate=2018-12-30&lang=ru&resourceid=runet&startdate=2018-12-01")
.header("X-RapidAPI-Host", "dmitrykey-insiderapi-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication