Diffbot

FREE
By diffbot
Updated 5 months ago
Data
2.8/10
Popularity Score
478ms
Latency
100%
Success Rate
erasmospunk5 years ago
Detect the language of the textAn interesting addition to the API would be to detect the language used in the text.
diffbot5 years ago
Our humanLanguage field now does this at the api.diffbot.com/v2/article and api.diffbot.com/v2/analyze endpoints.
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.get("https://diffbot-diffbot.p.rapidapi.com/v2/article?timeout=15000&fields=text%2Chtml%2Cimages(pixelHeight%2CpixelWidth)&url=http%3A%2F%2Fblog.diffbot.com%2Fdiffbot-api-batch-requests%2F")
.header("X-RapidAPI-Host", "diffbot-diffbot.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