Text-Processing

FREEMIUM
By japerk
Updated 5 months ago
Other
9.3/10
Popularity Score
395ms
Latency
85%
Success Rate
johnsel5 years ago
Non-commercial useHey, I saw on http://text-processing.com/demo/sentiment/ that you also have some options for non-commercial projects. I would like to discuss this with you, but I cannot seem to find a way to contact you. Can you let me know how I can contact you? Thanks. John
japerk5 years ago
Sorry I didn't see this before, I think it has to do with Mashape's latest upgrade. You'll need to upgrade your client library to use Unirest, and make sure you're using the right keys. If you've done this and are still getting 403's, please let me know.
japerk5 years ago
japerk at gmail
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://japerk-text-processing.p.rapidapi.com/phrases/")
.header("X-RapidAPI-Host", "japerk-text-processing.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("language=spanish")
.send("text=California is nice")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication