Text Mining and NLP

FREEMIUM
By RxNLP
Updated 5 months ago
Data
7.7/10
Popularity Score
557ms
Latency
76%
Success Rate
plaban2 years ago
The API endpoints do not work / are broken. getting a gateway timeout error on each requestAll the API endpoints are generating a 504-Gateway Timeout Error irrespective of the data sent in . Tried using the samples on mashape as well with the same issue. Could you please look into this issue
danyalAfzala year ago
I'm facing this issue too. help needed!
jcmortensen2 years ago
API returns 504 - Gateway Timeout, but was fine a few hours ago.
plaban2 years ago
It was working , but its broken again. Would this be a recurring issue?
RxNLP2 years ago
Could you please retry now?
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.post("https://rxnlp-core.p.rapidapi.com/generateNGramCounts")
.header("X-RapidAPI-Host", "rxnlp-core.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("n-gram=3")
.send("text=I love rainy days. How I wish it was raining ! How I wish it was snowing !")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication