flickrie 0.6.1 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. data/.gitignore +1 -0
  2. data/CHANGELOG.md +22 -0
  3. data/Gemfile +0 -6
  4. data/README.md +15 -1
  5. data/Rakefile +8 -13
  6. data/api_methods.md +1 -1
  7. data/flickrie.gemspec +2 -3
  8. data/lib/flickrie/api_methods.rb +17 -0
  9. data/lib/flickrie/client.rb +21 -5
  10. data/lib/flickrie/instance.rb +7 -2
  11. data/lib/flickrie/license.rb +2 -0
  12. data/lib/flickrie/location.rb +10 -8
  13. data/lib/flickrie/media/exif.rb +3 -1
  14. data/lib/flickrie/media/tag.rb +3 -3
  15. data/lib/flickrie/media/visibility.rb +6 -4
  16. data/lib/flickrie/media.rb +69 -84
  17. data/lib/flickrie/media_count.rb +3 -5
  18. data/lib/flickrie/photo.rb +55 -54
  19. data/lib/flickrie/set.rb +31 -25
  20. data/lib/flickrie/ticket.rb +4 -8
  21. data/lib/flickrie/upload_client.rb +7 -2
  22. data/lib/flickrie/user.rb +33 -34
  23. data/lib/flickrie/version.rb +1 -1
  24. data/lib/flickrie/video.rb +13 -12
  25. data/spec/api_methods_spec.rb +43 -0
  26. data/spec/error_spec.rb +32 -0
  27. data/{test → spec/files}/photo.jpg +0 -0
  28. data/{test → spec/files}/video.mov +0 -0
  29. data/spec/instance_spec.rb +22 -0
  30. data/spec/license_spec.rb +15 -0
  31. data/spec/location_spec.rb +11 -0
  32. data/spec/media_count_spec.rb +18 -0
  33. data/spec/media_spec.rb +271 -0
  34. data/spec/oauth_spec.rb +22 -0
  35. data/spec/photo_spec.rb +137 -0
  36. data/spec/set_spec.rb +68 -0
  37. data/spec/spec_helper.rb +68 -0
  38. data/spec/user_spec.rb +56 -0
  39. data/spec/video_spec.rb +54 -0
  40. metadata +47 -132
  41. data/test/error_test.rb +0 -20
  42. data/test/instance_test.rb +0 -20
  43. data/test/license_test.rb +0 -19
  44. data/test/location_test.rb +0 -29
  45. data/test/media_count_test.rb +0 -25
  46. data/test/media_test.rb +0 -432
  47. data/test/oauth_test.rb +0 -25
  48. data/test/photo_test.rb +0 -212
  49. data/test/set_test.rb +0 -92
  50. data/test/test_helper.rb +0 -14
  51. data/test/user_test.rb +0 -70
  52. data/test/vcr_cassettes/error/code.yml +0 -1165
  53. data/test/vcr_cassettes/instance/calling_api_methods.yml +0 -182
  54. data/test/vcr_cassettes/license/get_licenses.yml +0 -73
  55. data/test/vcr_cassettes/location/square_brackets.yml +0 -85
  56. data/test/vcr_cassettes/media/delete.yml +0 -1380
  57. data/test/vcr_cassettes/media/from_contacts.yml +0 -155
  58. data/test/vcr_cassettes/media/from_set.yml +0 -276
  59. data/test/vcr_cassettes/media/from_user.yml +0 -275
  60. data/test/vcr_cassettes/media/get_context.yml +0 -73
  61. data/test/vcr_cassettes/media/get_info.yml +0 -167
  62. data/test/vcr_cassettes/media/remove_tag.yml +0 -264
  63. data/test/vcr_cassettes/media/replace.yml +0 -2252
  64. data/test/vcr_cassettes/media/search.yml +0 -275
  65. data/test/vcr_cassettes/media/tags.yml +0 -346
  66. data/test/vcr_cassettes/media_count/get.yml +0 -135
  67. data/test/vcr_cassettes/media_count/square_brackets.yml +0 -69
  68. data/test/vcr_cassettes/oauth/tokens.yml +0 -400
  69. data/test/vcr_cassettes/photo/asynchronous_upload.yml +0 -1693
  70. data/test/vcr_cassettes/photo/from_set.yml +0 -273
  71. data/test/vcr_cassettes/photo/from_user.yml +0 -275
  72. data/test/vcr_cassettes/photo/get_exif.yml +0 -239
  73. data/test/vcr_cassettes/photo/get_sizes.yml +0 -147
  74. data/test/vcr_cassettes/photo/other_api_calls.yml +0 -506
  75. data/test/vcr_cassettes/photo/search.yml +0 -271
  76. data/test/vcr_cassettes/photo/square_brackets.yml +0 -85
  77. data/test/vcr_cassettes/photo/upload.yml +0 -1229
  78. data/test/vcr_cassettes/set/from_user.yml +0 -477
  79. data/test/vcr_cassettes/set/get_info.yml +0 -951
  80. data/test/vcr_cassettes/set/square_brackets.yml +0 -73
  81. data/test/vcr_cassettes/user/find_by_email_or_username.yml +0 -135
  82. data/test/vcr_cassettes/user/get_info.yml +0 -151
  83. data/test/vcr_cassettes/user/square_brackets.yml +0 -77
  84. data/test/vcr_cassettes/video/get_exif.yml +0 -135
  85. data/test/vcr_cassettes/video/get_info.yml +0 -86
  86. data/test/vcr_cassettes/video/get_sizes.yml +0 -151
  87. data/test/vcr_cassettes/video/other_api_calls.yml +0 -643
  88. data/test/vcr_cassettes/video/square_brackets.yml +0 -86
  89. data/test/vcr_cassettes/video/upload.yml +0 -308
  90. data/test/video_test.rb +0 -118
@@ -1,506 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&format=json&method=flickr.photos.addTags&nojsoncallback=1&photo_id=6946979188&tags=janko
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Authorization:
11
- - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="78c093c1d6f3060f501d748d94f942db",
12
- oauth_signature="PdeYUuV7JsC7Ha1lKwTJxV06gmg%3D", oauth_signature_method="HMAC-SHA1",
13
- oauth_timestamp="1336343083", oauth_token="72157629879773565-6da848f99ba7038a",
14
- oauth_version="1.0"
15
- Content-Length:
16
- - '0'
17
- Accept:
18
- - ! '*/*'
19
- User-Agent:
20
- - Ruby
21
- response:
22
- status:
23
- code: 200
24
- message: OK
25
- headers:
26
- Date:
27
- - Sun, 06 May 2012 22:24:43 GMT
28
- P3p:
29
- - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
30
- TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
31
- ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
32
- Access-Control-Allow-Origin:
33
- - ! '*'
34
- Cache-Control:
35
- - private
36
- X-Served-By:
37
- - www106.flickr.mud.yahoo.com
38
- Vary:
39
- - Accept-Encoding
40
- Content-Length:
41
- - '13'
42
- Connection:
43
- - close
44
- Content-Type:
45
- - application/json
46
- body:
47
- encoding: US-ASCII
48
- string: ! '{"stat":"ok"}'
49
- http_version:
50
- recorded_at: Sun, 06 May 2012 22:24:44 GMT
51
- - request:
52
- method: get
53
- uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&format=json&method=flickr.photos.getInfo&nojsoncallback=1&photo_id=6946979188
54
- body:
55
- encoding: US-ASCII
56
- string: ''
57
- headers:
58
- Authorization:
59
- - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="4373df52184496c937c5b06c3e2b1d76",
60
- oauth_signature="JdrtXEnbOGhRdfu%2BVdFTsTQwiMY%3D", oauth_signature_method="HMAC-SHA1",
61
- oauth_timestamp="1336343084", oauth_token="72157629879773565-6da848f99ba7038a",
62
- oauth_version="1.0"
63
- Accept-Encoding:
64
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
65
- Accept:
66
- - ! '*/*'
67
- User-Agent:
68
- - Ruby
69
- response:
70
- status:
71
- code: 200
72
- message: !binary |-
73
- T0s=
74
- headers:
75
- !binary "RGF0ZQ==":
76
- - !binary |-
77
- U3VuLCAwNiBNYXkgMjAxMiAyMjoyNDo0NCBHTVQ=
78
- !binary "UDNw":
79
- - !binary |-
80
- cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
81
- LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
82
- aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
83
- IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
84
- IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
85
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
86
- - !binary |-
87
- Kg==
88
- !binary "Q2FjaGUtQ29udHJvbA==":
89
- - !binary |-
90
- cHJpdmF0ZQ==
91
- !binary "WC1TZXJ2ZWQtQnk=":
92
- - !binary |-
93
- d3d3MTc2LmZsaWNrci5tdWQueWFob28uY29t
94
- !binary "VmFyeQ==":
95
- - !binary |-
96
- QWNjZXB0LUVuY29kaW5n
97
- !binary "Q29udGVudC1FbmNvZGluZw==":
98
- - !binary |-
99
- Z3ppcA==
100
- !binary "Q29udGVudC1MZW5ndGg=":
101
- - !binary |-
102
- ODY2
103
- !binary "Q29ubmVjdGlvbg==":
104
- - !binary |-
105
- Y2xvc2U=
106
- !binary "Q29udGVudC1UeXBl":
107
- - !binary |-
108
- YXBwbGljYXRpb24vanNvbg==
109
- body:
110
- encoding: ASCII-8BIT
111
- string: !binary |-
112
- H4sIAAAAAAAAA5VVbW/bNhD+KwY/NzZJUaSkT0MzrEuHDuiQZEDmwqAlxmIs
113
- kQJJxTWC/PeRlCw7bmasn8Q7Hp+7e+5FL6CrtdOgeAGyAgWgOaE5y1GWgQ8z
114
- YEVphPNqnK7XhGQpXg9q8yyMVzNI8qB45KYFReZPFXei7xrNKxHgUJKQLMGM
115
- pMFM2kf+rI10AhTQy40shbJeADDC8kfh9qtGPIvmoDPacSe1AkUeXuidCo5f
116
- gLJDuAwlKEnxL39CEsx7H5ribYD8zNVWz75wo2sllz1EkEVAwZvLFo0uR5fg
117
- gW+MWH+YXRvtVTzmUGo15Z8SSg7KgQP66kUnXSNClCuvd0IFBm++fFpBllMQ
118
- DCphSyO7wcsbs1thXTR5llauZSPdPtbGdv3a0wUKNPBopFDVwGJgtZWNt4Ov
119
- YwVseNNp694pguNbEXLDEKErmFxhOEOsgLCAx+uN4apvuIneh0I03Lq+C+AD
120
- Ik1IArMkxtoJ00prfTaDYy+Wum1jRsl4z6uqFY6DAg/ZiZ0NQQRoUUnHj7mW
121
- XE2vQ7Zenh6j6C5S8ROvIi+95RsxWla+j0KPTqbrRm8moTPyBMXW3IgRY/Rg
122
- z4qGIgtKj8SHAyj+GSeKYZQyinOSsYzgnMbB4r2rtXmngYeLyw363V8liIbj
123
- VJ5d6MY4i3U4Rd0PbfVtKJbuhu6suT0IMTvHNzF+/z2GTxnMc4ySq+NmuMpy
124
- SvHFNAwPATX9lp8FclC1vKylEqvoK3i/4A6nvnUv0zb4ewp8nTmcdGceIxfH
125
- UX/xDe7Htq88GSSdZ5DhNIsWajOqUTrPKUvzPARSlr3hZaAfIRA7wzv87qZp
126
- 8cCHzjwJZtgnwaBreClWMWUIn8jNvnm4Z7b8W25jNbWIV1mKEM7A0Hq9+n94
127
- CaTV76b+es80fWrnD3dfTyFRCjH2jEZQIzY/rqBPhlezd5E/W/Tr3by7vTPd
128
- x+ubP+r73SkyhpBBxOAxXHMe78kePYH9rVd/Xd+kt3dryqnVt/u3sAnBJCPj
129
- pvlZ2ja+wf32se8t0RAXL920Rf97p/amiQj+GyfD7bswn/HX2YW18rbnaue6
130
- YrlYLna73fzRe9yauV8dy0V8YJeL0/b10tTqy8U4pK3fbvzgISZi/X/QK/QW
131
- vP4LGuddG7QHAAA=
132
- http_version:
133
- recorded_at: Sun, 06 May 2012 22:24:44 GMT
134
- - request:
135
- method: post
136
- uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&format=json&method=flickr.photos.removeTag&nojsoncallback=1&tag_id=67099213-6946979188-257458
137
- body:
138
- encoding: US-ASCII
139
- string: ''
140
- headers:
141
- Authorization:
142
- - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="62e675b0c2b54bc0f2ee924efdfa69bb",
143
- oauth_signature="Bp2Fub6jrLQ%2Bc1%2B1JaMZvOxCmMM%3D", oauth_signature_method="HMAC-SHA1",
144
- oauth_timestamp="1336343084", oauth_token="72157629879773565-6da848f99ba7038a",
145
- oauth_version="1.0"
146
- Content-Length:
147
- - '0'
148
- Accept:
149
- - ! '*/*'
150
- User-Agent:
151
- - Ruby
152
- response:
153
- status:
154
- code: 200
155
- message: OK
156
- headers:
157
- Date:
158
- - Sun, 06 May 2012 22:24:44 GMT
159
- P3p:
160
- - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
161
- TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
162
- ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
163
- Access-Control-Allow-Origin:
164
- - ! '*'
165
- Cache-Control:
166
- - private
167
- X-Served-By:
168
- - www68.flickr.mud.yahoo.com
169
- Vary:
170
- - Accept-Encoding
171
- Content-Length:
172
- - '13'
173
- Connection:
174
- - close
175
- Content-Type:
176
- - application/json
177
- body:
178
- encoding: US-ASCII
179
- string: ! '{"stat":"ok"}'
180
- http_version:
181
- recorded_at: Sun, 06 May 2012 22:24:45 GMT
182
- - request:
183
- method: get
184
- uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&extras=media&format=json&include_self=1&method=flickr.photos.getContactsPhotos&nojsoncallback=1
185
- body:
186
- encoding: US-ASCII
187
- string: ''
188
- headers:
189
- Authorization:
190
- - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="54ba599f664578b6318ee43b1e34e477",
191
- oauth_signature="upuQ1CIIMJhpv0whpyKBqr6s9Mo%3D", oauth_signature_method="HMAC-SHA1",
192
- oauth_timestamp="1336343085", oauth_token="72157629879773565-6da848f99ba7038a",
193
- oauth_version="1.0"
194
- Accept-Encoding:
195
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
196
- Accept:
197
- - ! '*/*'
198
- User-Agent:
199
- - Ruby
200
- response:
201
- status:
202
- code: 200
203
- message: !binary |-
204
- T0s=
205
- headers:
206
- !binary "RGF0ZQ==":
207
- - !binary |-
208
- U3VuLCAwNiBNYXkgMjAxMiAyMjoyNDo0NSBHTVQ=
209
- !binary "UDNw":
210
- - !binary |-
211
- cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
212
- LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
213
- aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
214
- IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
215
- IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
216
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
217
- - !binary |-
218
- Kg==
219
- !binary "Q2FjaGUtQ29udHJvbA==":
220
- - !binary |-
221
- cHJpdmF0ZQ==
222
- !binary "WC1TZXJ2ZWQtQnk=":
223
- - !binary |-
224
- d3d3MTkwLmZsaWNrci5tdWQueWFob28uY29t
225
- !binary "VmFyeQ==":
226
- - !binary |-
227
- QWNjZXB0LUVuY29kaW5n
228
- !binary "Q29udGVudC1FbmNvZGluZw==":
229
- - !binary |-
230
- Z3ppcA==
231
- !binary "Q29udGVudC1MZW5ndGg=":
232
- - !binary |-
233
- MzIy
234
- !binary "Q29ubmVjdGlvbg==":
235
- - !binary |-
236
- Y2xvc2U=
237
- !binary "Q29udGVudC1UeXBl":
238
- - !binary |-
239
- YXBwbGljYXRpb24vanNvbg==
240
- body:
241
- encoding: ASCII-8BIT
242
- string: !binary |-
243
- H4sIAAAAAAAAA73SyW6DMBAA0F+JfM5hxoM3Tr1FrZT+QFtFDjGNFTYZaBVF
244
- +fcaSFWRc8ltdniCC2uOdVe3LL1MEUvfLswfWMoUGEJAAcjWK9a6LLgulg2R
245
- yrnWAFM5fLkwTY+F3IaSpTpG9Xc1dqRCQhL86RWSYaKPO5UtXWy92OpUr7Y2
246
- 1MfKv/eAoIaJznfF0H7ebnZgcKz5tun3hc9YimOWB++q+JowZbb0xXnKSnfw
247
- Nm5PnN/Cru1s10cnC84ezuy6Xs2coAzNnCR0vlf7TGT3TlzIKR/iRJw7nZQo
248
- OBmwM6cgTn9O+Z9OsaxTmkQB10bzmTPXkhQlZO//W6kX+p7JQ5wEeubk6Jx0
249
- uTNi7kS+lJMWcX4MD6o7W7BUxLCxn2663biwu2Vwa8Q1vA7aeCNeqE/s+gNL
250
- Pmzw2QQAAA==
251
- http_version:
252
- recorded_at: Sun, 06 May 2012 22:24:45 GMT
253
- - request:
254
- method: get
255
- uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&extras=media&format=json&include_self=1&method=flickr.photos.getContactsPublicPhotos&nojsoncallback=1&user_id=67131352@N04
256
- body:
257
- encoding: US-ASCII
258
- string: ''
259
- headers:
260
- Authorization:
261
- - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="3470fae2f8efd0e9e8484c26d85f6018",
262
- oauth_signature="lPK23z1tqAI3IKVFe8Si7B0JMHI%3D", oauth_signature_method="HMAC-SHA1",
263
- oauth_timestamp="1336343085", oauth_token="72157629879773565-6da848f99ba7038a",
264
- oauth_version="1.0"
265
- Accept-Encoding:
266
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
267
- Accept:
268
- - ! '*/*'
269
- User-Agent:
270
- - Ruby
271
- response:
272
- status:
273
- code: 200
274
- message: !binary |-
275
- T0s=
276
- headers:
277
- !binary "RGF0ZQ==":
278
- - !binary |-
279
- U3VuLCAwNiBNYXkgMjAxMiAyMjoyNDo0NSBHTVQ=
280
- !binary "UDNw":
281
- - !binary |-
282
- cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
283
- LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
284
- aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
285
- IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
286
- IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
287
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
288
- - !binary |-
289
- Kg==
290
- !binary "Q2FjaGUtQ29udHJvbA==":
291
- - !binary |-
292
- cHJpdmF0ZQ==
293
- !binary "WC1TZXJ2ZWQtQnk=":
294
- - !binary |-
295
- d3d3NTIuZmxpY2tyLm11ZC55YWhvby5jb20=
296
- !binary "VmFyeQ==":
297
- - !binary |-
298
- QWNjZXB0LUVuY29kaW5n
299
- !binary "Q29udGVudC1FbmNvZGluZw==":
300
- - !binary |-
301
- Z3ppcA==
302
- !binary "Q29udGVudC1MZW5ndGg=":
303
- - !binary |-
304
- MzIy
305
- !binary "Q29ubmVjdGlvbg==":
306
- - !binary |-
307
- Y2xvc2U=
308
- !binary "Q29udGVudC1UeXBl":
309
- - !binary |-
310
- YXBwbGljYXRpb24vanNvbg==
311
- body:
312
- encoding: ASCII-8BIT
313
- string: !binary |-
314
- H4sIAAAAAAAAA73SyW6DMBAA0F+JfM5hxoM3Tr1FrZT+QFtFDjGNFTYZaBVF
315
- +fcaSFWRc8ltdniCC2uOdVe3LL1MEUvfLswfWMoUGEJAAcjWK9a6LLgulg2R
316
- yrnWAFM5fLkwTY+F3IaSpTpG9Xc1dqRCQhL86RWSYaKPO5UtXWy92OpUr7Y2
317
- 1MfKv/eAoIaJznfF0H7ebnZgcKz5tun3hc9YimOWB++q+JowZbb0xXnKSnfw
318
- Nm5PnN/Cru1s10cnC84ezuy6Xs2coAzNnCR0vlf7TGT3TlzIKR/iRJw7nZQo
319
- OBmwM6cgTn9O+Z9OsaxTmkQB10bzmTPXkhQlZO//W6kX+p7JQ5wEeubk6Jx0
320
- uTNi7kS+lJMWcX4MD6o7W7BUxLCxn2663biwu2Vwa8Q1vA7aeCNeqE/s+gNL
321
- Pmzw2QQAAA==
322
- http_version:
323
- recorded_at: Sun, 06 May 2012 22:24:45 GMT
324
- - request:
325
- method: get
326
- uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&format=json&method=flickr.photos.getContext&nojsoncallback=1&photo_id=6946979188
327
- body:
328
- encoding: US-ASCII
329
- string: ''
330
- headers:
331
- Authorization:
332
- - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="ebdb7395ab42d4f6fd61e223b11a5124",
333
- oauth_signature="E3iF0uc8F3BtT6xzWnvHhaExlcc%3D", oauth_signature_method="HMAC-SHA1",
334
- oauth_timestamp="1336343085", oauth_token="72157629879773565-6da848f99ba7038a",
335
- oauth_version="1.0"
336
- Accept-Encoding:
337
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
338
- Accept:
339
- - ! '*/*'
340
- User-Agent:
341
- - Ruby
342
- response:
343
- status:
344
- code: 200
345
- message: !binary |-
346
- T0s=
347
- headers:
348
- !binary "RGF0ZQ==":
349
- - !binary |-
350
- U3VuLCAwNiBNYXkgMjAxMiAyMjoyNDo0NiBHTVQ=
351
- !binary "UDNw":
352
- - !binary |-
353
- cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
354
- LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
355
- aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
356
- IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
357
- IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
358
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
359
- - !binary |-
360
- Kg==
361
- !binary "Q2FjaGUtQ29udHJvbA==":
362
- - !binary |-
363
- cHJpdmF0ZQ==
364
- !binary "WC1TZXJ2ZWQtQnk=":
365
- - !binary |-
366
- d3d3MTA3LmZsaWNrci5tdWQueWFob28uY29t
367
- !binary "VmFyeQ==":
368
- - !binary |-
369
- QWNjZXB0LUVuY29kaW5n
370
- !binary "Q29udGVudC1FbmNvZGluZw==":
371
- - !binary |-
372
- Z3ppcA==
373
- !binary "Q29udGVudC1MZW5ndGg=":
374
- - !binary |-
375
- Mjg1
376
- !binary "Q29ubmVjdGlvbg==":
377
- - !binary |-
378
- Y2xvc2U=
379
- !binary "Q29udGVudC1UeXBl":
380
- - !binary |-
381
- YXBwbGljYXRpb24vanNvbg==
382
- body:
383
- encoding: ASCII-8BIT
384
- string: !binary |-
385
- H4sIAAAAAAAAA6WQzU6EMBSFX8V0bWihQIGVO+NCn6BJA6U4dYCS9kJMJvPu
386
- 3o4/4xhjjO7ac27Puf0ORLt1BtIciNJuBhPPdXW8viKLN9uyc+CiaXvSkLLO
387
- y1pUgpUE/WC0NzhNOl5lgnVd/yb7zXiURZaehKH1E2kqPIGF0aBzd3+rmKiL
388
- 6K5+REXSU1OQtBQpT3mR3TywHG8fjZLa+X0KvGknSeNz2K1ThwE7gKWRVNLY
389
- ViUBWrB6GK3e+0Q7HI7bfM5T561VSJ6Wx5g2md62mPb6bRQwwMwh7szi1QY1
390
- tJtBFiwSms0zfEeoFiy/ICTyIuXDIHj2hRDPfyQkfksoNv6fEL/IU+et/0wo
391
- tqDl9uT4AmyhaR9qAgAA
392
- http_version:
393
- recorded_at: Sun, 06 May 2012 22:24:46 GMT
394
- - request:
395
- method: get
396
- uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&extras=media&format=json&media=photos&method=flickr.photos.search&nojsoncallback=1&user_id=67131352@N04
397
- body:
398
- encoding: US-ASCII
399
- string: ''
400
- headers:
401
- Authorization:
402
- - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="a5c200f9e39ece4b502a64529f82b790",
403
- oauth_signature="hz5Gh4La4%2FttM5U0obboLLJO%2BVM%3D", oauth_signature_method="HMAC-SHA1",
404
- oauth_timestamp="1336343086", oauth_token="72157629879773565-6da848f99ba7038a",
405
- oauth_version="1.0"
406
- Accept-Encoding:
407
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
408
- Accept:
409
- - ! '*/*'
410
- User-Agent:
411
- - Ruby
412
- response:
413
- status:
414
- code: 200
415
- message: !binary |-
416
- T0s=
417
- headers:
418
- !binary "RGF0ZQ==":
419
- - !binary |-
420
- U3VuLCAwNiBNYXkgMjAxMiAyMjoyNDo0NiBHTVQ=
421
- !binary "UDNw":
422
- - !binary |-
423
- cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
424
- LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
425
- aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
426
- IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
427
- IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
428
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
429
- - !binary |-
430
- Kg==
431
- !binary "Q2FjaGUtQ29udHJvbA==":
432
- - !binary |-
433
- cHJpdmF0ZQ==
434
- !binary "WC1TZXJ2ZWQtQnk=":
435
- - !binary |-
436
- d3d3MTM1LmZsaWNrci5tdWQueWFob28uY29t
437
- !binary "VmFyeQ==":
438
- - !binary |-
439
- QWNjZXB0LUVuY29kaW5n
440
- !binary "Q29udGVudC1FbmNvZGluZw==":
441
- - !binary |-
442
- Z3ppcA==
443
- !binary "Q29udGVudC1MZW5ndGg=":
444
- - !binary |-
445
- MjE3OA==
446
- !binary "Q29ubmVjdGlvbg==":
447
- - !binary |-
448
- Y2xvc2U=
449
- !binary "Q29udGVudC1UeXBl":
450
- - !binary |-
451
- YXBwbGljYXRpb24vanNvbg==
452
- body:
453
- encoding: ASCII-8BIT
454
- string: !binary |-
455
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- Ro1pUFcoaAt3X52DJhTUx7paoMPkA0Fcnk7SDu7W6I0zLfSYCubu55nWL/cL
487
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- EGDv8vAsDK7UA9ngCr6isD6v5ynnEMZ0N02DbvnUoZztCj5QqDijwonqxeVc
495
- 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
- 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
- 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
- 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
- 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
- JwbI2a7go7rHvRk7bSsuCmuflf/l6aSc7Qq+oQDjZN45+Dq2pIfqDku+ONsV
501
- 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
- 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
503
- xsVx6eO/L7/9DyXgdSZaSwAA
504
- http_version:
505
- recorded_at: Sun, 06 May 2012 22:24:46 GMT
506
- recorded_with: VCR 2.1.1