Skip to content

Instantly share code, notes, and snippets.

@jbgutierrez
Created November 13, 2009 16:52
Show Gist options
  • Save jbgutierrez/233972 to your computer and use it in GitHub Desktop.
Save jbgutierrez/233972 to your computer and use it in GitHub Desktop.
Suggested tags retrieval with DeliciousApi
#!/usr/bin/env ruby -wKU
require 'rubygems'
require 'delicious_api'
require 'pp'
DeliciousApi::Base.wrapper = DeliciousApi::Wrapper.new 'user', 'secret'
bookmark = DeliciousApi::Bookmark.find :url => 'http://www.yahoo.com'
# bookmark = DeliciousApi::Bookmark.new 'http://www.yahoo.com' if you don't have this bookmark in your account
pp bookmark.suggested_tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment