Language Identification

FREEMIUM
By MeaningCloud
Updated 3 months ago
Tools
1.4/10
Popularity Score
89ms
Latency
100%
Success Rate
Discussions
Hi Developer, feel free to ask your question:

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://language-identification.p.rapidapi.com/lang-2.0.php?txt=Last+Friday+we+watched+a+terribly+bad+movie+called+%22K%C3%A1rate+a+muerte+en+Torremolinos%22%2C+by+an+unknown+Spanish+director.&threshold=100&verbose=n")
.header("X-RapidAPI-Host", "language-identification.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