RapidAPI logo

Sentlytics - Sentiment to Outcome

FREEMIUM
By djinn
Updated 5 months ago
Commerce
-/10
Popularity Score
-
Latency
-
Success Rate

Sentlytics - Sentiment to Outcome API Documentation

You have tons of product reviews, forex swaps, customer satisfaction reports, trading data and social tweets which if used could predict future outcome. However, where could you find a reliable API which predicts sentiment fast and with high accuracy. Now that is possible with us.

View API Details
GET/api/sentiment
GET/api/sentiment

Find the sentiment of text

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
textSTRING
REQUIRED
Code Snippet
unirest.get("https://djinn-sentiment-analysis-v1.p.rapidapi.com/api/sentiment?text=To+new+beginnings!")
.header("X-RapidAPI-Host", "djinn-sentiment-analysis-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://djinn-sentiment-analysis-v1.p.rapidapi.com/api/sentiment
Request Method: GET
Response Headers
Response Body

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://djinn-sentiment-analysis-v1.p.rapidapi.com/api/sentiment?text=To+new+beginnings!")
.header("X-RapidAPI-Host", "djinn-sentiment-analysis-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