ML Analyzer

FREEMIUM
By mlanalyzer
Updated 5 months ago
Social
7.8/10
Popularity Score
59424ms
Latency
-
Success Rate

ML Analyzer API Documentation

Text Classification, Article Summarization, Sentiment Analysis, Stock symbol extraction, Person Names Extractor, Language Detection, Locations Extractor, Adult content Analyzer.

View API Details
GETAdult Content Analyzer
GETArticle Summarizer
POSTArticle Summarizer POST
GETContent Classifier
GETLanguage Detector
GETLocation Extractor
GETNames Extractor
GETSentiment Analyzer
GETStocks Symbols Extractor
GETAdult Content Analyzer

Analyze a block of text for adult content (English only)

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
textSTRING
REQUIREDspecify the text that you want to analyze
Optional Parameters
callbackSTRING
OPTIONALA callback to use for PJSON
Code Snippet
unirest.get("https://nehac-ml-analyzer.p.rapidapi.com/adult?text=encoded+text")
.header("X-RapidAPI-Host", "nehac-ml-analyzer.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://nehac-ml-analyzer.p.rapidapi.com/adult
Request Method: GET
Response Headers
Response Body

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://nehac-ml-analyzer.p.rapidapi.com/adult?text=encoded+text")
.header("X-RapidAPI-Host", "nehac-ml-analyzer.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication