0.0
No commit activity in last 3 years
No release in over 3 years
An Extension to Del.icio.us API using Ruby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 1.1.2
>= 1.15
 Project Readme

Del.icio.us Extended API¶ ↑

This Module is an extension to official del.icio.us API. The main purpose here is to provide methods like get popular, fresh, hot and recent links using scraping.

Author:¶ ↑

Thiago Bueno Silva (tbueno@tbueno.com)

License:¶ ↑

Distributes under the same terms as Ruby

USAGE:¶ ↑

d = Delicious::Collector.new
links = d.popular 'ruby'
links.each do |link|  
  puts '------------------------------------------'
  puts "Text: #{link.text}"
  puts "URL: #{link.url}"
  puts "People: #{link.people}"
  puts "Posted By: #{link.posted_by.name}" if link.posted_by.name
  puts "Tags:  #{link.tags * ','}"
end

METHODS¶ ↑

Popular ¶ ↑

Get popular links found at “delicious.com/popular”.

links = d.popular
links.each do |link|  
  puts '------------------------------------------'
  puts "Text: #{link.text}"
  puts "URL: #{link.url}"
  puts "People: #{link.people}"
  puts "Posted By: #{link.posted_by.name}" if link.posted_by.name
  puts "Tags:  #{link.tags * ','}"
end

# This links can also be searched by tags

d.popular 'ruby'

Recent¶ ↑

Links newly added to delicious.

recent_links = d.recent

Fresh¶ ↑

“The freshest bookmarks that are flying like hotcakes on Delicious and beyond.”

fresh_links = d.fresh

Hot List¶ ↑

Popular links right now.

hot_links = d.hot_list

Search links based on a term.

links = d.search 'rails'