picasa 0.3.3 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. data/.gitignore +1 -0
  2. data/.travis.yml +6 -1
  3. data/Gemfile +6 -0
  4. data/README.md +16 -24
  5. data/Rakefile +1 -1
  6. data/lib/picasa.rb +18 -12
  7. data/lib/picasa/api/album.rb +45 -0
  8. data/lib/picasa/client.rb +14 -0
  9. data/lib/picasa/connection.rb +86 -0
  10. data/lib/picasa/exceptions.rb +17 -0
  11. data/lib/picasa/presenter/album.rb +76 -0
  12. data/lib/picasa/presenter/album_list.rb +60 -0
  13. data/lib/picasa/presenter/author.rb +15 -0
  14. data/lib/picasa/presenter/base.rb +29 -0
  15. data/lib/picasa/presenter/link.rb +19 -0
  16. data/lib/picasa/presenter/media.rb +27 -0
  17. data/lib/picasa/presenter/photo.rb +79 -0
  18. data/lib/picasa/presenter/thumbnail.rb +19 -0
  19. data/lib/picasa/utils.rb +44 -0
  20. data/lib/picasa/version.rb +1 -1
  21. data/picasa.gemspec +4 -15
  22. data/test/api/album_test.rb +24 -0
  23. data/test/client_test.rb +14 -0
  24. data/test/connection_test.rb +71 -0
  25. data/test/fixtures/album/album-list-with-tag.txt +105 -0
  26. data/test/fixtures/album/album-list.txt +105 -0
  27. data/test/fixtures/album/album-show-with-max-results.txt +131 -0
  28. data/test/fixtures/album/album-show-with-tag-and-many-photos.txt +156 -0
  29. data/test/fixtures/album/album-show-with-tag-and-one-photo.txt +105 -0
  30. data/test/fixtures/album/album-show.txt +169 -0
  31. data/test/fixtures/auth/failure.txt +12 -0
  32. data/test/fixtures/auth/success.txt +14 -0
  33. data/test/fixtures/json.txt +435 -0
  34. data/test/fixtures/photo/photo-list-all-with-q.txt +556 -0
  35. data/test/fixtures/photo/photo-list-all.txt +623 -0
  36. data/test/fixtures/photo/photo-list-user.txt +388 -0
  37. data/test/fixtures/presenters/album_list.xml +88 -0
  38. data/test/fixtures/presenters/album_show.xml +152 -0
  39. data/test/fixtures/presenters/album_show_with_one_photo.xml +88 -0
  40. data/test/fixtures/tag/tag-list-album.txt +77 -0
  41. data/test/fixtures/tag/tag-list-photo.txt +72 -0
  42. data/test/fixtures/tag/tag-list.txt +68 -0
  43. data/test/helper.rb +12 -6
  44. data/test/presenter/album_list_test.rb +67 -0
  45. data/test/presenter/album_test.rb +173 -0
  46. data/test/presenter/author_test.rb +17 -0
  47. data/test/presenter/base_test.rb +27 -0
  48. data/test/presenter/link_test.rb +21 -0
  49. data/test/presenter/media_test.rb +29 -0
  50. data/test/presenter/photo_test.rb +81 -0
  51. data/test/presenter/thumbnail_test.rb +24 -0
  52. data/test/utils_test.rb +84 -0
  53. metadata +66 -31
  54. data/lib/picasa/config.rb +0 -15
  55. data/lib/picasa/web_albums.rb +0 -56
  56. data/test/fixtures/albums +0 -15
  57. data/test/fixtures/photos +0 -15
  58. data/test/test_config.rb +0 -12
  59. data/test/test_web_albums.rb +0 -44
