Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including eggtart with all npm packages installed. Try it out:

var eggtart = require("eggtart")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

eggtart v0.1.2

Delicious API node.js client

Avatar

Build Status Dependencies Status Coverage Status Published Version
npm Badge

Eggtart

Eggtart is a Delicious API node.js client.

This is handy when you want to use Delicious API service from a node.js application. Delicious API methods are available as Eggtart methods, e.g. https://api.delicious.com/v1/posts/recent?count=8 is mapped to eggtart.posts().recent({ count: 8 }, cb); .

Tested with Delicious API v1.

Installation

npm install [-g] eggtart

or as a dependency in package.json file:

"dependencies": {
  "eggtart": "x.y.z"
}

Usage

var Eggtart = require('eggtart'),
  eggtart = new Eggtart('username', 'password');

Get recent bookmarks:

eggtart.posts().recent(function (err, result) {
  ...
});

Get bookmarks for specific tags:

eggtart.posts().get({ tag: 'sometag' }, function (err, result) {
  ...
});

Rename tag on all posts:

eggtart.tags().rename({ old: 'foo', new: 'bar' }, function (err, result) {
  ...
})

Fetch tag bundles:

eggtart.tagBundles().all(function (err, result) {
  ...
});

Check out Delicious API documentation for a complete list of available methods.

Eggtart also has a set of CLI commands.

Take screenshots of bookmarks having at least one tag within the specified comma-separated tag list:

eggtart -u user:pass screenshot --tags tag1,tag2,tag3

Delete bookmarks having at least a tag within the specified comma-separated tag list:

eggtart -u user:pass delete --tags tag1,tag2,tag3

Colophon

Developer's Guide

Build reports:

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free