RapidAPI logo

Sign Up

Log In

Sentiment Analysis

FREEMIUM
By zyanyatech1
Updated 4 months ago
Tools
-/10
Popularity Score
-
Latency
-
Success Rate

Sentiment Analysis API Overview

Sentiment analysis (sometimes known as opinion mining or emotion AI) refers to the use of natural language processing, text analysis, computational linguistics, and biometrics to systematically identify, extract, quantify, and study affective states and subjective information.

Contact API Provider
star-blueRate
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://zyanyatech1-sentiment-text-analysis-v1.p.rapidapi.com/")
.header("X-RapidAPI-Host", "zyanyatech1-sentiment-text-analysis-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("text=I have that impulse, too, to share it, which is why I have my classes read it. There is a truth in the tales that I recognize viscerally but have never been taught.")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication