RapidAPI logo

Sign Up

Log In

RussianSentimentAnalyzer

FREEMIUM
By dmitrykey
Updated a month ago
Business
7.2/10
Popularity Score
384ms
Latency
100%
Success Rate

RussianSentimentAnalyzer API Documentation

RussianSentimentAnalyzer (RSA) is a JSON API based on the technology stack of Insider Solutions company. It is capable of parsing the input text, reconstructing the meaning of messages with typos, like tweets and finding sentiment polarity oriented towards a particular object.

Consider an example:

I like new GalaxyS, but do not enjoy new iPhone.

If there are no objects, the sentiment of this sentence can be detected as NEUTRAL or MIXED. If, however, GalaxyS has been passed in as an object, the sentiment will be POSITIVE. It will be NEGATIVE for iPhone in this particular example.

Currently the API supports Russian language with input texts varying from long formal news posts to informal and short tweets.

Looking for text analytics APIs? Check the full list here: https://www.mashape.com/dmitrykey

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
Polarity
POSTInput text
POSTInput text with client_text_id
POSTArray of input texts
Feedback
POSTClient feedback
Subjectivity
POSTInput text for subjectivity
POSTInput text

Supply text and optionally target objects to annotate sentiment for. Also include clienttextid, if you plan to later submit feedback on it.

FreemiumThis API has a free, limited plan and paid plans. You can subscribe directly to it from RapidAPI.
Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
single_json_inputJSON_STRING
REQUIRED
Request Snippet
unirest.post("https://russiansentimentanalyzer.p.rapidapi.com/rsa/sentiment/polarity/json/")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/json")
.send({"text":"Гиперответственный классный исполнитель :)\nОтдельный респект за подхваченное в 22-00 задание!","article_id":1})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

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.post("https://russiansentimentanalyzer.p.rapidapi.com/rsa/sentiment/polarity/json/")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/json")
.send({"text":"Гиперответственный классный исполнитель :)\nОтдельный респект за подхваченное в 22-00 задание!","article_id":1})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication