RapidAPI logo

TrustServista Text Analysis

FREEMIUM
By georgezac
Updated 6 months ago
Machine Learning
1.6/10
Popularity Score
1082ms
Latency
-
Success Rate

TrustServista Text Analysis API Documentation

Enhanced Text Analysis capabilities: language detection, summarization, webpage content and metadata extraction, named entity recognition, sentiment analysis, semantic content comparison, IAB and IPTC content classification, document vectorization.

TrustServista is a software solution provided by Zetta Cloud (www.zettacloud.ro). Read more: www.trustservista.com

View API Details
Text Analytics
POSTLanguage
POSTEntities
POSTText
POSTMetadata
POSTSummary
POSTSentiment
POSTIAB Classification
POSTIPTC Classification
POSTCompare
POSTLanguage

Detect the language of a given URL or raw text. Supports over 70 languages. Read more here: https://www.trustservista.com/trustservista-api/

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
acceptSTRING
CONSTANT
Content-TypeSTRING
CONSTANT
Required Parameters
Content-TypeSTRING
REQUIRED - CONSTANT
acceptSTRING
REQUIRED - CONSTANT
Optional Parameters
contentSTRING
OPTIONALRaw text to be processed by the API call
contentUriSTRING
OPTIONALURL to be processed by the API call
Code Snippet
unirest.post("https://georgezac-trustservista-v1.p.rapidapi.com/language")
.header("X-RapidAPI-Host", "georgezac-trustservista-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("accept", "application/json")
.header("Content-Type", "application/json")
.header("Content-Type", "application/json")
.header("accept", "application/json")
.send("content=EMPTY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://georgezac-trustservista-v1.p.rapidapi.com/language
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://georgezac-trustservista-v1.p.rapidapi.com/language")
.header("X-RapidAPI-Host", "georgezac-trustservista-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("accept", "application/json")
.header("Content-Type", "application/json")
.header("Content-Type", "application/json")
.header("accept", "application/json")
.send("content=EMPTY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication