simple_youtube 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/simple_youtube/activeyoutube.rb +22 -0
- data/lib/simple_youtube/youtube.rb +14 -0
- data/lib/simple_youtube.rb +2 -0
- data/test/fakeweb_helper.rb +18 -0
- data/test/fixture/playlist_cyanure1982.xml +752 -0
- data/test/fixture/standardfeed_toprated_jp.xml +1989 -0
- data/test/fixture/standardfeed_toprated_jp_comedy.xml +280 -0
- data/test/fixture/standardfeed_toprated_today.xml +1855 -0
- data/test/fixture/user_cyanure1982_playlists.xml +78 -0
- data/test/fixture/user_ionysis_favourites.xml +1496 -0
- data/test/fixture/user_ionysis_subscriptions.xml +43 -0
- data/test/fixture/user_vinyljunkie07_contacts.xml +424 -0
- data/test/fixture/video_category_comedy.xml +745 -0
- data/test/fixture/video_category_comedy_exclude_film.xml +354 -0
- data/test/fixture/video_category_david_beckham_news_or_sports.xml +1526 -0
- data/test/fixture/video_comments.xml +423 -0
- data/test/fixture/video_related.xml +1488 -0
- data/test/fixture/video_responses.xml +267 -0
- data/test/fixture/video_search.xml +309 -0
- data/test/youtube_test.rb +108 -0
- metadata +150 -0
@@ -0,0 +1,78 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
|
3
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
4
|
+
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:gd="http://schemas.google.com/g/2005" xmlns:yt="http://gdata.youtube.com/schemas/2007" gd:etag="W/"DEMAQX0_fSp7ImA9WxFVF08."">
|
5
|
+
<id>tag:youtube.com,2008:user:cyanure1982:playlists</id>
|
6
|
+
<updated>2010-06-16T22:14:00.345Z</updated>
|
7
|
+
<category scheme="http://schemas.google.com/g/2005#kind" term="http://gdata.youtube.com/schemas/2007#playlistLink"/>
|
8
|
+
<title>Playlists of cyanure1982</title>
|
9
|
+
<logo>http://www.youtube.com/img/pic_youtubelogo_123x63.gif</logo>
|
10
|
+
<link rel="related" type="application/atom+xml" href="http://gdata.youtube.com/feeds/api/users/cyanure1982?v=2"/>
|
11
|
+
<link rel="alternate" type="text/html" href="http://www.youtube.com/profile_play_list?user=cyanure1982"/>
|
12
|
+
<link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://gdata.youtube.com/feeds/api/users/cyanure1982/playlists?v=2"/>
|
13
|
+
<link rel="http://schemas.google.com/g/2005#batch" type="application/atom+xml" href="http://gdata.youtube.com/feeds/api/users/cyanure1982/playlists/batch?v=2"/>
|
14
|
+
<link rel="self" type="application/atom+xml" href="http://gdata.youtube.com/feeds/api/users/cyanure1982/playlists?start-index=1&max-results=25&v=2"/>
|
15
|
+
<link rel="service" type="application/atomsvc+xml" href="http://gdata.youtube.com/feeds/api/users/cyanure1982/playlists?alt=atom-service&v=2"/>
|
16
|
+
<author>
|
17
|
+
<name>cyanure1982</name>
|
18
|
+
<uri>http://gdata.youtube.com/feeds/api/users/cyanure1982</uri>
|
19
|
+
</author>
|
20
|
+
<generator version="2.0" uri="http://gdata.youtube.com/">YouTube data API</generator>
|
21
|
+
<openSearch:totalResults>3</openSearch:totalResults>
|
22
|
+
<openSearch:startIndex>1</openSearch:startIndex>
|
23
|
+
<openSearch:itemsPerPage>25</openSearch:itemsPerPage>
|
24
|
+
<entry gd:etag="W/"DUYBQn47eCp7ImA9WxFWGUw."">
|
25
|
+
<id>tag:youtube.com,2008:user:cyanure1982:playlist:E5F5EBA251BFBB4E</id>
|
26
|
+
<published>2010-03-06T04:05:46.000Z</published>
|
27
|
+
<updated>2010-06-07T13:25:53.000Z</updated>
|
28
|
+
<category scheme="http://schemas.google.com/g/2005#kind" term="http://gdata.youtube.com/schemas/2007#playlistLink"/>
|
29
|
+
<title>Jpop</title>
|
30
|
+
<summary/>
|
31
|
+
<content type="application/atom+xml;type=feed" src="http://gdata.youtube.com/feeds/api/playlists/E5F5EBA251BFBB4E?v=2"/>
|
32
|
+
<link rel="related" type="application/atom+xml" href="http://gdata.youtube.com/feeds/api/users/cyanure1982?v=2"/>
|
33
|
+
<link rel="alternate" type="text/html" href="http://www.youtube.com/view_play_list?p=E5F5EBA251BFBB4E"/>
|
34
|
+
<link rel="self" type="application/atom+xml" href="http://gdata.youtube.com/feeds/api/users/cyanure1982/playlists/E5F5EBA251BFBB4E?v=2"/>
|
35
|
+
<author>
|
36
|
+
<name>cyanure1982</name>
|
37
|
+
<uri>http://gdata.youtube.com/feeds/api/users/cyanure1982</uri>
|
38
|
+
</author>
|
39
|
+
<yt:countHint>37</yt:countHint>
|
40
|
+
<yt:playlistId>E5F5EBA251BFBB4E</yt:playlistId>
|
41
|
+
</entry>
|
42
|
+
<entry gd:etag="W/"AkQHSH47eCp7ImA9WxFXF0s."">
|
43
|
+
<id>tag:youtube.com,2008:user:cyanure1982:playlist:3CD77017B1B13196</id>
|
44
|
+
<published>2010-04-21T18:06:01.000Z</published>
|
45
|
+
<updated>2010-05-25T06:18:59.000Z</updated>
|
46
|
+
<category scheme="http://schemas.google.com/g/2005#kind" term="http://gdata.youtube.com/schemas/2007#playlistLink"/>
|
47
|
+
<title>RnB</title>
|
48
|
+
<summary/>
|
49
|
+
<content type="application/atom+xml;type=feed" src="http://gdata.youtube.com/feeds/api/playlists/3CD77017B1B13196?v=2"/>
|
50
|
+
<link rel="related" type="application/atom+xml" href="http://gdata.youtube.com/feeds/api/users/cyanure1982?v=2"/>
|
51
|
+
<link rel="alternate" type="text/html" href="http://www.youtube.com/view_play_list?p=3CD77017B1B13196"/>
|
52
|
+
<link rel="self" type="application/atom+xml" href="http://gdata.youtube.com/feeds/api/users/cyanure1982/playlists/3CD77017B1B13196?v=2"/>
|
53
|
+
<author>
|
54
|
+
<name>cyanure1982</name>
|
55
|
+
<uri>http://gdata.youtube.com/feeds/api/users/cyanure1982</uri>
|
56
|
+
</author>
|
57
|
+
<yt:countHint>42</yt:countHint>
|
58
|
+
<yt:playlistId>3CD77017B1B13196</yt:playlistId>
|
59
|
+
</entry>
|
60
|
+
<entry gd:etag="W/"Ak8BRn47eCp7ImA9WxFXE0s."">
|
61
|
+
<id>tag:youtube.com,2008:user:cyanure1982:playlist:D00BDE6AA710D50C</id>
|
62
|
+
<published>2010-01-23T07:18:46.000Z</published>
|
63
|
+
<updated>2010-05-20T15:20:57.000Z</updated>
|
64
|
+
<category scheme="http://schemas.google.com/g/2005#kind" term="http://gdata.youtube.com/schemas/2007#playlistLink"/>
|
65
|
+
<title>shinnenkai</title>
|
66
|
+
<summary/>
|
67
|
+
<content type="application/atom+xml;type=feed" src="http://gdata.youtube.com/feeds/api/playlists/D00BDE6AA710D50C?v=2"/>
|
68
|
+
<link rel="related" type="application/atom+xml" href="http://gdata.youtube.com/feeds/api/users/cyanure1982?v=2"/>
|
69
|
+
<link rel="alternate" type="text/html" href="http://www.youtube.com/view_play_list?p=D00BDE6AA710D50C"/>
|
70
|
+
<link rel="self" type="application/atom+xml" href="http://gdata.youtube.com/feeds/api/users/cyanure1982/playlists/D00BDE6AA710D50C?v=2"/>
|
71
|
+
<author>
|
72
|
+
<name>cyanure1982</name>
|
73
|
+
<uri>http://gdata.youtube.com/feeds/api/users/cyanure1982</uri>
|
74
|
+
</author>
|
75
|
+
<yt:countHint>79</yt:countHint>
|
76
|
+
<yt:playlistId>D00BDE6AA710D50C</yt:playlistId>
|
77
|
+
</entry>
|
78
|
+
</feed>
|