March 1st, 2005

I’m listening to...

That’s the current song playing on my system. It’ll appear on my blog’s right. Requires XMMS bindings for Ruby and Ruby-GD (I don’t know the links to the websites.)

Ruby code... )

Enjoi!

Posted at 12:06 am | Link | 10 comments | Leave a comment

Ruby API for Yahoo! Search Web Services

So my employer has released APIs to play with Yahoo! Search.

So they have Java, JavaScript, Perl, PHP, Python APIs. No Ruby. :-| So I present a Ruby API for Yahoo! Search Web Services. No error handling, etc. No time, etc.

Sample usage »

require 'yahoo-ruby'

webObj = WebSearch.new('YOUR-APP_ID' ,'premshree')
p webObj.parse_results

videoObj = VideoSearch.new('YOUR-APP_ID' ,'pamela anderson')
p videoObj.parse_results

Oh yeah, you’ll need an Application ID.

Enjoi!

Posted at 09:41 pm | Link | 7 comments | Leave a comment