diffbot-node-client
v3.0.3
Published
A node api for diffbot. Just a minor rewrite of the js lib, that was connected to a browser.
Downloads
1
Readme
Diffbot API Node client
Unofficial node version of the diffbot-js-client repo
Installation
npm install diffbot-node-client
Usage
a short example of how to use the Article API, see diffbot-js-client for more example on other apis. The client works the same way for both js-client and the node-client.
Article API
var DiffBot = require('diffbot-node-client');
var client = new DiffBot("your token");
client.article.get({
url: url
}, function onSuccess(response) {
console.log('Success', response);
}, function onError(response) {
console.log('Error',response);
});