flickrie 1.0.2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. data/.gitignore +1 -0
  2. data/CHANGELOG.md +13 -0
  3. data/Gemfile +0 -4
  4. data/flickrie.gemspec +2 -2
  5. data/lib/flickrie/api_methods.rb +4 -1
  6. data/lib/flickrie/license.rb +6 -1
  7. data/lib/flickrie/location.rb +29 -12
  8. data/lib/flickrie/media/exif.rb +3 -1
  9. data/lib/flickrie/media/note.rb +24 -13
  10. data/lib/flickrie/media/tag.rb +9 -6
  11. data/lib/flickrie/media/visibility.rb +8 -5
  12. data/lib/flickrie/media.rb +54 -55
  13. data/lib/flickrie/media_count.rb +8 -6
  14. data/lib/flickrie/photo.rb +48 -7
  15. data/lib/flickrie/set.rb +47 -31
  16. data/lib/flickrie/ticket.rb +8 -5
  17. data/lib/flickrie/user.rb +67 -25
  18. data/lib/flickrie/version.rb +1 -1
  19. data/lib/flickrie/video.rb +19 -11
  20. data/spec/custom_matchers.rb +51 -0
  21. data/spec/flickrie/api_methods_spec.rb +112 -31
  22. data/spec/flickrie/error_spec.rb +2 -4
  23. data/spec/flickrie/instance_spec.rb +11 -11
  24. data/spec/flickrie/media_spec.rb +74 -53
  25. data/spec/flickrie/photo_spec.rb +4 -5
  26. data/spec/flickrie/set_spec.rb +23 -12
  27. data/spec/flickrie/upload_client_spec.rb +3 -0
  28. data/spec/flickrie/user_spec.rb +31 -5
  29. data/spec/flickrie/video_spec.rb +13 -13
  30. data/spec/flickrie_spec.rb +15 -0
  31. data/spec/spec_helper.rb +13 -50
  32. data/spec/vcr_cassettes/api_methods/people/get_media_from_user.yml +108 -0
  33. data/spec/vcr_cassettes/api_methods/people/get_public_media_from_user.yml +108 -0
  34. data/spec/vcr_cassettes/api_methods/photos/add_and_remove_tags.yml +528 -0
  35. data/spec/vcr_cassettes/api_methods/photos/get_context.yml +108 -0
  36. data/spec/vcr_cassettes/api_methods/photos/get_counts.yml +108 -0
  37. data/spec/vcr_cassettes/api_methods/photos/get_exif.yml +73 -0
  38. data/spec/vcr_cassettes/api_methods/photos/get_favorites.yml +73 -0
  39. data/spec/vcr_cassettes/api_methods/photos/get_from_contacts.yml +73 -0
  40. data/spec/vcr_cassettes/api_methods/photos/get_info.yml +108 -0
  41. data/spec/vcr_cassettes/api_methods/photos/get_public_from_user_contacts.yml +73 -0
  42. data/spec/vcr_cassettes/api_methods/photos/get_sizes.yml +73 -0
  43. data/spec/vcr_cassettes/api_methods/photos/search.yml +108 -0
  44. data/spec/vcr_cassettes/api_methods/photosets/get_media.yml +108 -0
  45. data/spec/vcr_cassettes/api_methods/{replace.yml → upload/replace.yml} +16 -16
  46. data/spec/vcr_cassettes/api_methods/upload/upload.yml +82 -0
  47. data/spec/vcr_cassettes/api_methods/upload/upload_asynchronously.yml +117 -0
  48. data/spec/vcr_cassettes/error/{a_request_was_made_and_failed.yml → a_request_was_made_and_failed/be_raised.yml} +9 -9
  49. data/spec/vcr_cassettes/error/a_request_was_made_and_failed/have_code_attribute_present.yml +84 -0
  50. data/spec/vcr_cassettes/{api_methods/upload_and_delete.yml → flickrie/a_new_credential_is_filled_in/reset_the_client.yml} +113 -32
  51. data/spec/vcr_cassettes/instance/client_is_already_initialized/be_able_to_call_API_methods.yml +152 -0
  52. data/spec/vcr_cassettes/license/{get.yml → get/have_all_attributes_correctly_set.yml} +4 -4
  53. data/spec/vcr_cassettes/media/{from_contacts.yml → from_contacts/have_all_attributes_correctly_set.yml} +8 -8
  54. data/spec/vcr_cassettes/media/{from_set.yml → from_set/have_all_attributes_correctly_set.yml} +6 -6
  55. data/spec/vcr_cassettes/media/{from_user.yml → from_user/have_all_attributes_correctly_set.yml} +6 -6
  56. data/spec/vcr_cassettes/media/{get_context.yml → get_context/have_all_attributes_correctly_set.yml} +6 -6
  57. data/spec/vcr_cassettes/media/{get_exif.yml → get_exif/get_exif_correctly.yml} +8 -8
  58. data/spec/vcr_cassettes/media/get_info/have_all_attributes_correctly_set.yml +108 -0
  59. data/spec/vcr_cassettes/media/{public_from_user.yml → public_from_user/have_all_attributes_correctly_set.yml} +6 -6
  60. data/spec/vcr_cassettes/media/{search.yml → search/have_all_attributes_correctly_set.yml} +6 -6
  61. data/spec/vcr_cassettes/media_count/{get.yml → get/have_correctly_set_all_attributes.yml} +9 -9
  62. data/spec/vcr_cassettes/o_auth/{incorrect_credentials.yml → incorrect_credentials/raise_exceptions.yml} +42 -42
  63. data/spec/vcr_cassettes/photo/get_info/have_all_attributes_correctly_set.yml +38 -0
  64. data/spec/vcr_cassettes/photo/{get_sizes.yml → get_sizes/have_attributes_correctly_set.yml} +12 -12
  65. data/spec/vcr_cassettes/photo/{search.yml → search/have_all_sizes_available.yml} +6 -6
  66. data/spec/vcr_cassettes/set/{from_user.yml → from_user/have_all_attributes_correctly_set.yml} +18 -18
  67. data/spec/vcr_cassettes/set/{get_info.yml → get_info/have_all_attributes_correctly_set.yml} +36 -36
  68. data/spec/vcr_cassettes/upload_client/content_type/pass_the_content_type.yml +117 -0
  69. data/spec/vcr_cassettes/upload_client/invalid_credentials/raise_errors.yml +276 -0
  70. data/spec/vcr_cassettes/user/{find_by_username_or_email.yml → find_by_username_or_email/have_all_attributes_correctly_set.yml} +9 -9
  71. data/spec/vcr_cassettes/user/get_info/have_all_attributes_correctly_set.yml +73 -0
  72. data/spec/vcr_cassettes/video/get_info/have_all_attributes_correctly_set.yml +38 -0
  73. data/spec/vcr_cassettes/video/{get_sizes.yml → get_sizes/have_all_attributes_correctly_set.yml} +12 -12
  74. metadata +111 -74
  75. data/spec/vcr_cassettes/api_methods/asynchronous_upload.yml +0 -362
  76. data/spec/vcr_cassettes/api_methods/tag_manipulation.yml +0 -178
  77. data/spec/vcr_cassettes/instance/calling_api_methods.yml +0 -231
  78. data/spec/vcr_cassettes/media/get_info.yml +0 -108
  79. data/spec/vcr_cassettes/photo/get_info.yml +0 -38
  80. data/spec/vcr_cassettes/upload_client/content_type.yml +0 -117
  81. data/spec/vcr_cassettes/upload_client/invalid_credentials.yml +0 -208
  82. data/spec/vcr_cassettes/user/get_info.yml +0 -73
  83. data/spec/vcr_cassettes/video/get_info.yml +0 -38
@@ -2,26 +2,26 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.getCounts&taken_dates=2012-03-01%2000%3A00%3A00%20UTC%2C2012-05-05%2000%3A00%3A00%20UTC
5
+ uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.getCounts&taken_dates=2012-03-01+00%3A00%3A00+UTC%2C2012-05-05+00%3A00%3A00+UTC
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ""
9
9
  headers:
10
10
  Authorization:
11
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="35bf213e1db730b221103f7d07c9ba62", oauth_signature="teVswA3o1LeXzpfkr1Tg6oOAiV4%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292017", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
11
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="6fb4aa03fb2f4a7b78023e1c31b635d8", oauth_signature="14XibvIY0fxtn5OUoKHc6L2Ys78%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626774", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
12
12
  response:
13
13
  status:
14
14
  code: 200
15
15
  message:
16
16
  headers:
17
17
  date:
18
- - Thu, 17 May 2012 22:00:17 GMT
18
+ - Mon, 21 May 2012 18:59:35 GMT
19
19
  p3p:
20
20
  - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
21
21
  cache-control:
22
22
  - private
23
23
  x-served-by:
24
- - www117.flickr.mud.yahoo.com
24
+ - www104.flickr.mud.yahoo.com
25
25
  vary:
26
26
  - Accept-Encoding
27
27
  content-length:
@@ -34,7 +34,7 @@ http_interactions:
34
34
  encoding: ASCII-8BIT
35
35
  string: "{\"photocounts\":{\"photocount\":[{\"count\":\"1\", \"fromdate\":\"2012-03-01 00:00:00\", \"todate\":\"2012-05-05 00:00:00\"}]}, \"stat\":\"ok\"}"
36
36
  http_version:
37
- recorded_at: Thu, 17 May 2012 22:00:17 GMT
37
+ recorded_at: Mon, 21 May 2012 18:59:35 GMT
38
38
  - request:
39
39
  method: get
40
40
  uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.getCounts&dates=1330560000%2C1336176000
@@ -43,20 +43,20 @@ http_interactions:
43
43
  string: ""
44
44
  headers:
45
45
  Authorization:
46
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="379801c451b059e6a34e1f9814ff00f3", oauth_signature="LDYAXyl6pQx%2FnJlvoB6L6GVWd3Q%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292017", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
46
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="1e07b62f34c26a7603914cef938fc44a", oauth_signature="ZmXzz4qcEc9x%2FAGfbJParsFA3%2Fg%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626775", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
47
47
  response:
48
48
  status:
49
49
  code: 200
50
50
  message:
51
51
  headers:
52
52
  date:
53
- - Thu, 17 May 2012 22:00:17 GMT
53
+ - Mon, 21 May 2012 18:59:37 GMT
54
54
  p3p:
55
55
  - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
56
56
  cache-control:
57
57
  - private
58
58
  x-served-by:
59
- - www224.flickr.mud.yahoo.com
59
+ - www135.flickr.mud.yahoo.com
60
60
  vary:
61
61
  - Accept-Encoding
62
62
  content-length:
@@ -69,5 +69,5 @@ http_interactions:
69
69
  encoding: ASCII-8BIT
70
70
  string: "{\"photocounts\":{\"photocount\":[{\"count\":\"98\", \"fromdate\":\"1330560000\", \"todate\":\"1336176000\"}]}, \"stat\":\"ok\"}"
71
71
  http_version:
72
- recorded_at: Thu, 17 May 2012 22:00:17 GMT
72
+ recorded_at: Mon, 21 May 2012 18:59:37 GMT
73
73
  recorded_with: VCR 2.1.1
@@ -8,22 +8,22 @@ http_interactions:
8
8
  string: ""
9
9
  headers:
10
10
  Authorization:
11
- - OAuth oauth_consumer_key="foo", oauth_nonce="a5107dfb019095292c4ff528a09a34c9", oauth_signature="SMfbnrKqbEch6TaZ6XIwTikaCVw%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292030", oauth_token="", oauth_version="1.0"
11
+ - OAuth oauth_consumer_key="foo", oauth_nonce="413996bfc0b671a7bb6c1b5ecff39840", oauth_signature="pWHF4AAKkbQXgiYWsTT0uML8uBE%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626802", oauth_token="", oauth_version="1.0"
12
12
  response:
13
13
  status:
14
14
  code: 401
15
15
  message:
16
16
  headers:
17
17
  date:
18
- - Thu, 17 May 2012 22:00:31 GMT
18
+ - Mon, 21 May 2012 19:00:02 GMT
19
19
  p3p:
20
20
  - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
21
21
  set-cookie:
22
- - localization=en-us%3Bus%3Bus; expires=Thu, 15-May-2014 22:00:31 GMT; path=/; domain=.flickr.com
22
+ - localization=en-us%3Bus%3Bus; expires=Mon, 19-May-2014 19:00:02 GMT; path=/; domain=.flickr.com
23
23
  cache-control:
24
24
  - private
25
25
  x-served-by:
26
- - www138.flickr.mud.yahoo.com
26
+ - www118.flickr.mud.yahoo.com
27
27
  vary:
28
28
  - Accept-Encoding
29
29
  content-type:
@@ -31,7 +31,7 @@ http_interactions:
31
31
  age:
32
32
  - "0"
33
33
  via:
34
- - HTTP/1.1 r08.ycpi.mud.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ]), HTTP/1.1 r05.ycpi.ukl.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ])
34
+ - HTTP/1.1 r06.ycpi.mud.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ]), HTTP/1.1 r11.ycpi.ukl.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ])
35
35
  server:
36
36
  - YTS/1.20.16
37
37
  connection:
@@ -40,7 +40,7 @@ http_interactions:
40
40
  encoding: ASCII-8BIT
41
41
  string: oauth_problem=consumer_key_unknown
42
42
  http_version:
43
- recorded_at: Thu, 17 May 2012 22:00:31 GMT
43
+ recorded_at: Mon, 21 May 2012 19:00:02 GMT
44
44
  - request:
45
45
  method: get
46
46
  uri: http://www.flickr.com/services/oauth/request_token?oauth_callback=oob
@@ -49,39 +49,39 @@ http_interactions:
49
49
  string: ""
50
50
  headers:
51
51
  Authorization:
52
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="f9dd3eac7c190d39c1988834796ed7a0", oauth_signature="GleKtFk0f4DQ9K9bkJd4btVbOaw%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292031", oauth_token="", oauth_version="1.0"
52
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="db60afe03e32474d92981135a952a2a5", oauth_signature="zcyfrHJSExmpl1fmAfCxc%2F1lKXo%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626802", oauth_token="", oauth_version="1.0"
53
53
  response:
54
54
  status:
55
55
  code: 401
56
56
  message:
57
57
  headers:
58
58
  date:
59
- - Thu, 17 May 2012 22:00:31 GMT
59
+ - Mon, 21 May 2012 19:00:02 GMT
60
60
  p3p:
61
61
  - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
62
62
  set-cookie:
63
- - localization=en-us%3Bus%3Bus; expires=Thu, 15-May-2014 22:00:31 GMT; path=/; domain=.flickr.com
63
+ - localization=en-us%3Bus%3Bus; expires=Mon, 19-May-2014 19:00:03 GMT; path=/; domain=.flickr.com
64
64
  cache-control:
65
65
  - private
66
66
  x-served-by:
67
- - www168.flickr.mud.yahoo.com
67
+ - www42.flickr.mud.yahoo.com
68
68
  vary:
69
69
  - Accept-Encoding
70
70
  content-type:
71
71
  - text/plain;charset=UTF-8
72
72
  age:
73
- - "0"
73
+ - "3"
74
74
  via:
75
- - HTTP/1.1 r45.ycpi.mud.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ]), HTTP/1.1 r01.ycpi.ukl.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ])
75
+ - HTTP/1.1 r29.ycpi.mud.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ]), HTTP/1.1 r06.ycpi.ukl.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ])
76
76
  server:
77
77
  - YTS/1.20.16
78
78
  connection:
79
79
  - close
80
80
  body:
81
81
  encoding: ASCII-8BIT
82
- string: oauth_problem=signature_invalid&debug_sbs=GET&http%3A%2F%2Fwww.flickr.com%2Fservices%2Foauth%2Frequest_token&oauth_callback%3Doob%26oauth_consumer_key%3DAPI_KEY%26oauth_nonce%3Df9dd3eac7c190d39c1988834796ed7a0%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1337292031%26oauth_token%3D%26oauth_version%3D1.0
82
+ string: oauth_problem=signature_invalid&debug_sbs=GET&http%3A%2F%2Fwww.flickr.com%2Fservices%2Foauth%2Frequest_token&oauth_callback%3Doob%26oauth_consumer_key%3DAPI_KEY%26oauth_nonce%3Ddb60afe03e32474d92981135a952a2a5%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1337626802%26oauth_token%3D%26oauth_version%3D1.0
83
83
  http_version:
84
- recorded_at: Thu, 17 May 2012 22:00:31 GMT
84
+ recorded_at: Mon, 21 May 2012 19:00:03 GMT
85
85
  - request:
86
86
  method: get
87
87
  uri: http://www.flickr.com/services/oauth/request_token?oauth_callback=oob
@@ -90,39 +90,39 @@ http_interactions:
90
90
  string: ""
91
91
  headers:
92
92
  Authorization:
93
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="91dd8b13df46482312b6a8bec8ca099b", oauth_signature="Odq0m9tekhdUtDiqwqmAzAHCZpo%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292031", oauth_token="", oauth_version="1.0"
93
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="7b95474a24606126fb1327928e4013c4", oauth_signature="55y7LmzAkaUWHLOZykzu9geKNpo%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626803", oauth_token="", oauth_version="1.0"
94
94
  response:
95
95
  status:
96
96
  code: 200
97
97
  message:
98
98
  headers:
99
99
  date:
100
- - Thu, 17 May 2012 22:00:32 GMT
100
+ - Mon, 21 May 2012 19:00:03 GMT
101
101
  p3p:
102
102
  - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
103
103
  set-cookie:
104
- - localization=en-us%3Bus%3Bus; expires=Thu, 15-May-2014 22:00:32 GMT; path=/; domain=.flickr.com
104
+ - localization=en-us%3Bus%3Bus; expires=Mon, 19-May-2014 19:00:03 GMT; path=/; domain=.flickr.com
105
105
  cache-control:
106
106
  - private
107
107
  x-served-by:
108
- - www94.flickr.mud.yahoo.com
108
+ - www48.flickr.mud.yahoo.com
109
109
  vary:
110
110
  - Accept-Encoding
111
111
  content-type:
112
112
  - text/plain;charset=UTF-8
113
113
  age:
114
- - "1"
114
+ - "0"
115
115
  via:
116
- - HTTP/1.1 r43.ycpi.mud.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ]), HTTP/1.1 r09.ycpi.ukl.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ])
116
+ - HTTP/1.1 r38.ycpi.mud.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ]), HTTP/1.1 r18.ycpi.ukl.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ])
117
117
  server:
118
118
  - YTS/1.20.16
119
119
  connection:
120
120
  - close
121
121
  body:
122
122
  encoding: ASCII-8BIT
123
- string: oauth_callback_confirmed=true&oauth_token=72157629776300290-bf6ae537300bad0f&oauth_token_secret=a8062959186048ac
123
+ string: oauth_callback_confirmed=true&oauth_token=72157629834886962-c38ce70fbcfc81e9&oauth_token_secret=86603f29551844ea
124
124
  http_version:
125
- recorded_at: Thu, 17 May 2012 22:00:32 GMT
125
+ recorded_at: Mon, 21 May 2012 19:00:03 GMT
126
126
  - request:
127
127
  method: get
128
128
  uri: http://www.flickr.com/services/oauth/request_token?oauth_callback=oob
@@ -131,22 +131,22 @@ http_interactions:
131
131
  string: ""
132
132
  headers:
133
133
  Authorization:
134
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="8b68f5ca433255bf0140764123624e39", oauth_signature="ms0w%2FF%2FkLYGHz77jkdAAgU4QZOY%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292032", oauth_token="", oauth_version="1.0"
134
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="3667e1ad2656e65f72ed767aa0303835", oauth_signature="%2BHgdbRYjvMIM0Maw4UKAYItVRqc%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626803", oauth_token="", oauth_version="1.0"
135
135
  response:
136
136
  status:
137
137
  code: 200
138
138
  message:
139
139
  headers:
140
140
  date:
141
- - Thu, 17 May 2012 22:00:32 GMT
141
+ - Mon, 21 May 2012 19:00:03 GMT
142
142
  p3p:
143
143
  - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
144
144
  set-cookie:
145
- - localization=en-us%3Bus%3Bus; expires=Thu, 15-May-2014 22:00:32 GMT; path=/; domain=.flickr.com
145
+ - localization=en-us%3Bus%3Bus; expires=Mon, 19-May-2014 19:00:03 GMT; path=/; domain=.flickr.com
146
146
  cache-control:
147
147
  - private
148
148
  x-served-by:
149
- - www117.flickr.mud.yahoo.com
149
+ - www148.flickr.mud.yahoo.com
150
150
  vary:
151
151
  - Accept-Encoding
152
152
  content-type:
@@ -154,16 +154,16 @@ http_interactions:
154
154
  age:
155
155
  - "0"
156
156
  via:
157
- - HTTP/1.1 r13.ycpi.mud.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ]), HTTP/1.1 r16.ycpi.ukl.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ])
157
+ - HTTP/1.1 r14.ycpi.mud.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ]), HTTP/1.1 r13.ycpi.ukl.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ])
158
158
  server:
159
159
  - YTS/1.20.16
160
160
  connection:
161
161
  - close
162
162
  body:
163
163
  encoding: ASCII-8BIT
164
- string: oauth_callback_confirmed=true&oauth_token=72157629776300362-d58f0b1789eaf242&oauth_token_secret=9dd8bc03ea2b66b2
164
+ string: oauth_callback_confirmed=true&oauth_token=72157629834887094-c38ce70fbcfc81e9&oauth_token_secret=b5dd4f53a136c79b
165
165
  http_version:
166
- recorded_at: Thu, 17 May 2012 22:00:32 GMT
166
+ recorded_at: Mon, 21 May 2012 19:00:03 GMT
167
167
  - request:
168
168
  method: get
169
169
  uri: http://www.flickr.com/services/oauth/access_token?oauth_verifier=foo
@@ -172,30 +172,30 @@ http_interactions:
172
172
  string: ""
173
173
  headers:
174
174
  Authorization:
175
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="e4da1794dd6715555bb8107dbabf1fa3", oauth_signature="DRUR88g7CyDh4GW9C8PZYAO3WnQ%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292032", oauth_token="72157629776300362-d58f0b1789eaf242", oauth_version="1.0"
175
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="6252e8591c0295864241c57be16f8466", oauth_signature="27PW2yyucL2WrHXXW2ksbJfxf1Y%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626803", oauth_token="72157629834887094-c38ce70fbcfc81e9", oauth_version="1.0"
176
176
  response:
177
177
  status:
178
178
  code: 401
179
179
  message:
180
180
  headers:
181
181
  date:
182
- - Thu, 17 May 2012 22:00:32 GMT
182
+ - Mon, 21 May 2012 19:00:04 GMT
183
183
  p3p:
184
184
  - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
185
185
  set-cookie:
186
- - localization=en-us%3Bus%3Bus; expires=Thu, 15-May-2014 22:00:32 GMT; path=/; domain=.flickr.com
186
+ - localization=en-us%3Bus%3Bus; expires=Mon, 19-May-2014 19:00:04 GMT; path=/; domain=.flickr.com
187
187
  cache-control:
188
188
  - private
189
189
  x-served-by:
190
- - www137.flickr.mud.yahoo.com
190
+ - www1.flickr.mud.yahoo.com
191
191
  vary:
192
192
  - Accept-Encoding
193
193
  content-type:
194
194
  - text/plain;charset=UTF-8
195
195
  age:
196
- - "0"
196
+ - "1"
197
197
  via:
198
- - HTTP/1.1 r34.ycpi.mud.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ]), HTTP/1.1 r18.ycpi.ukl.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ])
198
+ - HTTP/1.1 r44.ycpi.mud.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ]), HTTP/1.1 r17.ycpi.ams.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ])
199
199
  server:
200
200
  - YTS/1.20.16
201
201
  connection:
@@ -204,7 +204,7 @@ http_interactions:
204
204
  encoding: ASCII-8BIT
205
205
  string: oauth_problem=token_rejected
206
206
  http_version:
207
- recorded_at: Thu, 17 May 2012 22:00:33 GMT
207
+ recorded_at: Mon, 21 May 2012 19:00:04 GMT
208
208
  - request:
209
209
  method: get
210
210
  uri: http://www.flickr.com/services/oauth/access_token?oauth_verifier=foo
@@ -213,22 +213,22 @@ http_interactions:
213
213
  string: ""
214
214
  headers:
215
215
  Authorization:
216
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="8bcfc159ea643c5579517139ee6de4f7", oauth_signature="XPTf9qCcdaPuUiKar68G5%2FHtZuw%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292033", oauth_token="72157629776300362-d58f0b1789eaf242", oauth_version="1.0"
216
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="4c51f83a6de341011ff6dd830458e1e3", oauth_signature="TALhW1szWQJPxdk%2FwAoOotvhh48%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626804", oauth_token="72157629834887094-c38ce70fbcfc81e9", oauth_version="1.0"
217
217
  response:
218
218
  status:
219
219
  code: 401
220
220
  message:
221
221
  headers:
222
222
  date:
223
- - Thu, 17 May 2012 22:00:33 GMT
223
+ - Mon, 21 May 2012 19:00:04 GMT
224
224
  p3p:
225
225
  - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
226
226
  set-cookie:
227
- - localization=en-us%3Bus%3Bus; expires=Thu, 15-May-2014 22:00:33 GMT; path=/; domain=.flickr.com
227
+ - localization=en-us%3Bus%3Bus; expires=Mon, 19-May-2014 19:00:04 GMT; path=/; domain=.flickr.com
228
228
  cache-control:
229
229
  - private
230
230
  x-served-by:
231
- - www75.flickr.mud.yahoo.com
231
+ - www147.flickr.mud.yahoo.com
232
232
  vary:
233
233
  - Accept-Encoding
234
234
  content-type:
@@ -236,7 +236,7 @@ http_interactions:
236
236
  age:
237
237
  - "0"
238
238
  via:
239
- - HTTP/1.1 r18.ycpi.mud.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ]), HTTP/1.1 r16.ycpi.ukl.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ])
239
+ - HTTP/1.1 r30.ycpi.mud.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ]), HTTP/1.1 r16.ycpi.ams.yahoo.net (YahooTrafficServer/1.20.16 [cMsSf ])
240
240
  server:
241
241
  - YTS/1.20.16
242
242
  connection:
@@ -245,5 +245,5 @@ http_interactions:
245
245
  encoding: ASCII-8BIT
246
246
  string: oauth_problem=token_rejected
247
247
  http_version:
248
- recorded_at: Thu, 17 May 2012 22:00:33 GMT
248
+ recorded_at: Mon, 21 May 2012 19:00:05 GMT
249
249
  recorded_with: VCR 2.1.1
@@ -0,0 +1,38 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.getInfo&photo_id=6946979188
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ""
9
+ headers:
10
+ Authorization:
11
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="f88a35701b81b71bee9d63ccb7ff0cf4", oauth_signature="Z2SR%2FPDz4CY6edYKHkcjzkKxFOc%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626817", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
12
+ response:
13
+ status:
14
+ code: 200
15
+ message:
16
+ headers:
17
+ date:
18
+ - Mon, 21 May 2012 19:00:18 GMT
19
+ p3p:
20
+ - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
21
+ cache-control:
22
+ - private
23
+ x-served-by:
24
+ - www97.flickr.mud.yahoo.com
25
+ vary:
26
+ - Accept-Encoding
27
+ content-length:
28
+ - "844"
29
+ connection:
30
+ - close
31
+ content-type:
32
+ - application/json
33
+ body:
34
+ encoding: ASCII-8BIT
35
+ string: "{\"photo\":{\"id\":\"6946979188\", \"secret\":\"25bb44852b\", \"server\":\"7049\", \"farm\":8, \"dateuploaded\":\"1334832745\", \"isfavorite\":0, \"license\":\"0\", \"safety_level\":\"0\", \"rotation\":90, \"owner\":{\"nsid\":\"67131352@N04\", \"username\":\"Janko Marohni\\u0107\", \"realname\":\"Janko Marohni\\u0107\", \"location\":\"Zagreb, Croatia\", \"iconserver\":\"5464\", \"iconfarm\":6}, \"title\":{\"_content\":\"IMG_0796\"}, \"description\":{\"_content\":\"Test\"}, \"visibility\":{\"ispublic\":1, \"isfriend\":0, \"isfamily\":0}, \"dates\":{\"posted\":\"1334832745\", \"taken\":\"2011-03-20 17:00:05\", \"takengranularity\":\"0\", \"lastupdate\":\"1337626699\"}, \"permissions\":{\"permcomment\":3, \"permaddmeta\":2}, \"views\":\"5\", \"editability\":{\"cancomment\":1, \"canaddmeta\":1}, \"publiceditability\":{\"cancomment\":1, \"canaddmeta\":0}, \"usage\":{\"candownload\":1, \"canblog\":1, \"canprint\":1, \"canshare\":0}, \"comments\":{\"_content\":\"1\"}, \"notes\":{\"note\":[{\"id\":\"72157629487842968\", \"author\":\"67131352@N04\", \"authorname\":\"Janko Marohni\\u0107\", \"x\":\"316\", \"y\":\"0\", \"w\":\"59\", \"h\":\"50\", \"_content\":\"Test\"}]}, \"people\":{\"haspeople\":0}, \"tags\":{\"tag\":[{\"id\":\"67099213-6946979188-89662\", \"author\":\"67131352@N04\", \"raw\":\"luka\", \"_content\":\"luka\", \"machine_tag\":0}]}, \"location\":{\"latitude\":45.807258, \"longitude\":15.967599, \"accuracy\":\"11\", \"context\":\"0\", \"locality\":{\"_content\":\"Zagreb\", \"place_id\":\"00j4IylZV7scWik\", \"woeid\":\"851128\"}, \"county\":{\"_content\":\"Zagreb\", \"place_id\":\"306dHrhQV7o6jm.ZUQ\", \"woeid\":\"15022257\"}, \"region\":{\"_content\":\"Grad Zagreb\", \"place_id\":\"Js1DU.pTUrpBCIKhVw\", \"woeid\":\"20070170\"}, \"country\":{\"_content\":\"Croatia\", \"place_id\":\"FunRCI5TUb6a6soTyw\", \"woeid\":\"23424843\"}, \"place_id\":\"00j4IylZV7scWik\", \"woeid\":\"851128\"}, \"geoperms\":{\"ispublic\":1, \"iscontact\":0, \"isfriend\":0, \"isfamily\":0}, \"urls\":{\"url\":[{\"type\":\"photopage\", \"_content\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/\"}]}, \"media\":\"photo\"}, \"stat\":\"ok\"}"
36
+ http_version:
37
+ recorded_at: Mon, 21 May 2012 19:00:18 GMT
38
+ recorded_with: VCR 2.1.1
@@ -8,33 +8,33 @@ http_interactions:
8
8
  string: ""
9
9
  headers:
10
10
  Authorization:
11
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="d0b1964251c30192fd89d5e501d0c38a", oauth_signature="VvAA7lHtlYieXz31vL4%2BJTSZFaU%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292033", oauth_token="", oauth_version="1.0"
11
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="a9a3018d557b88d7c229c451a15f5279", oauth_signature="sMBKXwVeqmBIWffmxAqJE8Y1sjI%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626805", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
12
12
  response:
13
13
  status:
14
14
  code: 200
15
15
  message:
16
16
  headers:
17
17
  date:
18
- - Thu, 17 May 2012 22:00:33 GMT
18
+ - Mon, 21 May 2012 19:00:06 GMT
19
19
  p3p:
20
20
  - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
21
21
  cache-control:
22
22
  - private
23
23
  x-served-by:
24
- - www167.flickr.mud.yahoo.com
24
+ - www205.flickr.mud.yahoo.com
25
25
  vary:
26
26
  - Accept-Encoding
27
27
  content-length:
28
- - "439"
28
+ - "440"
29
29
  connection:
30
30
  - close
31
31
  content-type:
32
32
  - application/json
33
33
  body:
34
34
  encoding: ASCII-8BIT
35
- string: "{\"sizes\":{\"canblog\":0, \"canprint\":0, \"candownload\":1, \"size\":[{\"label\":\"Square\", \"width\":75, \"height\":75, \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_s.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/sq\\/\", \"media\":\"photo\"}, {\"label\":\"Large Square\", \"width\":\"150\", \"height\":\"150\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_q.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/q\\/\", \"media\":\"photo\"}, {\"label\":\"Thumbnail\", \"width\":\"75\", \"height\":\"100\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_t.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/t\\/\", \"media\":\"photo\"}, {\"label\":\"Small\", \"width\":\"180\", \"height\":\"240\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_m.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/s\\/\", \"media\":\"photo\"}, {\"label\":\"Small 320\", \"width\":240, \"height\":\"320\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_n.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/n\\/\", \"media\":\"photo\"}, {\"label\":\"Medium\", \"width\":\"375\", \"height\":\"500\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/m\\/\", \"media\":\"photo\"}, {\"label\":\"Medium 640\", \"width\":\"480\", \"height\":\"640\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_z.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/z\\/\", \"media\":\"photo\"}, {\"label\":\"Medium 800\", \"width\":600, \"height\":\"800\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_c.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/c\\/\", \"media\":\"photo\"}, {\"label\":\"Large\", \"width\":\"768\", \"height\":\"1024\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_b.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/l\\/\", \"media\":\"photo\"}, {\"label\":\"Large 1600\", \"width\":1200, \"height\":\"1600\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_3219ddaa99_h.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/h\\/\", \"media\":\"photo\"}, {\"label\":\"Large 2048\", \"width\":1536, \"height\":\"2048\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_b7dd05a1d3_k.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/k\\/\", \"media\":\"photo\"}]}, \"stat\":\"ok\"}"
35
+ string: "{\"sizes\":{\"canblog\":1, \"canprint\":1, \"candownload\":1, \"size\":[{\"label\":\"Square\", \"width\":75, \"height\":75, \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_s.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/sq\\/\", \"media\":\"photo\"}, {\"label\":\"Large Square\", \"width\":\"150\", \"height\":\"150\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_q.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/q\\/\", \"media\":\"photo\"}, {\"label\":\"Thumbnail\", \"width\":\"75\", \"height\":\"100\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_t.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/t\\/\", \"media\":\"photo\"}, {\"label\":\"Small\", \"width\":\"180\", \"height\":\"240\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_m.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/s\\/\", \"media\":\"photo\"}, {\"label\":\"Small 320\", \"width\":\"320\", \"height\":240, \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_n.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/n\\/\", \"media\":\"photo\"}, {\"label\":\"Medium\", \"width\":\"375\", \"height\":\"500\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/m\\/\", \"media\":\"photo\"}, {\"label\":\"Medium 640\", \"width\":\"480\", \"height\":\"640\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_z.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/z\\/\", \"media\":\"photo\"}, {\"label\":\"Medium 800\", \"width\":\"800\", \"height\":600, \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_c.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/c\\/\", \"media\":\"photo\"}, {\"label\":\"Large\", \"width\":\"768\", \"height\":\"1024\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_b.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/l\\/\", \"media\":\"photo\"}, {\"label\":\"Large 1600\", \"width\":1200, \"height\":\"1600\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_3219ddaa99_h.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/h\\/\", \"media\":\"photo\"}, {\"label\":\"Large 2048\", \"width\":1536, \"height\":\"2048\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_b7dd05a1d3_k.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/k\\/\", \"media\":\"photo\"}]}, \"stat\":\"ok\"}"
36
36
  http_version:
37
- recorded_at: Thu, 17 May 2012 22:00:33 GMT
37
+ recorded_at: Mon, 21 May 2012 19:00:06 GMT
38
38
  - request:
39
39
  method: get
40
40
  uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.getSizes&photo_id=6946979188
@@ -43,31 +43,31 @@ http_interactions:
43
43
  string: ""
44
44
  headers:
45
45
  Authorization:
46
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="52be0f5a5909593971f523a2efc72d18", oauth_signature="QMpvNS2cXDG6AvgGjeXTc7yxByI%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292033", oauth_token="", oauth_version="1.0"
46
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="faedc0134898c0b2cdd5f6ed5076c419", oauth_signature="y2eOd7JAqo9IuBvmdJjhML%2Fr0d8%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626806", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
47
47
  response:
48
48
  status:
49
49
  code: 200
50
50
  message:
51
51
  headers:
52
52
  date:
53
- - Thu, 17 May 2012 22:00:33 GMT
53
+ - Mon, 21 May 2012 19:00:09 GMT
54
54
  p3p:
55
55
  - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
56
56
  cache-control:
57
57
  - private
58
58
  x-served-by:
59
- - www95.flickr.mud.yahoo.com
59
+ - www218.flickr.mud.yahoo.com
60
60
  vary:
61
61
  - Accept-Encoding
62
62
  content-length:
63
- - "439"
63
+ - "440"
64
64
  connection:
65
65
  - close
66
66
  content-type:
67
67
  - application/json
68
68
  body:
69
69
  encoding: ASCII-8BIT
70
- string: "{\"sizes\":{\"canblog\":0, \"canprint\":0, \"candownload\":1, \"size\":[{\"label\":\"Square\", \"width\":75, \"height\":75, \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_s.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/sq\\/\", \"media\":\"photo\"}, {\"label\":\"Large Square\", \"width\":\"150\", \"height\":\"150\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_q.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/q\\/\", \"media\":\"photo\"}, {\"label\":\"Thumbnail\", \"width\":\"75\", \"height\":\"100\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_t.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/t\\/\", \"media\":\"photo\"}, {\"label\":\"Small\", \"width\":\"180\", \"height\":\"240\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_m.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/s\\/\", \"media\":\"photo\"}, {\"label\":\"Small 320\", \"width\":240, \"height\":\"320\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_n.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/n\\/\", \"media\":\"photo\"}, {\"label\":\"Medium\", \"width\":\"375\", \"height\":\"500\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/m\\/\", \"media\":\"photo\"}, {\"label\":\"Medium 640\", \"width\":\"480\", \"height\":\"640\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_z.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/z\\/\", \"media\":\"photo\"}, {\"label\":\"Medium 800\", \"width\":600, \"height\":\"800\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_c.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/c\\/\", \"media\":\"photo\"}, {\"label\":\"Large\", \"width\":\"768\", \"height\":\"1024\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_b.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/l\\/\", \"media\":\"photo\"}, {\"label\":\"Large 1600\", \"width\":1200, \"height\":\"1600\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_3219ddaa99_h.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/h\\/\", \"media\":\"photo\"}, {\"label\":\"Large 2048\", \"width\":1536, \"height\":\"2048\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_b7dd05a1d3_k.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/k\\/\", \"media\":\"photo\"}]}, \"stat\":\"ok\"}"
70
+ string: "{\"sizes\":{\"canblog\":1, \"canprint\":1, \"candownload\":1, \"size\":[{\"label\":\"Square\", \"width\":75, \"height\":75, \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_s.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/sq\\/\", \"media\":\"photo\"}, {\"label\":\"Large Square\", \"width\":\"150\", \"height\":\"150\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_q.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/q\\/\", \"media\":\"photo\"}, {\"label\":\"Thumbnail\", \"width\":\"75\", \"height\":\"100\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_t.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/t\\/\", \"media\":\"photo\"}, {\"label\":\"Small\", \"width\":\"180\", \"height\":\"240\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_m.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/s\\/\", \"media\":\"photo\"}, {\"label\":\"Small 320\", \"width\":\"320\", \"height\":240, \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_n.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/n\\/\", \"media\":\"photo\"}, {\"label\":\"Medium\", \"width\":\"375\", \"height\":\"500\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/m\\/\", \"media\":\"photo\"}, {\"label\":\"Medium 640\", \"width\":\"480\", \"height\":\"640\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_z.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/z\\/\", \"media\":\"photo\"}, {\"label\":\"Medium 800\", \"width\":\"800\", \"height\":600, \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_c.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/c\\/\", \"media\":\"photo\"}, {\"label\":\"Large\", \"width\":\"768\", \"height\":\"1024\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_25bb44852b_b.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/l\\/\", \"media\":\"photo\"}, {\"label\":\"Large 1600\", \"width\":1200, \"height\":\"1600\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_3219ddaa99_h.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/h\\/\", \"media\":\"photo\"}, {\"label\":\"Large 2048\", \"width\":1536, \"height\":\"2048\", \"source\":\"http:\\/\\/farm8.staticflickr.com\\/7049\\/6946979188_b7dd05a1d3_k.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/sizes\\/k\\/\", \"media\":\"photo\"}]}, \"stat\":\"ok\"}"
71
71
  http_version:
72
- recorded_at: Thu, 17 May 2012 22:00:34 GMT
72
+ recorded_at: Mon, 21 May 2012 19:00:09 GMT
73
73
  recorded_with: VCR 2.1.1