RapidAPI logo

Sign Up

Log In

Cloud NLP

FREE
By mtnfog
Updated 2 months ago
Data
6.4/10
Popularity Score
3642ms
Latency
96%
Success Rate

Cloud NLP API Documentation

Cloud NLP is a collection of natural language processing webservice APIs for performing functions like sentiment analysis.

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
GETlanguage
GETsentiment
GETlanguage

Determines the language of the input text. The service returns the two-letter language code of the input text’s determined language.

Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
textSTRING
REQUIREDThe input text.
Request Snippet
unirest.get("https://mtnfog-cloud-nlp-v1.p.rapidapi.com/language?text=<required>")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

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://mtnfog-cloud-nlp-v1.p.rapidapi.com/language?text=<required>")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication