Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

diigonode

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

diigonode

A wrapper for the Diigo bookmarking service API

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

#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
});

Keywords

bookmarking

FAQs

Package last updated on 21 Jul 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts