I’ve sort of finished up rDigg today. It’s to the point I’m comfortable letting other people start to play with it anyways.
As you’d expect, rDigg is a Digg API wrapper in the form of a Ruby on Rails plugin. It still needs some work, but works pretty well.
For example:
#create new Rdigg object
digg = Rdigg.new
# find the 3 newest submissions from Kevin Rose
stories = digg.user.find_submissions("kevinrose", :count => 3)
# stories is now an array with a hash for each story
stories.first[:story] #=> the story's text
stories.first[:href] #=> the story's url
stories.first[:diggs] #=> number of diggs the story has
Grab it at: http://github.com/johnyerhot/rdigg/tree/master. I’ll have the Rdoc up at rdigg.yerhot.org later tonight You can peruse the documentation at rdigg.yerhot.org. I highly recommend you check out all methods that are available to you.
If you want to really dig in (sorry couldn’t resist) I’d go over the Digg API wiki to see what arguments you can pass.
I hope you enjoy the plugin!