Datumbox

FREE
By community
Updated 4 months ago
Data
-/10
Popularity Score
-
Latency
-
Success Rate

Datumbox API Documentation

Machine Learning Made Simple Power-up your own Intelligent Applications by using our cutting edge Machine Learning platform. Sign-up today and start building intelligent services with our powerful & easy-to-use API.

View API Details
Document-Classification
POSTPOST /1.0/CommercialDetection.json
POSTPOST /1.0/AdultContentDetection.json
POSTPOST /1.0/EducationalDetection.json
POSTPOST /1.0/LanguageDetection.json
POSTPOST /1.0/SentimentAnalysis.json
POSTPOST /1.0/SpamDetection.json
POSTPOST /1.0/GenderDetection.json
POSTPOST /1.0/ReadabilityAssessment.json
POSTPOST /1.0/SubjectivityAnalysis.json
POSTPOST /1.0/TopicClassification.json
POSTPOST /1.0/TwitterSentimentAnalysis.json
Metrics
POSTPOST /1.0/DocumentSimilarity.json
Information-Retrieval
POSTPOST /1.0/KeywordExtraction.json
POSTPOST /1.0/TextExtraction.json
POSTPOST /1.0/CommercialDetection.json

The Commercial Detection function labels the documents as commercial or non-commercial based on their keywords and expressions. It can be used to detect whether a website is commercial or not.

Authorization:

description

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
textSTRING
REQUIRED
api_keyQUERY
REQUIREDGet your key from http://www.datumbox.com/apikeys/view/
Code Snippet
unirest.post("https://community-datumbox.p.rapidapi.com/1.0/CommercialDetection.json")
.header("X-RapidAPI-Host", "community-datumbox.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://community-datumbox.p.rapidapi.com/1.0/CommercialDetection.json
Request Method: POST
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.post("https://community-datumbox.p.rapidapi.com/1.0/CommercialDetection.json")
.header("X-RapidAPI-Host", "community-datumbox.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication