Topics Extraction

FREEMIUM
By MeaningCloud
Updated 3 months ago
Social
6.4/10
Popularity Score
934ms
Latency
94%
Success Rate
mg5 years ago
.net Sample Error?I tried to use the provided sample (after subscribing to the free plan) and I get the following response: {"status":{"code":"202","msg":"Engine internal error","credits":"9"}}
MeaningCloud5 years ago
Hi mg! Thanks for trying Textalytics Topic Extraction. Please, could you send us the text were you trying to process? If you have some confidentiality issues you can write to [email protected] Thanks, The Textalytics Team
Hi Developer, feel free to post your answer:

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://topics-extraction.p.rapidapi.com/topics-2.0.php?txtf=plain&uw=n&rt=n&dm=s&sdg=l&st=n&of=json&lang=en&txt=Robert+Downey+Jr+has+topped+Forbes+magazine's+annual+list+of+the+highest+paid+actors+for+the+second+year+in+a+row.+The+49-year-old+star+of+the+Iron+Man+and+Avengers+films+made+an+estimated+%2475m+over+the+past+year%2C+beating+rivals+Dwayne+Johnson%2C+Bradley+Cooper%2C+Chris+Hemsworth+and+Leonardo+DiCaprio.&tt=a")
.header("X-RapidAPI-Host", "topics-extraction.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("accept", "application/json;")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication