Post by Peter Cooper on December 5th, 2006
Yahoo! Video Library for Ruby Released

- BOSSMan: Build Your Own Search Engine With Yahoo And Ruby
- Google Video API for Ruby
- 9 Great Ruby Libraries from Robot Co-op


Walter Korman has released the first version of a Yahoo! Video library for Ruby. All it takes is a gem install yahoo-video and some simple code like this:
require 'rubygems' require 'yahoo-video' # your application id for use with the yahoo search services. you can # get one at http://api.search.yahoo.com/webservices/register_application. APP_ID = YOUR_APP_ID_HERE query = ARGV[0] print "Running a video search for '#{query}'...\\n" client = YahooVideo::Client.new APP_ID request = YahooVideo::SearchRequest.new :query => query response = client.search request
As Walter points out, this gives Ruby the distinct honor of supporting the trifecta of video search services: Yahoo! Video, Google Video, and YouTube.

Click here to add on del.icio.us
Tweet This









March 28th, 2007 at 6:41 pm
AdSense Money Maker
Do you know how to make money from AdSense automatically? You don't!? I'll teach you how!