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
@@ -0,0 +1,108 @@
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.photosets.getPhotos&photoset_id=72157629851991663&extras=media
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ""
9
+ headers:
10
+ Authorization:
11
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="1d2027b1188221193c7395baaaee4aa7", oauth_signature="1DT37csK%2FJzW9RIJsBtgnBJ59N4%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626742", 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 18:59:04 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
+ - www73.flickr.mud.yahoo.com
25
+ vary:
26
+ - Accept-Encoding
27
+ content-length:
28
+ - "2192"
29
+ connection:
30
+ - close
31
+ content-type:
32
+ - application/json
33
+ body:
34
+ encoding: ASCII-8BIT
35
+ string: "{\"photoset\":{\"id\":\"72157629851991663\", \"primary\":\"6946979188\", \"owner\":\"67131352@N04\", \"ownername\":\"Janko Marohni\\u0107\", \"photo\":[{\"id\":\"6946979188\", \"secret\":\"25bb44852b\", \"server\":\"7049\", \"farm\":8, \"title\":\"IMG_0796\", \"isprimary\":\"1\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946978706\", \"secret\":\"b38270bbd6\", \"server\":\"7216\", \"farm\":8, \"title\":\"IMG_0795\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093049187\", \"secret\":\"90f36603c4\", \"server\":\"5112\", \"farm\":6, \"title\":\"IMG_0794\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946977782\", \"secret\":\"05dfb214aa\", \"server\":\"7114\", \"farm\":8, \"title\":\"IMG_0793\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093048115\", \"secret\":\"7d2981a52c\", \"server\":\"5194\", \"farm\":6, \"title\":\"IMG_0792\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093047507\", \"secret\":\"9ab0da63ee\", \"server\":\"7087\", \"farm\":8, \"title\":\"IMG_0791\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946975780\", \"secret\":\"e151ae3cc7\", \"server\":\"5234\", \"farm\":6, \"title\":\"IMG_0790\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093046043\", \"secret\":\"cb8c98e700\", \"server\":\"5465\", \"farm\":6, \"title\":\"IMG_0789\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946974536\", \"secret\":\"833b47ea0e\", \"server\":\"5328\", \"farm\":6, \"title\":\"IMG_0788\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093044665\", \"secret\":\"23f6d03d06\", \"server\":\"5457\", \"farm\":6, \"title\":\"IMG_0787\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093044025\", \"secret\":\"a78b197128\", \"server\":\"7244\", \"farm\":8, \"title\":\"IMG_0786\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093043445\", \"secret\":\"a185bd6ed4\", \"server\":\"7055\", \"farm\":8, \"title\":\"IMG_0785\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093042985\", \"secret\":\"c169fcc5d8\", \"server\":\"7123\", \"farm\":8, \"title\":\"IMG_0784\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946971690\", \"secret\":\"eec09768f3\", \"server\":\"7236\", \"farm\":8, \"title\":\"IMG_0783\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946971104\", \"secret\":\"f642d95806\", \"server\":\"5444\", \"farm\":6, \"title\":\"IMG_0782\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093041499\", \"secret\":\"418de5a2b3\", \"server\":\"5076\", \"farm\":6, \"title\":\"IMG_0781\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946969908\", \"secret\":\"dba08d73fd\", \"server\":\"7206\", \"farm\":8, \"title\":\"IMG_0780\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093040113\", \"secret\":\"121fd618e3\", \"server\":\"7194\", \"farm\":8, \"title\":\"IMG_0779\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946968774\", \"secret\":\"e24f175d9b\", \"server\":\"7188\", \"farm\":8, \"title\":\"IMG_0778\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093038981\", \"secret\":\"9a616b9f6e\", \"server\":\"5457\", \"farm\":6, \"title\":\"5 meter backflip\", \"isprimary\":\"0\", \"media\":\"video\", \"media_status\":\"ready\"}, {\"id\":\"7093090543\", \"secret\":\"2380a7322a\", \"server\":\"7039\", \"farm\":8, \"title\":\"IMG_0898\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093101501\", \"secret\":\"9337f28800\", \"server\":\"7090\", \"farm\":8, \"title\":\"IMG_0917\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093060973\", \"secret\":\"5f464c1f19\", \"server\":\"5332\", \"farm\":6, \"title\":\"IMG_0858\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093089757\", \"secret\":\"7ba29d1faa\", \"server\":\"7255\", \"farm\":8, \"title\":\"IMG_0897\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946989278\", \"secret\":\"1f9ac3bf23\", \"server\":\"7225\", \"farm\":8, \"title\":\"IMG_0857\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947005492\", \"secret\":\"7b3c7b71dc\", \"server\":\"7200\", \"farm\":8, \"title\":\"IMG_0878\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093100793\", \"secret\":\"358fb7bc5c\", \"server\":\"7091\", \"farm\":8, \"title\":\"IMG_0916\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947018444\", \"secret\":\"4034d376b5\", \"server\":\"5072\", \"farm\":6, \"title\":\"IMG_0896\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946988664\", \"secret\":\"98a556b161\", \"server\":\"5271\", \"farm\":6, \"title\":\"IMG_0856\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093100113\", \"secret\":\"e66152390a\", \"server\":\"5323\", \"farm\":6, \"title\":\"IMG_0915\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947004776\", \"secret\":\"9ce24464d7\", \"server\":\"7184\", \"farm\":8, \"title\":\"IMG_0877\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093088463\", \"secret\":\"f9f44311c0\", \"server\":\"5342\", \"farm\":6, \"title\":\"IMG_0895\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946988100\", \"secret\":\"9884da49bb\", \"server\":\"7259\", \"farm\":8, \"title\":\"IMG_0855\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947028982\", \"secret\":\"f8637343a0\", \"server\":\"7068\", \"farm\":8, \"title\":\"IMG_0914\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093087845\", \"secret\":\"140b1523a8\", \"server\":\"7197\", \"farm\":8, \"title\":\"IMG_0894\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093074445\", \"secret\":\"60f68b94d5\", \"server\":\"7269\", \"farm\":8, \"title\":\"IMG_0876\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093058605\", \"secret\":\"4c703c432e\", \"server\":\"7053\", \"farm\":8, \"title\":\"IMG_0854\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947016804\", \"secret\":\"a2994e2721\", \"server\":\"7276\", \"farm\":8, \"title\":\"IMG_0893\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947028308\", \"secret\":\"21ee6efe95\", \"server\":\"7128\", \"farm\":8, \"title\":\"IMG_0913\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093073517\", \"secret\":\"cfaab800dd\", \"server\":\"7197\", \"farm\":8, \"title\":\"IMG_0875\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093058053\", \"secret\":\"0aea023b71\", \"server\":\"7220\", \"farm\":8, \"title\":\"IMG_0853\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093086727\", \"secret\":\"f083d3f000\", \"server\":\"7051\", \"farm\":8, \"title\":\"IMG_0892\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093098399\", \"secret\":\"e55c43df26\", \"server\":\"7249\", \"farm\":8, \"title\":\"IMG_0912\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947002200\", \"secret\":\"1d568b5f58\", \"server\":\"7229\", \"farm\":8, \"title\":\"IMG_0874\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093057289\", \"secret\":\"1c54cc350b\", \"server\":\"7138\", \"farm\":8, \"title\":\"IMG_0852\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947015676\", \"secret\":\"453d422382\", \"server\":\"7039\", \"farm\":8, \"title\":\"IMG_0891\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093056667\", \"secret\":\"8a9b228bbf\", \"server\":\"5115\", \"farm\":6, \"title\":\"IMG_0851\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947001376\", \"secret\":\"fc49e39735\", \"server\":\"7105\", \"farm\":8, \"title\":\"IMG_0873\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947027188\", \"secret\":\"1168cb3e6f\", \"server\":\"5323\", \"farm\":6, \"title\":\"IMG_0911\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946985050\", \"secret\":\"c6307b610c\", \"server\":\"5276\", \"farm\":6, \"title\":\"IMG_0850\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093085399\", \"secret\":\"139222bccb\", \"server\":\"5035\", \"farm\":6, \"title\":\"IMG_0890\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093071353\", \"secret\":\"8698cfb26b\", \"server\":\"5036\", \"farm\":6, \"title\":\"IMG_0872\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093097313\", \"secret\":\"dabcd3f14c\", \"server\":\"7123\", \"farm\":8, \"title\":\"IMG_0910\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093055267\", \"secret\":\"69be16f45c\", \"server\":\"7072\", \"farm\":8, \"title\":\"IMG_0849\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947014098\", \"secret\":\"0a6abd0bcd\", \"server\":\"7076\", \"farm\":8, \"title\":\"IMG_0889\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946999878\", \"secret\":\"384f5686d3\", \"server\":\"7209\", \"farm\":8, \"title\":\"IMG_0871\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947026196\", \"secret\":\"1280382975\", \"server\":\"7072\", \"farm\":8, \"title\":\"IMG_0909\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093054613\", \"secret\":\"180b9978b9\", \"server\":\"5462\", \"farm\":6, \"title\":\"IMG_0805\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093083693\", \"secret\":\"2c779e228e\", \"server\":\"7081\", \"farm\":8, \"title\":\"IMG_0888\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093069863\", \"secret\":\"b9bff9098a\", \"server\":\"5463\", \"farm\":6, \"title\":\"IMG_0870\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946983076\", \"secret\":\"7c81e1f3e6\", \"server\":\"7280\", \"farm\":8, \"title\":\"IMG_0804\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947025632\", \"secret\":\"1f726b375e\", \"server\":\"7258\", \"farm\":8, \"title\":\"IMG_0908\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947012404\", \"secret\":\"901a7ffb60\", \"server\":\"7114\", \"farm\":8, \"title\":\"IMG_0887\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946998404\", \"secret\":\"6a4a9aab15\", \"server\":\"7280\", \"farm\":8, \"title\":\"IMG_0869\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093053547\", \"secret\":\"f96ed55a47\", \"server\":\"7119\", \"farm\":8, \"title\":\"IMG_0803\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093095673\", \"secret\":\"a00373f8f4\", \"server\":\"7068\", \"farm\":8, \"title\":\"IMG_0907\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093081875\", \"secret\":\"2e91101e98\", \"server\":\"7074\", \"farm\":8, \"title\":\"IMG_0886\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093052931\", \"secret\":\"e4b7329f86\", \"server\":\"7276\", \"farm\":8, \"title\":\"IMG_0802\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093068315\", \"secret\":\"fc9d9e6a88\", \"server\":\"5280\", \"farm\":6, \"title\":\"IMG_0868\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947024414\", \"secret\":\"67b77e2832\", \"server\":\"7227\", \"farm\":8, \"title\":\"IMG_0906\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093052339\", \"secret\":\"3a61b73dae\", \"server\":\"7199\", \"farm\":8, \"title\":\"IMG_0801\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093081143\", \"secret\":\"8d730f58a8\", \"server\":\"7073\", \"farm\":8, \"title\":\"IMG_0885\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946996660\", \"secret\":\"029dfd51de\", \"server\":\"7106\", \"farm\":8, \"title\":\"IMG_0867\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093094579\", \"secret\":\"17f598e637\", \"server\":\"5466\", \"farm\":6, \"title\":\"IMG_0905\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093051839\", \"secret\":\"fd5a1837cd\", \"server\":\"7058\", \"farm\":8, \"title\":\"IMG_0800\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093080271\", \"secret\":\"68efe9c5b0\", \"server\":\"5330\", \"farm\":6, \"title\":\"IMG_0884\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946995832\", \"secret\":\"92d116340b\", \"server\":\"7208\", \"farm\":8, \"title\":\"IMG_0866\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947023402\", \"secret\":\"bd30968066\", \"server\":\"5349\", \"farm\":6, \"title\":\"IMG_0904\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093051507\", \"secret\":\"ca716958c2\", \"server\":\"7239\", \"farm\":8, \"title\":\"IMG_0799\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093079529\", \"secret\":\"b3ccb42ec0\", \"server\":\"7204\", \"farm\":8, \"title\":\"IMG_0883\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946995146\", \"secret\":\"b214350701\", \"server\":\"5196\", \"farm\":6, \"title\":\"IMG_0865\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093093257\", \"secret\":\"0a6aa12e2d\", \"server\":\"7276\", \"farm\":8, \"title\":\"IMG_0903\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093051085\", \"secret\":\"16db5e2de6\", \"server\":\"5115\", \"farm\":6, \"title\":\"IMG_0798\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946994454\", \"secret\":\"a3c38ccb31\", \"server\":\"7036\", \"farm\":8, \"title\":\"IMG_0864\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093078855\", \"secret\":\"9f9e145efd\", \"server\":\"7262\", \"farm\":8, \"title\":\"IMG_0882\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947021990\", \"secret\":\"5637741429\", \"server\":\"5454\", \"farm\":6, \"title\":\"IMG_0902\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947007902\", \"secret\":\"12b634edff\", \"server\":\"7124\", \"farm\":8, \"title\":\"IMG_0881\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946979704\", \"secret\":\"74513ff732\", \"server\":\"7234\", \"farm\":8, \"title\":\"IMG_0797\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946993658\", \"secret\":\"c07d654d4a\", \"server\":\"7036\", \"farm\":8, \"title\":\"IMG_0863\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947021590\", \"secret\":\"fe98145c8b\", \"server\":\"7122\", \"farm\":8, \"title\":\"IMG_0901\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093077621\", \"secret\":\"0711c166ce\", \"server\":\"5231\", \"farm\":6, \"title\":\"IMG_0880\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093063769\", \"secret\":\"469c96a921\", \"server\":\"7089\", \"farm\":8, \"title\":\"IMG_0862\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947006326\", \"secret\":\"c73cb38124\", \"server\":\"7258\", \"farm\":8, \"title\":\"IMG_0879\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947021124\", \"secret\":\"3934c72637\", \"server\":\"5466\", \"farm\":6, \"title\":\"IMG_0900\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093062983\", \"secret\":\"9095b9c962\", \"server\":\"7244\", \"farm\":8, \"title\":\"IMG_0861\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946991242\", \"secret\":\"09ccb0edfc\", \"server\":\"5441\", \"farm\":6, \"title\":\"IMG_0860\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947020616\", \"secret\":\"7b1b27cd84\", \"server\":\"5072\", \"farm\":6, \"title\":\"IMG_0899\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093061617\", \"secret\":\"f32ae6df21\", \"server\":\"5038\", \"farm\":6, \"title\":\"IMG_0859\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}], \"page\":1, \"per_page\":500, \"perpage\":500, \"pages\":1, \"total\":\"98\"}, \"stat\":\"ok\"}"
36
+ http_version:
37
+ recorded_at: Mon, 21 May 2012 18:59:04 GMT
38
+ - request:
39
+ method: get
40
+ uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photosets.getPhotos&photoset_id=72157629851991663&media=photos&extras=media
41
+ body:
42
+ encoding: US-ASCII
43
+ string: ""
44
+ headers:
45
+ Authorization:
46
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="433a70962a1749f75ef8e45ed4edcfd0", oauth_signature="hMzlvxWJde7LEBpkIiB0Fjqrdlc%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626744", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
47
+ response:
48
+ status:
49
+ code: 200
50
+ message:
51
+ headers:
52
+ date:
53
+ - Mon, 21 May 2012 18:59:06 GMT
54
+ p3p:
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
+ cache-control:
57
+ - private
58
+ x-served-by:
59
+ - www187.flickr.mud.yahoo.com
60
+ vary:
61
+ - Accept-Encoding
62
+ content-length:
63
+ - "2152"
64
+ connection:
65
+ - close
66
+ content-type:
67
+ - application/json
68
+ body:
69
+ encoding: ASCII-8BIT
70
+ string: "{\"photoset\":{\"id\":\"72157629851991663\", \"primary\":\"6946979188\", \"owner\":\"67131352@N04\", \"ownername\":\"Janko Marohni\\u0107\", \"photo\":[{\"id\":\"6946979188\", \"secret\":\"25bb44852b\", \"server\":\"7049\", \"farm\":8, \"title\":\"IMG_0796\", \"isprimary\":\"1\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946978706\", \"secret\":\"b38270bbd6\", \"server\":\"7216\", \"farm\":8, \"title\":\"IMG_0795\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093049187\", \"secret\":\"90f36603c4\", \"server\":\"5112\", \"farm\":6, \"title\":\"IMG_0794\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946977782\", \"secret\":\"05dfb214aa\", \"server\":\"7114\", \"farm\":8, \"title\":\"IMG_0793\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093048115\", \"secret\":\"7d2981a52c\", \"server\":\"5194\", \"farm\":6, \"title\":\"IMG_0792\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093047507\", \"secret\":\"9ab0da63ee\", \"server\":\"7087\", \"farm\":8, \"title\":\"IMG_0791\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946975780\", \"secret\":\"e151ae3cc7\", \"server\":\"5234\", \"farm\":6, \"title\":\"IMG_0790\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093046043\", \"secret\":\"cb8c98e700\", \"server\":\"5465\", \"farm\":6, \"title\":\"IMG_0789\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946974536\", \"secret\":\"833b47ea0e\", \"server\":\"5328\", \"farm\":6, \"title\":\"IMG_0788\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093044665\", \"secret\":\"23f6d03d06\", \"server\":\"5457\", \"farm\":6, \"title\":\"IMG_0787\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093044025\", \"secret\":\"a78b197128\", \"server\":\"7244\", \"farm\":8, \"title\":\"IMG_0786\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093043445\", \"secret\":\"a185bd6ed4\", \"server\":\"7055\", \"farm\":8, \"title\":\"IMG_0785\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093042985\", \"secret\":\"c169fcc5d8\", \"server\":\"7123\", \"farm\":8, \"title\":\"IMG_0784\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946971690\", \"secret\":\"eec09768f3\", \"server\":\"7236\", \"farm\":8, \"title\":\"IMG_0783\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946971104\", \"secret\":\"f642d95806\", \"server\":\"5444\", \"farm\":6, \"title\":\"IMG_0782\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093041499\", \"secret\":\"418de5a2b3\", \"server\":\"5076\", \"farm\":6, \"title\":\"IMG_0781\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946969908\", \"secret\":\"dba08d73fd\", \"server\":\"7206\", \"farm\":8, \"title\":\"IMG_0780\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093040113\", \"secret\":\"121fd618e3\", \"server\":\"7194\", \"farm\":8, \"title\":\"IMG_0779\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946968774\", \"secret\":\"e24f175d9b\", \"server\":\"7188\", \"farm\":8, \"title\":\"IMG_0778\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093090543\", \"secret\":\"2380a7322a\", \"server\":\"7039\", \"farm\":8, \"title\":\"IMG_0898\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093101501\", \"secret\":\"9337f28800\", \"server\":\"7090\", \"farm\":8, \"title\":\"IMG_0917\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093060973\", \"secret\":\"5f464c1f19\", \"server\":\"5332\", \"farm\":6, \"title\":\"IMG_0858\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093089757\", \"secret\":\"7ba29d1faa\", \"server\":\"7255\", \"farm\":8, \"title\":\"IMG_0897\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946989278\", \"secret\":\"1f9ac3bf23\", \"server\":\"7225\", \"farm\":8, \"title\":\"IMG_0857\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947005492\", \"secret\":\"7b3c7b71dc\", \"server\":\"7200\", \"farm\":8, \"title\":\"IMG_0878\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093100793\", \"secret\":\"358fb7bc5c\", \"server\":\"7091\", \"farm\":8, \"title\":\"IMG_0916\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947018444\", \"secret\":\"4034d376b5\", \"server\":\"5072\", \"farm\":6, \"title\":\"IMG_0896\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946988664\", \"secret\":\"98a556b161\", \"server\":\"5271\", \"farm\":6, \"title\":\"IMG_0856\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093100113\", \"secret\":\"e66152390a\", \"server\":\"5323\", \"farm\":6, \"title\":\"IMG_0915\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947004776\", \"secret\":\"9ce24464d7\", \"server\":\"7184\", \"farm\":8, \"title\":\"IMG_0877\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093088463\", \"secret\":\"f9f44311c0\", \"server\":\"5342\", \"farm\":6, \"title\":\"IMG_0895\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946988100\", \"secret\":\"9884da49bb\", \"server\":\"7259\", \"farm\":8, \"title\":\"IMG_0855\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947028982\", \"secret\":\"f8637343a0\", \"server\":\"7068\", \"farm\":8, \"title\":\"IMG_0914\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093087845\", \"secret\":\"140b1523a8\", \"server\":\"7197\", \"farm\":8, \"title\":\"IMG_0894\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093074445\", \"secret\":\"60f68b94d5\", \"server\":\"7269\", \"farm\":8, \"title\":\"IMG_0876\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093058605\", \"secret\":\"4c703c432e\", \"server\":\"7053\", \"farm\":8, \"title\":\"IMG_0854\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947016804\", \"secret\":\"a2994e2721\", \"server\":\"7276\", \"farm\":8, \"title\":\"IMG_0893\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947028308\", \"secret\":\"21ee6efe95\", \"server\":\"7128\", \"farm\":8, \"title\":\"IMG_0913\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093073517\", \"secret\":\"cfaab800dd\", \"server\":\"7197\", \"farm\":8, \"title\":\"IMG_0875\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093058053\", \"secret\":\"0aea023b71\", \"server\":\"7220\", \"farm\":8, \"title\":\"IMG_0853\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093086727\", \"secret\":\"f083d3f000\", \"server\":\"7051\", \"farm\":8, \"title\":\"IMG_0892\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093098399\", \"secret\":\"e55c43df26\", \"server\":\"7249\", \"farm\":8, \"title\":\"IMG_0912\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947002200\", \"secret\":\"1d568b5f58\", \"server\":\"7229\", \"farm\":8, \"title\":\"IMG_0874\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093057289\", \"secret\":\"1c54cc350b\", \"server\":\"7138\", \"farm\":8, \"title\":\"IMG_0852\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947015676\", \"secret\":\"453d422382\", \"server\":\"7039\", \"farm\":8, \"title\":\"IMG_0891\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093056667\", \"secret\":\"8a9b228bbf\", \"server\":\"5115\", \"farm\":6, \"title\":\"IMG_0851\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947001376\", \"secret\":\"fc49e39735\", \"server\":\"7105\", \"farm\":8, \"title\":\"IMG_0873\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947027188\", \"secret\":\"1168cb3e6f\", \"server\":\"5323\", \"farm\":6, \"title\":\"IMG_0911\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946985050\", \"secret\":\"c6307b610c\", \"server\":\"5276\", \"farm\":6, \"title\":\"IMG_0850\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093085399\", \"secret\":\"139222bccb\", \"server\":\"5035\", \"farm\":6, \"title\":\"IMG_0890\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093071353\", \"secret\":\"8698cfb26b\", \"server\":\"5036\", \"farm\":6, \"title\":\"IMG_0872\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093097313\", \"secret\":\"dabcd3f14c\", \"server\":\"7123\", \"farm\":8, \"title\":\"IMG_0910\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093055267\", \"secret\":\"69be16f45c\", \"server\":\"7072\", \"farm\":8, \"title\":\"IMG_0849\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947014098\", \"secret\":\"0a6abd0bcd\", \"server\":\"7076\", \"farm\":8, \"title\":\"IMG_0889\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946999878\", \"secret\":\"384f5686d3\", \"server\":\"7209\", \"farm\":8, \"title\":\"IMG_0871\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947026196\", \"secret\":\"1280382975\", \"server\":\"7072\", \"farm\":8, \"title\":\"IMG_0909\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093054613\", \"secret\":\"180b9978b9\", \"server\":\"5462\", \"farm\":6, \"title\":\"IMG_0805\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093083693\", \"secret\":\"2c779e228e\", \"server\":\"7081\", \"farm\":8, \"title\":\"IMG_0888\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093069863\", \"secret\":\"b9bff9098a\", \"server\":\"5463\", \"farm\":6, \"title\":\"IMG_0870\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946983076\", \"secret\":\"7c81e1f3e6\", \"server\":\"7280\", \"farm\":8, \"title\":\"IMG_0804\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947025632\", \"secret\":\"1f726b375e\", \"server\":\"7258\", \"farm\":8, \"title\":\"IMG_0908\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947012404\", \"secret\":\"901a7ffb60\", \"server\":\"7114\", \"farm\":8, \"title\":\"IMG_0887\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946998404\", \"secret\":\"6a4a9aab15\", \"server\":\"7280\", \"farm\":8, \"title\":\"IMG_0869\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093053547\", \"secret\":\"f96ed55a47\", \"server\":\"7119\", \"farm\":8, \"title\":\"IMG_0803\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093095673\", \"secret\":\"a00373f8f4\", \"server\":\"7068\", \"farm\":8, \"title\":\"IMG_0907\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093081875\", \"secret\":\"2e91101e98\", \"server\":\"7074\", \"farm\":8, \"title\":\"IMG_0886\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093052931\", \"secret\":\"e4b7329f86\", \"server\":\"7276\", \"farm\":8, \"title\":\"IMG_0802\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093068315\", \"secret\":\"fc9d9e6a88\", \"server\":\"5280\", \"farm\":6, \"title\":\"IMG_0868\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947024414\", \"secret\":\"67b77e2832\", \"server\":\"7227\", \"farm\":8, \"title\":\"IMG_0906\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093052339\", \"secret\":\"3a61b73dae\", \"server\":\"7199\", \"farm\":8, \"title\":\"IMG_0801\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093081143\", \"secret\":\"8d730f58a8\", \"server\":\"7073\", \"farm\":8, \"title\":\"IMG_0885\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946996660\", \"secret\":\"029dfd51de\", \"server\":\"7106\", \"farm\":8, \"title\":\"IMG_0867\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093094579\", \"secret\":\"17f598e637\", \"server\":\"5466\", \"farm\":6, \"title\":\"IMG_0905\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093051839\", \"secret\":\"fd5a1837cd\", \"server\":\"7058\", \"farm\":8, \"title\":\"IMG_0800\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093080271\", \"secret\":\"68efe9c5b0\", \"server\":\"5330\", \"farm\":6, \"title\":\"IMG_0884\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946995832\", \"secret\":\"92d116340b\", \"server\":\"7208\", \"farm\":8, \"title\":\"IMG_0866\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947023402\", \"secret\":\"bd30968066\", \"server\":\"5349\", \"farm\":6, \"title\":\"IMG_0904\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093051507\", \"secret\":\"ca716958c2\", \"server\":\"7239\", \"farm\":8, \"title\":\"IMG_0799\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093079529\", \"secret\":\"b3ccb42ec0\", \"server\":\"7204\", \"farm\":8, \"title\":\"IMG_0883\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946995146\", \"secret\":\"b214350701\", \"server\":\"5196\", \"farm\":6, \"title\":\"IMG_0865\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093093257\", \"secret\":\"0a6aa12e2d\", \"server\":\"7276\", \"farm\":8, \"title\":\"IMG_0903\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093051085\", \"secret\":\"16db5e2de6\", \"server\":\"5115\", \"farm\":6, \"title\":\"IMG_0798\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946994454\", \"secret\":\"a3c38ccb31\", \"server\":\"7036\", \"farm\":8, \"title\":\"IMG_0864\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093078855\", \"secret\":\"9f9e145efd\", \"server\":\"7262\", \"farm\":8, \"title\":\"IMG_0882\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947021990\", \"secret\":\"5637741429\", \"server\":\"5454\", \"farm\":6, \"title\":\"IMG_0902\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947007902\", \"secret\":\"12b634edff\", \"server\":\"7124\", \"farm\":8, \"title\":\"IMG_0881\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946979704\", \"secret\":\"74513ff732\", \"server\":\"7234\", \"farm\":8, \"title\":\"IMG_0797\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946993658\", \"secret\":\"c07d654d4a\", \"server\":\"7036\", \"farm\":8, \"title\":\"IMG_0863\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947021590\", \"secret\":\"fe98145c8b\", \"server\":\"7122\", \"farm\":8, \"title\":\"IMG_0901\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093077621\", \"secret\":\"0711c166ce\", \"server\":\"5231\", \"farm\":6, \"title\":\"IMG_0880\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093063769\", \"secret\":\"469c96a921\", \"server\":\"7089\", \"farm\":8, \"title\":\"IMG_0862\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947006326\", \"secret\":\"c73cb38124\", \"server\":\"7258\", \"farm\":8, \"title\":\"IMG_0879\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947021124\", \"secret\":\"3934c72637\", \"server\":\"5466\", \"farm\":6, \"title\":\"IMG_0900\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093062983\", \"secret\":\"9095b9c962\", \"server\":\"7244\", \"farm\":8, \"title\":\"IMG_0861\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946991242\", \"secret\":\"09ccb0edfc\", \"server\":\"5441\", \"farm\":6, \"title\":\"IMG_0860\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947020616\", \"secret\":\"7b1b27cd84\", \"server\":\"5072\", \"farm\":6, \"title\":\"IMG_0899\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093061617\", \"secret\":\"f32ae6df21\", \"server\":\"5038\", \"farm\":6, \"title\":\"IMG_0859\", \"isprimary\":\"0\", \"media\":\"photo\", \"media_status\":\"ready\"}], \"page\":1, \"per_page\":500, \"perpage\":500, \"pages\":1, \"total\":\"97\"}, \"stat\":\"ok\"}"
71
+ http_version:
72
+ recorded_at: Mon, 21 May 2012 18:59:06 GMT
73
+ - request:
74
+ method: get
75
+ uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photosets.getPhotos&photoset_id=72157629851991663&media=videos&extras=media
76
+ body:
77
+ encoding: US-ASCII
78
+ string: ""
79
+ headers:
80
+ Authorization:
81
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="448677e78f3cf563c3b54d8c63ab01cc", oauth_signature="MYtVPdrPtfCD23wrUIvQfGAE7HE%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626746", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
82
+ response:
83
+ status:
84
+ code: 200
85
+ message:
86
+ headers:
87
+ date:
88
+ - Mon, 21 May 2012 18:59:09 GMT
89
+ p3p:
90
+ - 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"
91
+ cache-control:
92
+ - private
93
+ x-served-by:
94
+ - www108.flickr.mud.yahoo.com
95
+ vary:
96
+ - Accept-Encoding
97
+ content-length:
98
+ - "252"
99
+ connection:
100
+ - close
101
+ content-type:
102
+ - application/json
103
+ body:
104
+ encoding: ASCII-8BIT
105
+ string: "{\"photoset\":{\"id\":\"72157629851991663\", \"primary\":\"6946979188\", \"owner\":\"67131352@N04\", \"ownername\":\"Janko Marohni\\u0107\", \"photo\":[{\"id\":\"7093038981\", \"secret\":\"9a616b9f6e\", \"server\":\"5457\", \"farm\":6, \"title\":\"5 meter backflip\", \"isprimary\":\"0\", \"media\":\"video\", \"media_status\":\"ready\"}], \"page\":1, \"per_page\":500, \"perpage\":500, \"pages\":1, \"total\":\"1\"}, \"stat\":\"ok\"}"
106
+ http_version:
107
+ recorded_at: Mon, 21 May 2012 18:59:09 GMT
108
+ recorded_with: VCR 2.1.1
@@ -5,10 +5,10 @@ http_interactions:
5
5
  uri: http://api.flickr.com/services/upload
6
6
  body:
7
7
  encoding: ASCII-8BIT
8
- string: "#<Faraday::CompositeReadIO:0x007fb6b4fd3488>"
8
+ string: "#<Faraday::CompositeReadIO:0x007fd779bb98d0>"
9
9
  headers:
10
10
  Authorization:
11
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="364e5d59e878d70629f4ed7b518b2a60", oauth_signature="UtvUrpuOxvyXhSO0GmWCovzaMw0%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337291994", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
11
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="8e16f66a6cf8ea4f46757a372837f02c", oauth_signature="MpZtN7H2FTeG3li2hXv27cnIn8o%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626632", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
12
12
  Content-Type:
13
13
  - multipart/form-data;boundary=-----------RubyMultipartPost
14
14
  Content-Length:
@@ -19,7 +19,7 @@ http_interactions:
19
19
  message:
20
20
  headers:
21
21
  date:
22
- - Thu, 17 May 2012 21:59:55 GMT
22
+ - Mon, 21 May 2012 18:57:14 GMT
23
23
  p3p:
24
24
  - 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"
25
25
  connection:
@@ -29,7 +29,7 @@ http_interactions:
29
29
  cache-control:
30
30
  - private
31
31
  x-served-by:
32
- - www31.flickr.mud.yahoo.com
32
+ - www164.flickr.mud.yahoo.com
33
33
  vary:
34
34
  - Accept-Encoding
35
35
  content-type:
@@ -39,20 +39,20 @@ http_interactions:
39
39
  string: |
40
40
  <?xml version="1.0" encoding="utf-8" ?>
41
41
  <rsp stat="ok">
42
- <photoid>7218055288</photoid>
42
+ <photoid>7243590740</photoid>
43
43
  </rsp>
44
44
 
45
45
  http_version:
46
- recorded_at: Thu, 17 May 2012 21:59:59 GMT
46
+ recorded_at: Mon, 21 May 2012 18:57:27 GMT
47
47
  - request:
48
48
  method: post
49
49
  uri: http://api.flickr.com/services/replace
50
50
  body:
51
51
  encoding: ASCII-8BIT
52
- string: "#<Faraday::CompositeReadIO:0x007fb6b4fd1b88>"
52
+ string: "#<Faraday::CompositeReadIO:0x007fd779c684e8>"
53
53
  headers:
54
54
  Authorization:
55
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="8be3111c06b0302b91df5efefced7acd", oauth_signature="%2F7ufiI5sBnVHI5vnIuKo6ZjDhgU%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337291999", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
55
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="3368664146f78b75800c06052221da30", oauth_signature="cLiKU4Go%2BNQzMp6cxn%2BJ6SuEjZc%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626647", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
56
56
  Content-Type:
57
57
  - multipart/form-data;boundary=-----------RubyMultipartPost
58
58
  Content-Length:
@@ -63,7 +63,7 @@ http_interactions:
63
63
  message:
64
64
  headers:
65
65
  date:
66
- - Thu, 17 May 2012 22:00:00 GMT
66
+ - Mon, 21 May 2012 18:57:28 GMT
67
67
  p3p:
68
68
  - 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"
69
69
  connection:
@@ -73,7 +73,7 @@ http_interactions:
73
73
  cache-control:
74
74
  - private
75
75
  x-served-by:
76
- - www191.flickr.mud.yahoo.com
76
+ - www58.flickr.mud.yahoo.com
77
77
  vary:
78
78
  - Accept-Encoding
79
79
  content-type:
@@ -87,29 +87,29 @@ http_interactions:
87
87
  </rsp>
88
88
 
89
89
  http_version:
90
- recorded_at: Thu, 17 May 2012 22:00:01 GMT
90
+ recorded_at: Mon, 21 May 2012 18:57:35 GMT
91
91
  - request:
92
92
  method: post
93
- uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.delete&photo_id=7218055288
93
+ uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.delete&photo_id=7243590740
94
94
  body:
95
95
  encoding: US-ASCII
96
96
  string: ""
97
97
  headers:
98
98
  Authorization:
99
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="70afa76018e45cbe9fcb3eadf8952722", oauth_signature="zOZYNEMmdvBOk260CVsWx8E%2BLhQ%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292001", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
99
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="6694d7f88bc836dbdf9e19e16509d08e", oauth_signature="cOZfLO6%2F%2BHOgMq4aEw2iedexgsk%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626655", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
100
100
  response:
101
101
  status:
102
102
  code: 200
103
103
  message:
104
104
  headers:
105
105
  date:
106
- - Thu, 17 May 2012 22:00:01 GMT
106
+ - Mon, 21 May 2012 18:57:40 GMT
107
107
  p3p:
108
108
  - 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"
109
109
  cache-control:
110
110
  - private
111
111
  x-served-by:
112
- - www110.flickr.mud.yahoo.com
112
+ - www161.flickr.mud.yahoo.com
113
113
  vary:
114
114
  - Accept-Encoding
115
115
  content-length:
@@ -122,5 +122,5 @@ http_interactions:
122
122
  encoding: US-ASCII
123
123
  string: "{\"stat\":\"ok\"}"
124
124
  http_version:
125
- recorded_at: Thu, 17 May 2012 22:00:01 GMT
125
+ recorded_at: Mon, 21 May 2012 18:57:40 GMT
126
126
  recorded_with: VCR 2.1.1
@@ -0,0 +1,82 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.flickr.com/services/upload
6
+ body:
7
+ encoding: ASCII-8BIT
8
+ string: "#<Faraday::CompositeReadIO:0x007fd779ccfc10>"
9
+ headers:
10
+ Authorization:
11
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="70b46699a1a9de755297a859e2abf1fd", oauth_signature="PM3AiNT%2BKoMeMm5UML0SDXRVlxc%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626584", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
12
+ Content-Type:
13
+ - multipart/form-data;boundary=-----------RubyMultipartPost
14
+ Content-Length:
15
+ - "47086"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message:
20
+ headers:
21
+ date:
22
+ - Mon, 21 May 2012 18:56:26 GMT
23
+ p3p:
24
+ - 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"
25
+ connection:
26
+ - close
27
+ content-length:
28
+ - "93"
29
+ cache-control:
30
+ - private
31
+ x-served-by:
32
+ - www49.flickr.mud.yahoo.com
33
+ vary:
34
+ - Accept-Encoding
35
+ content-type:
36
+ - text/xml; charset=utf-8
37
+ body:
38
+ encoding: US-ASCII
39
+ string: |
40
+ <?xml version="1.0" encoding="utf-8" ?>
41
+ <rsp stat="ok">
42
+ <photoid>7243585904</photoid>
43
+ </rsp>
44
+
45
+ http_version:
46
+ recorded_at: Mon, 21 May 2012 18:56:44 GMT
47
+ - request:
48
+ method: post
49
+ uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.delete&photo_id=7243585904
50
+ body:
51
+ encoding: US-ASCII
52
+ string: ""
53
+ headers:
54
+ Authorization:
55
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="61eecee2761b82afb5da02847e095aa0", oauth_signature="AjI63Hm2%2B95RUzEG0MXiYwSsFUU%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626604", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
56
+ response:
57
+ status:
58
+ code: 200
59
+ message:
60
+ headers:
61
+ date:
62
+ - Mon, 21 May 2012 18:56:46 GMT
63
+ p3p:
64
+ - 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"
65
+ cache-control:
66
+ - private
67
+ x-served-by:
68
+ - www7.flickr.mud.yahoo.com
69
+ vary:
70
+ - Accept-Encoding
71
+ content-length:
72
+ - "13"
73
+ connection:
74
+ - close
75
+ content-type:
76
+ - application/json
77
+ body:
78
+ encoding: US-ASCII
79
+ string: "{\"stat\":\"ok\"}"
80
+ http_version:
81
+ recorded_at: Mon, 21 May 2012 18:56:46 GMT
82
+ recorded_with: VCR 2.1.1
@@ -0,0 +1,117 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.flickr.com/services/upload
6
+ body:
7
+ encoding: ASCII-8BIT
8
+ string: "#<Faraday::CompositeReadIO:0x007fd779bec230>"
9
+ headers:
10
+ Authorization:
11
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="29af0c5c702a1defdbfac2db7f62c3b5", oauth_signature="42Pek%2B%2B%2FAKzNDaNC%2FxnK0t2nPIM%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626606", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
12
+ Content-Type:
13
+ - multipart/form-data;boundary=-----------RubyMultipartPost
14
+ Content-Length:
15
+ - "47169"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message:
20
+ headers:
21
+ date:
22
+ - Mon, 21 May 2012 18:56:48 GMT
23
+ p3p:
24
+ - 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"
25
+ connection:
26
+ - close
27
+ content-length:
28
+ - "111"
29
+ cache-control:
30
+ - private
31
+ x-served-by:
32
+ - www170.flickr.mud.yahoo.com
33
+ vary:
34
+ - Accept-Encoding
35
+ content-type:
36
+ - text/xml; charset=utf-8
37
+ body:
38
+ encoding: US-ASCII
39
+ string: |
40
+ <?xml version="1.0" encoding="utf-8" ?>
41
+ <rsp stat="ok">
42
+ <ticketid>67099213-72157629834843072</ticketid>
43
+ </rsp>
44
+
45
+ http_version:
46
+ recorded_at: Mon, 21 May 2012 18:57:07 GMT
47
+ - request:
48
+ method: get
49
+ uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.upload.checkTickets&tickets=67099213-72157629834843072
50
+ body:
51
+ encoding: US-ASCII
52
+ string: ""
53
+ headers:
54
+ Authorization:
55
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="7f100817343ed0285cd9b8b17e1d8156", oauth_signature="NmmdLuLFi1sUWf2iQscFJ0wdZis%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626627", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
56
+ response:
57
+ status:
58
+ code: 200
59
+ message:
60
+ headers:
61
+ date:
62
+ - Mon, 21 May 2012 18:57:08 GMT
63
+ p3p:
64
+ - 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"
65
+ cache-control:
66
+ - private
67
+ x-served-by:
68
+ - www171.flickr.mud.yahoo.com
69
+ vary:
70
+ - Accept-Encoding
71
+ content-length:
72
+ - "133"
73
+ connection:
74
+ - close
75
+ content-type:
76
+ - application/json
77
+ body:
78
+ encoding: ASCII-8BIT
79
+ string: "{\"uploader\":{\"ticket\":[{\"id\":\"67099213-72157629834843072\", \"complete\":1, \"photoid\":\"7243588772\", \"imported\":\"1337626626\"}]}, \"stat\":\"ok\"}"
80
+ http_version:
81
+ recorded_at: Mon, 21 May 2012 18:57:09 GMT
82
+ - request:
83
+ method: post
84
+ uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.delete&photo_id=7243588772
85
+ body:
86
+ encoding: US-ASCII
87
+ string: ""
88
+ headers:
89
+ Authorization:
90
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="14cc928cb761375beda5ac88858e5712", oauth_signature="vPNbKRyr5dOPVqE%2BAGC6QtnIv0I%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626629", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
91
+ response:
92
+ status:
93
+ code: 200
94
+ message:
95
+ headers:
96
+ date:
97
+ - Mon, 21 May 2012 18:57:12 GMT
98
+ p3p:
99
+ - 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"
100
+ cache-control:
101
+ - private
102
+ x-served-by:
103
+ - www172.flickr.mud.yahoo.com
104
+ vary:
105
+ - Accept-Encoding
106
+ content-length:
107
+ - "13"
108
+ connection:
109
+ - close
110
+ content-type:
111
+ - application/json
112
+ body:
113
+ encoding: US-ASCII
114
+ string: "{\"stat\":\"ok\"}"
115
+ http_version:
116
+ recorded_at: Mon, 21 May 2012 18:57:12 GMT
117
+ recorded_with: VCR 2.1.1
@@ -8,14 +8,14 @@ http_interactions:
8
8
  string: ""
9
9
  headers:
10
10
  Authorization:
11
- - OAuth oauth_consumer_key="", oauth_nonce="4c3de5b0161fab43b80f765fb785c479", oauth_signature="RHq%2FOO9vzjL4y4B9vw46XCvCyU4%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292004", oauth_token="", oauth_version="1.0"
11
+ - OAuth oauth_consumer_key="", oauth_nonce="a77c30c57ab3265218627125c062a732", oauth_signature="fnW2PixJBcq2HxyRuN01T7lQxWM%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626749", 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:04 GMT
18
+ - Mon, 21 May 2012 18:59:11 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
  access-control-allow-origin:
@@ -23,7 +23,7 @@ http_interactions:
23
23
  cache-control:
24
24
  - private
25
25
  x-served-by:
26
- - www181.flickr.mud.yahoo.com
26
+ - www12.flickr.mud.yahoo.com
27
27
  vary:
28
28
  - Accept-Encoding
29
29
  content-length:
@@ -36,16 +36,16 @@ http_interactions:
36
36
  encoding: ASCII-8BIT
37
37
  string: "{\"stat\":\"fail\", \"code\":100, \"message\":\"Invalid API Key (Key has invalid format)\"}"
38
38
  http_version:
39
- recorded_at: Thu, 17 May 2012 22:00:04 GMT
39
+ recorded_at: Mon, 21 May 2012 18:59:11 GMT
40
40
  - request:
