| Premshree Pillai ( @ 2005-03-01 21:41:00 |
| Current music: | Jewel - Foolish Games |
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!