<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Comments on article "Youtube, GData and Python"</title>
<link>http://base-art.net/Articles/87/</link>
<description>&lt;p&gt;Google has been providing a &lt;a class="reference" href="http://code.google.com/apis/gdata/index.html"&gt;GData&lt;/a&gt; API to Youtube since a few
months now, this is quite cool because it allows applications
like &lt;a class="reference" href="http://www.gnome.org/projects/totem/"&gt;Totem&lt;/a&gt; to access videos stored at Youtube.&lt;/p&gt;
&lt;p&gt;So I wrote a little Python wrapper using &lt;a class="reference" href="http://code.google.com/p/gdata-python-client/"&gt;python-gdata&lt;/a&gt; to ease
access to that nice API, especially video thumbnails and direct
FLV urls. It's called &lt;a class="reference" href="http://svn.pythonfr.org/public/pythonfr/video/youtube_client.py"&gt;YoutubeClient&lt;/a&gt;, here's a little example:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
cli = YouTubeClient()

for video in cli.recently_featured():
  thumb_url = cli.get_largest_thumbnail(video)
  flv_url = cli.get_flv_video_url(video.link[1].href)
  print video.title.text, thumb_url, flv_url
&lt;/pre&gt;
&lt;p&gt;Right now, what you can do is:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;access standard feeds: recently_featured, most_viewed, top_rated&lt;/li&gt;
&lt;li&gt;browse Youtube tags&lt;/li&gt;
&lt;li&gt;access user-centric data: uploaded_videos, contacts, favorite_videos&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This is really fun to use and would make a nice &lt;a class="reference" href="http://elisa.fluendo.com"&gt;Elisa&lt;/a&gt;
plugin... Any volunteer? :)&lt;/p&gt;
&lt;p&gt;Next episode, accessing your Picasaweb data&lt;/p&gt;
</description>
<language>en</language>
<copyright>The contents of this blog are available for non-commercial use only.</copyright>
<generator>Alinea http://pythonfr.org/alinea/</generator>


<item>
<title>phil on Youtube, GData and Python</title>
<link>http://base-art.net/Comments/231/</link>
<guid isPermaLink="true">http://base-art.net/Comments/231/</guid>
<description><![CDATA[
&lt;p&gt;Not yet. But I won't be suprised when the API will support it. For instance it's already possible to push/update content hosted on Picasaweb via their API, which is kinda neat :)&lt;/p&gt;

]]></description>
<dc:creator>phil</dc:creator>
<dc:date>2007-11-03T13:43:10Z</dc:date>
</item>

<item>
<title>Jkx on Youtube, GData and Python</title>
<link>http://base-art.net/Comments/230/</link>
<guid isPermaLink="true">http://base-art.net/Comments/230/</guid>
<description><![CDATA[
&lt;p&gt;Does this allow to bulk send some contents to Youtube ?&lt;/p&gt;

]]></description>
<dc:creator>Jkx</dc:creator>
<dc:date>2007-11-03T13:24:20Z</dc:date>
</item>


</channel>
</rss>