@@ -0,0 +1,169 @@
1
+ HTTP/1.1 200 OK
2
+ Expires: Mon, 05 Dec 2011 19:07:18 GMT
3
+ Date: Mon, 05 Dec 2011 19:07:18 GMT
4
+ Cache-Control: private, max-age=0, must-revalidate, no-transform
5
+ Set-Cookie: _rtok=yN147Gqit9x9; Path=/; Secure; HttpOnly
6
+ Set-Cookie: S=photos_html=O6tA5qb3LFUeZhwxklUNxg; Domain=.google.com; Path=/; Secure; HttpOnly
7
+ Content-Type: application/atom+xml; charset=UTF-8; type=feed
8
+ Vary: Accept, X-GData-Authorization, GData-Version, Cookie
9
+ GData-Version: 2.0
10
+ ETag: W/"DUICQX0_fSp7ImA9WhdSGEo."
11
+ Last-Modified: Thu, 28 Jul 2011 18:26:00 GMT
12
+ X-Content-Type-Options: nosniff
13
+ X-Frame-Options: SAMEORIGIN
14
+ X-XSS-Protection: 1; mode=block
15
+ Server: GSE
16
+ Transfer-Encoding: chunked
17
+
18
+ <?xml version='1.0' encoding='UTF-8'?>
19
+ <feed xmlns='http://www.w3.org/2005/Atom' xmlns:exif='http://schemas.google.com/photos/exif/2007' xmlns:gphoto='http://schemas.google.com/photos/2007' xmlns:media='http://search.yahoo.com/mrss/' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:gd='http://schemas.google.com/g/2005' gd:etag='W/&quot;DUICQX0_fSp7ImA9WhdSGEo.&quot;'>
20
+ <id>https://picasaweb.google.com/data/feed/user/106136347770555028022/albumid/5243667126168669553</id>
21
+ <updated>2011-07-28T18:26:00.345Z</updated>
22
+ <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#album'/>
23
+ <title>test2</title>
24
+ <subtitle/>
25
+ <rights>public</rights>
26
+ <icon>https://lh6.googleusercontent.com/-u_2FJXbbliU/SMU_eBetTXE/AAAAAAAAAkU/3XThNVnAM-4/s160-c/Test2.jpg</icon>
27
+ <link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://picasaweb.google.com/data/feed/api/user/106136347770555028022/albumid/5243667126168669553'/>
28
+ <link rel='alternate' type='text/html' href='https://picasaweb.google.com/106136347770555028022/Test2'/>
29
+ <link rel='http://schemas.google.com/photos/2007#slideshow' type='application/x-shockwave-flash' href='https://picasaweb.google.com/s/c/bin/slideshow.swf?host=picasaweb.google.com&amp;RGB=0x000000&amp;feed=https%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2F106136347770555028022%2Falbumid%2F5243667126168669553%3Falt%3Drss'/>
30
+ <link rel='http://schemas.google.com/photos/2007#report' type='text/html' href='https://picasaweb.google.com/lh/reportAbuse?uname=106136347770555028022&amp;aid=5243667126168669553'/>
31
+ <link rel='self' type='application/atom+xml' href='https://picasaweb.google.com/data/feed/api/user/106136347770555028022/albumid/5243667126168669553?start-index=1&amp;max-results=1000'/>
32
+ <author>
33
+ <name>Wojciech Wnętrzak</name>
34
+ <uri>https://picasaweb.google.com/106136347770555028022</uri>
35
+ </author>
36
+ <generator version='1.00' uri='http://picasaweb.google.com/'>Picasaweb</generator>
37
+ <openSearch:totalResults>3</openSearch:totalResults>
38
+ <openSearch:startIndex>1</openSearch:startIndex>
39
+ <openSearch:itemsPerPage>1000</openSearch:itemsPerPage>
40
+ <gphoto:id>5243667126168669553</gphoto:id>
41
+ <gphoto:name>Test2</gphoto:name>
42
+ <gphoto:location/>
43
+ <gphoto:access>public</gphoto:access>
44
+ <gphoto:timestamp>1220857200000</gphoto:timestamp>
45
+ <gphoto:numphotos>3</gphoto:numphotos>
46
+ <gphoto:user>106136347770555028022</gphoto:user>
47
+ <gphoto:nickname>Wojciech Wnętrzak</gphoto:nickname>
48
+ <gphoto:allowPrints>true</gphoto:allowPrints>
49
+ <gphoto:allowDownloads>true</gphoto:allowDownloads>
50
+ <entry gd:etag='&quot;YD4qeyI.&quot;'>
51
+ <id>https://picasaweb.google.com/data/entry/user/106136347770555028022/albumid/5243667126168669553/photoid/5243667226703402962</id>
52
+ <published>2008-09-08T15:06:55.000Z</published>
53
+ <updated>2009-06-24T15:59:48.639Z</updated>
54
+ <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#photo'/>
55
+ <title>Kashmir range.jpg</title>
56
+ <summary/>
57
+ <content type='image/jpeg' src='https://lh4.googleusercontent.com/-O0AOpTAPGBQ/SMU_j4ADl9I/AAAAAAAAAFs/DRnmROPuRVU/Kashmir%252520range.jpg'/>
58
+ <link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://picasaweb.google.com/data/feed/api/user/106136347770555028022/albumid/5243667126168669553/photoid/5243667226703402962'/>
59
+ <link rel='alternate' type='text/html' href='https://picasaweb.google.com/106136347770555028022/Test2#5243667226703402962'/>
60
+ <link rel='http://schemas.google.com/photos/2007#canonical' type='text/html' href='https://picasaweb.google.com/lh/photo/FowxCXojZeLQRA2W3Hq2wtMTjNZETYmyPJy0liipFm0'/>
61
+ <link rel='self' type='application/atom+xml' href='https://picasaweb.google.com/data/entry/api/user/106136347770555028022/albumid/5243667126168669553/photoid/5243667226703402962'/>
62
+ <link rel='http://schemas.google.com/photos/2007#report' type='text/html' href='https://picasaweb.google.com/lh/reportAbuse?uname=106136347770555028022&amp;aid=5243667126168669553&amp;iid=5243667226703402962'/>
63
+ <gphoto:id>5243667226703402962</gphoto:id>
64
+ <gphoto:albumid>5243667126168669553</gphoto:albumid>
65
+ <gphoto:access>public</gphoto:access>
66
+ <gphoto:width>717</gphoto:width>
67
+ <gphoto:height>468</gphoto:height>
68
+ <gphoto:size>79465</gphoto:size>
69
+ <gphoto:checksum/>
70
+ <gphoto:timestamp>1220886415000</gphoto:timestamp>
71
+ <gphoto:imageVersion>91</gphoto:imageVersion>
72
+ <gphoto:commentingEnabled>true</gphoto:commentingEnabled>
73
+ <gphoto:commentCount>0</gphoto:commentCount>
74
+ <gphoto:license id='0' name='All Rights Reserved' url=''>ALL_RIGHTS_RESERVED</gphoto:license>
75
+ <exif:tags>
76
+ <exif:imageUniqueID>875bf5220bc6e4d8f57cfa31c48d8406</exif:imageUniqueID>
77
+ </exif:tags>
78
+ <media:group>
79
+ <media:content url='https://lh4.googleusercontent.com/-O0AOpTAPGBQ/SMU_j4ADl9I/AAAAAAAAAFs/DRnmROPuRVU/Kashmir%252520range.jpg' height='468' width='717' type='image/jpeg' medium='image'/>
80
+ <media:credit>Wojciech Wnętrzak</media:credit>
81
+ <media:description type='plain'/>
82
+ <media:keywords/>
83
+ <media:thumbnail url='https://lh4.googleusercontent.com/-O0AOpTAPGBQ/SMU_j4ADl9I/AAAAAAAAAFs/DRnmROPuRVU/s72/Kashmir%252520range.jpg' height='47' width='72'/>
84
+ <media:thumbnail url='https://lh4.googleusercontent.com/-O0AOpTAPGBQ/SMU_j4ADl9I/AAAAAAAAAFs/DRnmROPuRVU/s144/Kashmir%252520range.jpg' height='94' width='144'/>
85
+ <media:thumbnail url='https://lh4.googleusercontent.com/-O0AOpTAPGBQ/SMU_j4ADl9I/AAAAAAAAAFs/DRnmROPuRVU/s288/Kashmir%252520range.jpg' height='188' width='288'/>
86
+ <media:title type='plain'>Kashmir range.jpg</media:title>
87
+ </media:group>
88
+ </entry>
89
+ <entry gd:etag='&quot;YD4qeyI.&quot;'>
90
+ <id>https://picasaweb.google.com/data/entry/user/106136347770555028022/albumid/5243667126168669553/photoid/5634470191836365426</id>
91
+ <published>2011-07-28T18:22:01.000Z</published>
92
+ <updated>2011-07-28T18:22:10.358Z</updated>
93
+ <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#photo'/>
94
+ <title>pączki.jpg</title>
95
+ <summary>pączki</summary>
96
+ <content type='image/jpeg' src='https://lh6.googleusercontent.com/-CW7znxKv9Vg/TjGoyWnvAnI/AAAAAAAAAkM/Z2YE2j-U98s/p%2525C4%252585czki.jpg'/>
97
+ <link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://picasaweb.google.com/data/feed/api/user/106136347770555028022/albumid/5243667126168669553/photoid/5634470191836365426'/>
98
+ <link rel='alternate' type='text/html' href='https://picasaweb.google.com/106136347770555028022/Test2#5634470191836365426'/>
99
+ <link rel='http://schemas.google.com/photos/2007#canonical' type='text/html' href='https://picasaweb.google.com/lh/photo/8SrPwdA4Qs3CK3wjK24_otMTjNZETYmyPJy0liipFm0'/>
100
+ <link rel='self' type='application/atom+xml' href='https://picasaweb.google.com/data/entry/api/user/106136347770555028022/albumid/5243667126168669553/photoid/5634470191836365426'/>
101
+ <link rel='http://schemas.google.com/photos/2007#report' type='text/html' href='https://picasaweb.google.com/lh/reportAbuse?uname=106136347770555028022&amp;aid=5243667126168669553&amp;iid=5634470191836365426'/>
102
+ <gphoto:id>5634470191836365426</gphoto:id>
103
+ <gphoto:albumid>5243667126168669553</gphoto:albumid>
104
+ <gphoto:access>public</gphoto:access>
105
+ <gphoto:width>1600</gphoto:width>
106
+ <gphoto:height>1200</gphoto:height>
107
+ <gphoto:size>208223</gphoto:size>
108
+ <gphoto:checksum/>
109
+ <gphoto:timestamp>1311877321000</gphoto:timestamp>
110
+ <gphoto:imageVersion>579</gphoto:imageVersion>
111
+ <gphoto:commentingEnabled>true</gphoto:commentingEnabled>
112
+ <gphoto:commentCount>0</gphoto:commentCount>
113
+ <gphoto:license id='0' name='All Rights Reserved' url=''>ALL_RIGHTS_RESERVED</gphoto:license>
114
+ <exif:tags>
115
+ <exif:make>Nokia</exif:make>
116
+ <exif:model>6300</exif:model>
117
+ <exif:imageUniqueID>e9d6f547640f4536518b716ab2ac58f5</exif:imageUniqueID>
118
+ </exif:tags>
119
+ <media:group>
120
+ <media:content url='https://lh6.googleusercontent.com/-CW7znxKv9Vg/TjGoyWnvAnI/AAAAAAAAAkM/Z2YE2j-U98s/p%2525C4%252585czki.jpg' height='1200' width='1600' type='image/jpeg' medium='image'/>
121
+ <media:credit>Wojciech Wnętrzak</media:credit>
122
+ <media:description type='plain'>pączki</media:description>
123
+ <media:keywords/>
124
+ <media:thumbnail url='https://lh6.googleusercontent.com/-CW7znxKv9Vg/TjGoyWnvAnI/AAAAAAAAAkM/Z2YE2j-U98s/s72/p%2525C4%252585czki.jpg' height='54' width='72'/>
125
+ <media:thumbnail url='https://lh6.googleusercontent.com/-CW7znxKv9Vg/TjGoyWnvAnI/AAAAAAAAAkM/Z2YE2j-U98s/s144/p%2525C4%252585czki.jpg' height='108' width='144'/>
126
+ <media:thumbnail url='https://lh6.googleusercontent.com/-CW7znxKv9Vg/TjGoyWnvAnI/AAAAAAAAAkM/Z2YE2j-U98s/s288/p%2525C4%252585czki.jpg' height='216' width='288'/>
127
+ <media:title type='plain'>pączki.jpg</media:title>
128
+ </media:group>
129
+ </entry>
130
+ <entry gd:etag='&quot;YD0qeyI.&quot;'>
131
+ <id>https://picasaweb.google.com/data/entry/user/106136347770555028022/albumid/5243667126168669553/photoid/5634470303146876834</id>
132
+ <published>2011-07-28T18:22:27.000Z</published>
133
+ <updated>2011-07-28T18:22:27.080Z</updated>
134
+ <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#photo'/>
135
+ <title>pink_floyd_ladies.jpg</title>
136
+ <summary/>
137
+ <content type='image/jpeg' src='https://lh3.googleusercontent.com/-k2SAcZgBGQc/TjGo41SOn6I/AAAAAAAAAkU/bgLxZj7rW0E/pink_floyd_ladies.jpg'/>
138
+ <link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://picasaweb.google.com/data/feed/api/user/106136347770555028022/albumid/5243667126168669553/photoid/5634470303146876834'/>
139
+ <link rel='alternate' type='text/html' href='https://picasaweb.google.com/106136347770555028022/Test2#5634470303146876834'/>
140
+ <link rel='http://schemas.google.com/photos/2007#canonical' type='text/html' href='https://picasaweb.google.com/lh/photo/gipEdejdx4mYdBP57zti6dMTjNZETYmyPJy0liipFm0'/>
141
+ <link rel='self' type='application/atom+xml' href='https://picasaweb.google.com/data/entry/api/user/106136347770555028022/albumid/5243667126168669553/photoid/5634470303146876834'/>
142
+ <link rel='http://schemas.google.com/photos/2007#report' type='text/html' href='https://picasaweb.google.com/lh/reportAbuse?uname=106136347770555028022&amp;aid=5243667126168669553&amp;iid=5634470303146876834'/>
143
+ <gphoto:id>5634470303146876834</gphoto:id>
144
+ <gphoto:albumid>5243667126168669553</gphoto:albumid>
145
+ <gphoto:access>public</gphoto:access>
146
+ <gphoto:width>1024</gphoto:width>
147
+ <gphoto:height>768</gphoto:height>
148
+ <gphoto:size>140724</gphoto:size>
149
+ <gphoto:checksum/>
150
+ <gphoto:timestamp>1311877347000</gphoto:timestamp>
151
+ <gphoto:imageVersion>581</gphoto:imageVersion>
152
+ <gphoto:commentingEnabled>true</gphoto:commentingEnabled>
153
+ <gphoto:commentCount>0</gphoto:commentCount>
154
+ <gphoto:license id='0' name='All Rights Reserved' url=''>ALL_RIGHTS_RESERVED</gphoto:license>
155
+ <exif:tags>
156
+ <exif:imageUniqueID>26875afdfa1eb82ab62d6ef7ccea95ab</exif:imageUniqueID>
157
+ </exif:tags>
158
+ <media:group>
159
+ <media:content url='https://lh3.googleusercontent.com/-k2SAcZgBGQc/TjGo41SOn6I/AAAAAAAAAkU/bgLxZj7rW0E/pink_floyd_ladies.jpg' height='768' width='1024' type='image/jpeg' medium='image'/>
160
+ <media:credit>Wojciech Wnętrzak</media:credit>
161
+ <media:description type='plain'/>
162
+ <media:keywords/>
163
+ <media:thumbnail url='https://lh3.googleusercontent.com/-k2SAcZgBGQc/TjGo41SOn6I/AAAAAAAAAkU/bgLxZj7rW0E/s72/pink_floyd_ladies.jpg' height='54' width='72'/>
164
+ <media:thumbnail url='https://lh3.googleusercontent.com/-k2SAcZgBGQc/TjGo41SOn6I/AAAAAAAAAkU/bgLxZj7rW0E/s144/pink_floyd_ladies.jpg' height='108' width='144'/>
165
+ <media:thumbnail url='https://lh3.googleusercontent.com/-k2SAcZgBGQc/TjGo41SOn6I/AAAAAAAAAkU/bgLxZj7rW0E/s288/pink_floyd_ladies.jpg' height='216' width='288'/>
166
+ <media:title type='plain'>pink_floyd_ladies.jpg</media:title>
167
+ </media:group>
168
+ </entry>
169
+ </feed>
@@ -0,0 +1,12 @@
1
+ HTTP/1.1 403 Forbidden
2
+ Content-Type: text/plain
3
+ Cache-control: no-cache, no-store
4
+ Pragma: no-cache
5
+ Expires: Mon, 01-Jan-1990 00:00:00 GMT
6
+ Date: Sun, 11 Dec 2011 21:39:58 GMT
7
+ X-Content-Type-Options: nosniff
8
+ X-XSS-Protection: 1; mode=block
9
+ Content-Length: 24
10
+ Server: GSE
11
+
12
+ Error=BadAuthentication
@@ -0,0 +1,14 @@
1
+ HTTP/1.1 200 OK
2
+ Content-Type: text/plain
3
+ Cache-control: no-cache, no-store
4
+ Pragma: no-cache
5
+ Expires: Mon, 01-Jan-1990 00:00:00 GMT
6
+ Date: Sun, 11 Dec 2011 21:06:47 GMT
7
+ X-Content-Type-Options: nosniff
8
+ X-XSS-Protection: 1; mode=block
9
+ Content-Length: 818
10
+ Server: GSE
11
+
12
+ SID=LONGHASH
13
+ LSID=LONGHASH
14
+ Auth=LONGHASH
@@ -0,0 +1,435 @@
1
+ HTTP/1.1 200 OK
2
+ Expires: Sun, 12 Aug 2012 11:57:26 GMT
3
+ Date: Sun, 12 Aug 2012 11:57:26 GMT
4
+ Cache-Control: private, max-age=0, must-revalidate, no-transform
5
+ Set-Cookie: _rtok=rJrmUrMnFbA4; Path=/; Secure; HttpOnly
6
+ Set-Cookie: S=photos_html=l8ci8cXm80W3qb6o56ZTfQ; Domain=.google.com; Path=/; Secure; HttpOnly
7
+ Content-Type: application/json; charset=UTF-8
8
+ Access-Control-Allow-Origin: *
9
+ Vary: Accept, X-GData-Authorization, GData-Version, Cookie
10
+ GData-Version: 2.0
11
+ ETag: W/"DUEHRXw5fSp7ImA9WhJRGU0."
12
+ Last-Modified: Sat, 21 Jul 2012 21:53:54 GMT
13
+ X-Content-Type-Options: nosniff
14
+ X-Frame-Options: SAMEORIGIN
15
+ X-XSS-Protection: 1; mode=block
16
+ Server: GSE
17
+ Transfer-Encoding: chunked
18
+
19
+ {
20
+ "version": "1.0",
21
+ "encoding": "UTF-8",
22
+ "feed": {
23
+ "xmlns": "http://www.w3.org/2005/Atom",
24
+ "xmlns$gphoto": "http://schemas.google.com/photos/2007",
25
+ "xmlns$media": "http://search.yahoo.com/mrss/",
26
+ "xmlns$openSearch": "http://a9.com/-/spec/opensearch/1.1/",
27
+ "xmlns$gd": "http://schemas.google.com/g/2005",
28
+ "gd$etag": "W/\"DUEHRXw5fSp7ImA9WhJRGU0.\"",
29
+ "id": {
30
+ "$t": "https://picasaweb.google.com/data/feed/user/106136347770555028022"
31
+ },
32
+ "updated": {
33
+ "$t": "2012-07-21T21:53:54.225Z"
34
+ },
35
+ "category": [
36
+ {
37
+ "scheme": "http://schemas.google.com/g/2005#kind",
38
+ "term": "http://schemas.google.com/photos/2007#user"
39
+ }
40
+ ],
41
+ "title": {
42
+ "$t": "106136347770555028022"
43
+ },
44
+ "subtitle": {
45
+ "$t": ""
46
+ },
47
+ "icon": {
48
+ "$t": "https://lh3.googleusercontent.com/-6ezHc54U8x0/AAAAAAAAAAI/AAAAAAAAAAA/PBuxm7Ehn6E/s64-c/106136347770555028022.jpg"
49
+ },
50
+ "link": [
51
+ {
52
+ "rel": "http://schemas.google.com/g/2005#feed",
53
+ "type": "application/atom+xml",
54
+ "href": "https://picasaweb.google.com/data/feed/api/user/106136347770555028022?alt=json"
55
+ },
56
+ {
57
+ "rel": "alternate",
58
+ "type": "text/html",
59
+ "href": "https://picasaweb.google.com/106136347770555028022"
60
+ },
61
+ {
62
+ "rel": "http://schemas.google.com/photos/2007#slideshow",
63
+ "type": "application/x-shockwave-flash",
64
+ "href": "https://picasaweb.google.com/s/c/bin/slideshow.swf?host=picasaweb.google.com&RGB=0x000000&feed=https%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2F106136347770555028022%3Falt%3Drss"
65
+ },
66
+ {
67
+ "rel": "self",
68
+ "type": "application/atom+xml",
69
+ "href": "https://picasaweb.google.com/data/feed/api/user/106136347770555028022?alt=json&start-index=1&max-results=1000"
70
+ }
71
+ ],
72
+ "author": [
73
+ {
74
+ "name": {
75
+ "$t": "Wojciech Wnętrzak"
76
+ },
77
+ "uri": {
78
+ "$t": "https://picasaweb.google.com/106136347770555028022"
79
+ }
80
+ }
81
+ ],
82
+ "generator": {
83
+ "$t": "Picasaweb",
84
+ "version": "1.00",
85
+ "uri": "http://picasaweb.google.com/"
86
+ },
87
+ "openSearch$totalResults": {
88
+ "$t": 3
89
+ },
90
+ "openSearch$startIndex": {
91
+ "$t": 1
92
+ },
93
+ "openSearch$itemsPerPage": {
94
+ "$t": 1000
95
+ },
96
+ "gphoto$user": {
97
+ "$t": "106136347770555028022"
98
+ },
99
+ "gphoto$nickname": {
100
+ "$t": "Wojciech Wnętrzak"
101
+ },
102
+ "gphoto$thumbnail": {
103
+ "$t": "https://lh3.googleusercontent.com/-6ezHc54U8x0/AAAAAAAAAAI/AAAAAAAAAAA/PBuxm7Ehn6E/s64-c/106136347770555028022.jpg"
104
+ },
105
+ "entry": [
106
+ {
107
+ "gd$etag": "\"YD0qeyI.\"",
108
+ "id": {
109
+ "$t": "https://picasaweb.google.com/data/entry/user/106136347770555028022/albumid/5767744373826203729"
110
+ },
111
+ "published": {
112
+ "$t": "2012-07-21T21:53:54.000Z"
113
+ },
114
+ "updated": {
115
+ "$t": "2012-07-21T21:53:54.225Z"
116
+ },
117
+ "category": [
118
+ {
119
+ "scheme": "http://schemas.google.com/g/2005#kind",
120
+ "term": "http://schemas.google.com/photos/2007#album"
121
+ }
122
+ ],
123
+ "title": {
124
+ "$t": "Scrapbook Photos"
125
+ },
126
+ "summary": {
127
+ "$t": "Album for scrapbook photos"
128
+ },
129
+ "rights": {
130
+ "$t": "public"
131
+ },
132
+ "link": [
133
+ {
134
+ "rel": "http://schemas.google.com/g/2005#feed",
135
+ "type": "application/atom+xml",
136
+ "href": "https://picasaweb.google.com/data/feed/api/user/106136347770555028022/albumid/5767744373826203729?alt=json"
137
+ },
138
+ {
139
+ "rel": "alternate",
140
+ "type": "text/html",
141
+ "href": "https://picasaweb.google.com/106136347770555028022/ScrapbookPhotos"
142
+ },
143
+ {
144
+ "rel": "self",
145
+ "type": "application/atom+xml",
146
+ "href": "https://picasaweb.google.com/data/entry/api/user/106136347770555028022/albumid/5767744373826203729?alt=json"
147
+ }
148
+ ],
149
+ "author": [
150
+ {
151
+ "name": {
152
+ "$t": "Wojciech Wnętrzak"
153
+ },
154
+ "uri": {
155
+ "$t": "https://picasaweb.google.com/106136347770555028022"
156
+ }
157
+ }
158
+ ],
159
+ "gphoto$id": {
160
+ "$t": "5767744373826203729"
161
+ },
162
+ "gphoto$name": {
163
+ "$t": "ScrapbookPhotos"
164
+ },
165
+ "gphoto$location": {
166
+ "$t": ""
167
+ },
168
+ "gphoto$access": {
169
+ "$t": "public"
170
+ },
171
+ "gphoto$timestamp": {
172
+ "$t": "1342907634000"
173
+ },
174
+ "gphoto$numphotos": {
175
+ "$t": 0
176
+ },
177
+ "gphoto$user": {
178
+ "$t": "106136347770555028022"
179
+ },
180
+ "gphoto$nickname": {
181
+ "$t": "Wojciech Wnętrzak"
182
+ },
183
+ "gphoto$albumType": {
184
+ "$t": "ScrapBook"
185
+ },
186
+ "media$group": {
187
+ "media$content": [
188
+ {
189
+ "url": "https://lh4.googleusercontent.com/-8t_DL0x1r-U/UAsk8v0rMFE/AAAAAAAAAno/xAOJa9t-cKY/ScrapbookPhotos.jpg",
190
+ "type": "image/jpeg",
191
+ "medium": "image"
192
+ }
193
+ ],
194
+ "media$credit": [
195
+ {
196
+ "$t": "Wojciech Wnętrzak"
197
+ }
198
+ ],
199
+ "media$description": {
200
+ "$t": "Scrapbook Photos",
201
+ "type": "plain"
202
+ },
203
+ "media$keywords": {},
204
+ "media$thumbnail": [
205
+ {
206
+ "url": "https://lh4.googleusercontent.com/-8t_DL0x1r-U/UAsk8v0rMFE/AAAAAAAAAno/xAOJa9t-cKY/s160-c/ScrapbookPhotos.jpg",
207
+ "height": 160,
208
+ "width": 160
209
+ }
210
+ ],
211
+ "media$title": {
212
+ "$t": "Scrapbook Photos",
213
+ "type": "plain"
214
+ }
215
+ }
216
+ },
217
+ {
218
+ "gd$etag": "\"WSp7ImA9\"",
219
+ "id": {
220
+ "$t": "https://picasaweb.google.com/data/entry/user/106136347770555028022/albumid/5243667126168669553"
221
+ },
222
+ "published": {
223
+ "$t": "2008-09-08T07:00:00.000Z"
224
+ },
225
+ "updated": {
226
+ "$t": "2011-12-16T21:26:55.334Z"
227
+ },
228
+ "category": [
229
+ {
230
+ "scheme": "http://schemas.google.com/g/2005#kind",
231
+ "term": "http://schemas.google.com/photos/2007#album"
232
+ }
233
+ ],
234
+ "title": {
235
+ "$t": "test2"
236
+ },
237
+ "summary": {
238
+ "$t": ""
239
+ },
240
+ "rights": {
241
+ "$t": "public"
242
+ },
243
+ "link": [
244
+ {
245
+ "rel": "http://schemas.google.com/g/2005#feed",
246
+ "type": "application/atom+xml",
247
+ "href": "https://picasaweb.google.com/data/feed/api/user/106136347770555028022/albumid/5243667126168669553?alt=json"
248
+ },
249
+ {
250
+ "rel": "alternate",
251
+ "type": "text/html",
252
+ "href": "https://picasaweb.google.com/106136347770555028022/Test2"
253
+ },
254
+ {
255
+ "rel": "self",
256
+ "type": "application/atom+xml",
257
+ "href": "https://picasaweb.google.com/data/entry/api/user/106136347770555028022/albumid/5243667126168669553?alt=json"
258
+ }
259
+ ],
260
+ "author": [
261
+ {
262
+ "name": {
263
+ "$t": "Wojciech Wnętrzak"
264
+ },
265
+ "uri": {
266
+ "$t": "https://picasaweb.google.com/106136347770555028022"
267
+ }
268
+ }
269
+ ],
270
+ "gphoto$id": {
271
+ "$t": "5243667126168669553"
272
+ },
273
+ "gphoto$name": {
274
+ "$t": "Test2"
275
+ },
276
+ "gphoto$location": {
277
+ "$t": ""
278
+ },
279
+ "gphoto$access": {
280
+ "$t": "public"
281
+ },
282
+ "gphoto$timestamp": {
283
+ "$t": "1220857200000"
284
+ },
285
+ "gphoto$numphotos": {
286
+ "$t": 4
287
+ },
288
+ "gphoto$user": {
289
+ "$t": "106136347770555028022"
290
+ },
291
+ "gphoto$nickname": {
292
+ "$t": "Wojciech Wnętrzak"
293
+ },
294
+ "media$group": {
295
+ "media$content": [
296
+ {
297
+ "url": "https://lh6.googleusercontent.com/-u_2FJXbbliU/SMU_eBetTXE/AAAAAAAAAmQ/sMUp4PrT-Qg/Test2.jpg",
298
+ "type": "image/jpeg",
299
+ "medium": "image"
300
+ }
301
+ ],
302
+ "media$credit": [
303
+ {
304
+ "$t": "Wojciech Wnętrzak"
305
+ }
306
+ ],
307
+ "media$description": {
308
+ "$t": "",
309
+ "type": "plain"
310
+ },
311
+ "media$keywords": {},
312
+ "media$thumbnail": [
313
+ {
314
+ "url": "https://lh6.googleusercontent.com/-u_2FJXbbliU/SMU_eBetTXE/AAAAAAAAAmQ/sMUp4PrT-Qg/s160-c/Test2.jpg",
315
+ "height": 160,
316
+ "width": 160
317
+ }
318
+ ],
319
+ "media$title": {
320
+ "$t": "test2",
321
+ "type": "plain"
322
+ }
323
+ }
324
+ },
325
+ {
326
+ "gd$etag": "\"WSp7ImA9\"",
327
+ "id": {
328
+ "$t": "https://picasaweb.google.com/data/entry/user/106136347770555028022/albumid/5239555770355467953"
329
+ },
330
+ "published": {
331
+ "$t": "2008-08-28T07:00:00.000Z"
332
+ },
333
+ "updated": {
334
+ "$t": "2011-12-12T17:09:21.659Z"
335
+ },
336
+ "category": [
337
+ {
338
+ "scheme": "http://schemas.google.com/g/2005#kind",
339
+ "term": "http://schemas.google.com/photos/2007#album"
340
+ }
341
+ ],
342
+ "title": {
343
+ "$t": "test"
344
+ },
345
+ "summary": {
346
+ "$t": "Opis albumu"
347
+ },
348
+ "rights": {
349
+ "$t": "public"
350
+ },
351
+ "link": [
352
+ {
353
+ "rel": "http://schemas.google.com/g/2005#feed",
354
+ "type": "application/atom+xml",
355
+ "href": "https://picasaweb.google.com/data/feed/api/user/106136347770555028022/albumid/5239555770355467953?alt=json"
356
+ },
357
+ {
358
+ "rel": "alternate",
359
+ "type": "text/html",
360
+ "href": "https://picasaweb.google.com/106136347770555028022/Test"
361
+ },
362
+ {
363
+ "rel": "self",
364
+ "type": "application/atom+xml",
365
+ "href": "https://picasaweb.google.com/data/entry/api/user/106136347770555028022/albumid/5239555770355467953?alt=json"
366
+ }
367
+ ],
368
+ "author": [
369
+ {
370
+ "name": {
371
+ "$t": "Wojciech Wnętrzak"
372
+ },
373
+ "uri": {
374
+ "$t": "https://picasaweb.google.com/106136347770555028022"
375
+ }
376
+ }
377
+ ],
378
+ "gphoto$id": {
379
+ "$t": "5239555770355467953"
380
+ },
381
+ "gphoto$name": {
382
+ "$t": "Test"
383
+ },
384
+ "gphoto$location": {
385
+ "$t": "gdzieś"
386
+ },
387
+ "gphoto$access": {
388
+ "$t": "public"
389
+ },
390
+ "gphoto$timestamp": {
391
+ "$t": "1219906800000"
392
+ },
393
+ "gphoto$numphotos": {
394
+ "$t": 6
395
+ },
396
+ "gphoto$user": {
397
+ "$t": "106136347770555028022"
398
+ },
399
+ "gphoto$nickname": {
400
+ "$t": "Wojciech Wnętrzak"
401
+ },
402
+ "media$group": {
403
+ "media$content": [
404
+ {
405
+ "url": "https://lh6.googleusercontent.com/-ZqXRf3HicvI/SLakNnjixrE/AAAAAAAAAkc/3EAZ0eF3-CQ/Test.jpg",
406
+ "type": "image/jpeg",
407
+ "medium": "image"
408
+ }
409
+ ],
410
+ "media$credit": [
411
+ {
412
+ "$t": "Wojciech Wnętrzak"
413
+ }
414
+ ],
415
+ "media$description": {
416
+ "$t": "Opis albumu",
417
+ "type": "plain"
418
+ },
419
+ "media$keywords": {},
420
+ "media$thumbnail": [
421
+ {
422
+ "url": "https://lh6.googleusercontent.com/-ZqXRf3HicvI/SLakNnjixrE/AAAAAAAAAkc/3EAZ0eF3-CQ/s160-c/Test.jpg",
423
+ "height": 160,
424
+ "width": 160
425
+ }
426
+ ],
427
+ "media$title": {
428
+ "$t": "test",
429
+ "type": "plain"
430
+ }
431
+ }
432
+ }
433
+ ]
434
+ }
435
+ }