YouTube Ruby library
Shane Vitarana has put together a Ruby library for accessing YouTube videos and metadata. All that's needed is a simple gem install youtube, and you can put together great examples like the above. Shane cites Scott Raymond's Flickr Ruby library as an inspiration.