Text Mining and NLP

FREEMIUM
By RxNLP
Updated 5 months ago
Data
7.7/10
Popularity Score
557ms
Latency
76%
Success Rate
lvrdoljak3 years ago
Endpoint not availableDear Sir/Madam, the text similarity endpoint seems to be unavailable during most of the day. Is there some issue with the API or is the problem related to my access rights? Thank you! Kind regards
lvrdoljak3 years ago
The problem is gone now. The requests were just timing out both through my application and through Mashape demo.
RxNLP3 years ago
Everything seems fine with the endpoint, do you have an error message that you are getting? What kind of HTTP response are you getting back? Thanks, admin
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