41
41
  method: post
42
42
  uri: http://api.flickr.com/services/upload
43
43
  body:
44
44
  encoding: ASCII-8BIT
45
- string: "#<Faraday::CompositeReadIO:0x007fb6b4e0a890>"
45
+ string: "#<Faraday::CompositeReadIO:0x007fd779a44f18>"
46
46
  headers:
47
47
  Authorization:
48
- - OAuth oauth_consumer_key="", oauth_nonce="128a84c37049677eb2adc955e142c248", oauth_signature="rDmeEVe3%2BjW9BeJBXi9J9whin9c%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292004", oauth_token="", oauth_version="1.0"
48
+ - OAuth oauth_consumer_key="", oauth_nonce="71099b8313e216ab8ea3029f83bff4bd", oauth_signature="9yjhmmOK5h3sJ0hukW4Cvr%2FT1eE%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626751", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
49
49
  Content-Type:
50
50
  - multipart/form-data;boundary=-----------RubyMultipartPost
51
51
  Content-Length:
@@ -56,7 +56,7 @@ http_interactions:
56
56
  message:
57
57
  headers:
58
58
  date:
59
- - Thu, 17 May 2012 22:00:05 GMT
59
+ - Mon, 21 May 2012 18:59:13 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
  connection:
@@ -66,7 +66,7 @@ http_interactions:
66
66
  cache-control:
67
67
  - private
68
68
  x-served-by:
69
- - www125.flickr.mud.yahoo.com
69
+ - www136.flickr.mud.yahoo.com
70
70
  vary:
71
71
  - Accept-Encoding
72
72
  content-type:
@@ -80,5 +80,5 @@ http_interactions:
80
80
  </rsp>
81
81
 
82
82
  http_version:
83
- recorded_at: Thu, 17 May 2012 22:00:06 GMT
83
+ recorded_at: Mon, 21 May 2012 18:59:15 GMT
84
84
  recorded_with: VCR 2.1.1