RapidAPI logo

Diffbot

FREE
By diffbot
Updated 4 months ago
Data
5.6/10
Popularity Score
19277ms
Latency
94%
Success Rate
Discussions
Hi Developer, feel free to ask your question:
erasmospunk:5 years ago
1 Answer

Detect the language of the text

jipomx:5 years ago
1 Answer

Could not download page (200 OK)

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://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