Youtube-g 0.4.1 Released

youtube-g version 0.4.1 has been released!

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:

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 H.]
  • Fixed embeddable video searching [Pete H.]
  • Fixed video embeddable detection [Pete H.]
  • Fixed unique id hyphen detection [Pete H., Chris T.]

AUTHORS

Walter Korman: [email protected]
Shane V.: [email protected]

CONTRIBUTERS

Pete H.

Enjoy!
-Shane

On Feb 11, 2008 4:19 PM, Shane V. [email protected] wrote:

youtube-g version 0.4.1 has been released!

nice.
but sorry, but i do not see the new version, only the 0.4.0…

kind regards -botp

I just released it so it probably needs some time to propagate through
the gem mirrors.

From: Shane V. [mailto:[email protected]]

I just released it so it probably needs some time to propagate through

the gem mirrors.

oops, sorry. i just realized that now. will wait.
thanks for youtube-g.

kind regards -botp