S
Shane Vitarana
youtube-g version 0.4.1 has been released!
* <http://rubyforge.org/projects/youtube-g/>
youtube-g is a pure Ruby client for the YouTube GData API. It provides an easy
way to access the latest YouTube video search results from your own programs.
In comparison with the earlier Youtube search interfaces, this new API and
library offers much-improved flexibility around executing complex search
queries to obtain well-targeted video search results.
More detail on the underlying source Google-provided API is available at:
http://code.google.com/apis/youtube/overview.html
## FEATURES/PROBLEMS:
* Aims to be in parity with Google's YouTube GData API. Core functionality
is currently present -- work is in progress to fill in the rest.
## SYNOPSIS:
Create a client:
require 'youtube_g'
client = YouTubeG::Client.new
Basic queries:
client.videos_by
query => "penguin")
client.videos_by
tags => ['tiger', 'leopard'])
client.videos_by
categories => [:news, :sports])
client.videos_by
categories => [:news, :sports], :tags =>
['soccer', 'football'])
client.videos_by
user => 'liz')
Standard feeds:
client.videos_by
most_viewed)
client.videos_by
top_rated, :time => :today)
Advanced queries (with boolean operators OR (either), AND (include),
NOT (exclude)):
client.videos_by
categories => { :either => [:news, :sports],
:exclude => [:comedy] }, :tags => { :include => ['football'], :exclude
=> ['soccer'] })
Changes:
## 0.4.1 / 2008-02-11
* Added 3GPP video format [shane]
* Fixed tests [shane]
## 0.4.0 / 2007-12-18
* Fixed API projection in search URL [Pete Higgins]
* Fixed embeddable video searching [Pete Higgins]
* Fixed video embeddable detection [Pete Higgins]
* Fixed unique id hyphen detection [Pete Higgins, Chris Taggart]
## AUTHORS
Walter Korman: (e-mail address removed)
Shane Vitarana: (e-mail address removed)
## CONTRIBUTERS
Pete Higgins
* <http://rubyforge.org/projects/youtube-g/>
Enjoy!
-Shane
* <http://rubyforge.org/projects/youtube-g/>
youtube-g is a pure Ruby client for the YouTube GData API. It provides an easy
way to access the latest YouTube video search results from your own programs.
In comparison with the earlier Youtube search interfaces, this new API and
library offers much-improved flexibility around executing complex search
queries to obtain well-targeted video search results.
More detail on the underlying source Google-provided API is available at:
http://code.google.com/apis/youtube/overview.html
## FEATURES/PROBLEMS:
* Aims to be in parity with Google's YouTube GData API. Core functionality
is currently present -- work is in progress to fill in the rest.
## SYNOPSIS:
Create a client:
require 'youtube_g'
client = YouTubeG::Client.new
Basic queries:
client.videos_by
client.videos_by
client.videos_by
client.videos_by
['soccer', 'football'])
client.videos_by
Standard feeds:
client.videos_by
client.videos_by
Advanced queries (with boolean operators OR (either), AND (include),
NOT (exclude)):
client.videos_by
:exclude => [:comedy] }, :tags => { :include => ['football'], :exclude
=> ['soccer'] })
Changes:
## 0.4.1 / 2008-02-11
* Added 3GPP video format [shane]
* Fixed tests [shane]
## 0.4.0 / 2007-12-18
* Fixed API projection in search URL [Pete Higgins]
* Fixed embeddable video searching [Pete Higgins]
* Fixed video embeddable detection [Pete Higgins]
* Fixed unique id hyphen detection [Pete Higgins, Chris Taggart]
## AUTHORS
Walter Korman: (e-mail address removed)
Shane Vitarana: (e-mail address removed)
## CONTRIBUTERS
Pete Higgins
* <http://rubyforge.org/projects/youtube-g/>
Enjoy!
-Shane