Turbo NLP

FREEMIUM
By sharpcode
Updated 5 months ago
Text Analysis
5.9/10
Popularity Score
603ms
Latency
100%
Success Rate

Turbo NLP API Documentation

Your Swiss army knife for NLP! Text summarization, sentiment check, text readability analysis, named entity extraction, segmentation, tokenization, SEO slug creation and much more.

View API Details
POSTCheck Sentiment
POSTNER
POSTTokenize
POSTSegment
POSTDetect Language
POSTCreate Slug
POSTTest Readability
POSTSummarize Text
POSTCheck Sentiment

This endpoint checks sentiment of the provided text

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
Method payloadJSON_STRING
REQUIREDText whose sentiment must be checked.
Code Snippet
unirest.post("https://turbo-nlp.p.rapidapi.com/CheckSentiment")
.header("X-RapidAPI-Host", "turbo-nlp.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"text":"You are a good company but this time you provided a horrible service. I regret buying this item from you."})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://turbo-nlp.p.rapidapi.com/CheckSentiment
Request Method: POST
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.post("https://turbo-nlp.p.rapidapi.com/CheckSentiment")
.header("X-RapidAPI-Host", "turbo-nlp.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"text":"You are a good company but this time you provided a horrible service. I regret buying this item from you."})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication