Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Wrapper for the Diigo bookmarking service api
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.md
diigonode.js
package.json Cleaning

README.md

diigonode

A wrapper for the Diigo bookmarking service API

Usage

Mimics the API spec seen here https://www.diigo.com/api_dev

Install

npm install diigonode

Example: getting some links

var diigo = require('diigonode');

var auth = {
    password: '',
    username: ''
}

var getOptions = {
    key: '',
    username: 'username',
    password: 'password', 
    start: '', 
    count: '1', 
    sort: '', 
    tags: 'javascript',
    filter: '',
    list: ''
};

diigo.getDiigo(getOptions, auth, function(err, results) {
    //do stuff with results
});

Example: saving a link

var diigo = require('diigonode');

var auth = {
    password: '',
    username: ''
}

var saveOptions = {
    key: '',
    title: 'Test Bookmark', 
    url: 'http://www.test.com/', 
    shared: 'no', 
    desc: 'Test description for test bookmark',
    readLater: 'yes'
};

diigo.saveDiigo(saveOptions, auth, function(err, results) {
    //do stuff with results
});
Something went wrong with that request. Please try again.