RapidAPI logo

Sign Up

Log In

TextToEmotionsPremium

PAID
By Qemotion
Updated 3 months ago
Communication
-/10
Popularity Score
-
Latency
-
Success Rate

TextToEmotionsPremium API Documentation

Detect inside feedbacks from customers and audience both emotions and speech engagement

View API Details
GETget_emotions_premium
GETget_emotions_premium
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
textSTRING
REQUIRED
langSTRING
REQUIRED
Content-TypeSTRING
REQUIRED
AuthorizationSTRING
REQUIRED
Request Snippet
unirest.get("https://qemotion-get_emotions_premium-v1.p.rapidapi.com/v1/emotional_analysis/get_emotions_premium")
.header("X-RapidAPI-Host", "qemotion-get_emotions_premium-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("text", "What a beautiful day today!")
.header("lang", "en")
.header("Content-Type", "application/json; charset=UTF-8")
.header("Authorization", "Token token="bc55ca0a8f5c8c41556f499a93f7077a"")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
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://qemotion-get_emotions_premium-v1.p.rapidapi.com/v1/emotional_analysis/get_emotions_premium")
.header("X-RapidAPI-Host", "qemotion-get_emotions_premium-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("text", "What a beautiful day today!")
.header("lang", "en")
.header("Content-Type", "application/json; charset=UTF-8")
.header("Authorization", "Token token="bc55ca0a8f5c8c41556f499a93f7077a"")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication