flickrie 0.7.3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/.travis.yml +4 -0
- data/CHANGELOG.md +70 -30
- data/Gemfile +5 -4
- data/README.md +55 -53
- data/Rakefile +6 -9
- data/lib/flickrie/api_methods.rb +16 -3
- data/lib/flickrie/client.rb +11 -40
- data/lib/flickrie/instance.rb +0 -1
- data/lib/flickrie/location.rb +21 -18
- data/lib/flickrie/media.rb +5 -21
- data/lib/flickrie/media_count.rb +4 -0
- data/lib/flickrie/middleware.rb +71 -0
- data/lib/flickrie/oauth.rb +58 -49
- data/lib/flickrie/photo.rb +0 -2
- data/lib/flickrie/set.rb +0 -5
- data/lib/flickrie/upload_client.rb +45 -56
- data/lib/flickrie/user.rb +10 -10
- data/lib/flickrie/version.rb +1 -1
- data/lib/flickrie/video.rb +0 -2
- data/spec/files/photo.bla +0 -0
- data/spec/{api_methods_spec.rb → flickrie/api_methods_spec.rb} +14 -14
- data/spec/{error_spec.rb → flickrie/error_spec.rb} +1 -1
- data/spec/{instance_spec.rb → flickrie/instance_spec.rb} +2 -5
- data/spec/{license_spec.rb → flickrie/license_spec.rb} +1 -1
- data/spec/{location_spec.rb → flickrie/location_spec.rb} +12 -1
- data/spec/{media_count_spec.rb → flickrie/media_count_spec.rb} +7 -3
- data/spec/{media_spec.rb → flickrie/media_spec.rb} +25 -26
- data/spec/flickrie/oauth_spec.rb +25 -0
- data/spec/{photo_spec.rb → flickrie/photo_spec.rb} +1 -1
- data/spec/{set_spec.rb → flickrie/set_spec.rb} +2 -2
- data/spec/flickrie/upload_client_spec.rb +40 -0
- data/spec/flickrie/user_spec.rb +58 -0
- data/spec/{video_spec.rb → flickrie/video_spec.rb} +1 -1
- data/spec/spec_helper.rb +16 -13
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/api_methods/asynchronous_upload.yml +60 -95
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/api_methods/replace.yml +16 -16
- data/spec/{fixtures/vcr_cassettes/api_methods/tags.yml → vcr_cassettes/api_methods/tag_manipulation.yml} +24 -24
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/api_methods/upload_and_delete.yml +21 -21
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/error/a_request_was_made_and_failed.yml +9 -9
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/instance/calling_api_methods.yml +32 -32
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/license/get.yml +4 -4
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/from_contacts.yml +8 -8
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/from_set.yml +5 -5
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/from_user.yml +5 -5
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/get_context.yml +4 -4
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/get_exif.yml +8 -8
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/get_info.yml +18 -18
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/public_from_user.yml +5 -5
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/search.yml +5 -5
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media_count/get.yml +8 -8
- data/spec/vcr_cassettes/o_auth/incorrect_credentials.yml +249 -0
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/photo/get_info.yml +6 -6
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/photo/get_sizes.yml +12 -12
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/photo/search.yml +5 -5
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/set/from_user.yml +16 -16
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/set/get_info.yml +32 -32
- data/spec/vcr_cassettes/upload_client/content_type.yml +117 -0
- data/spec/vcr_cassettes/upload_client/invalid_credentials.yml +208 -0
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/user/find_by_username_or_email.yml +8 -8
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/user/get_info.yml +8 -8
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/video/get_info.yml +4 -4
- data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/video/get_sizes.yml +8 -8
- metadata +105 -99
- data/spec/fixtures/vcr_cassettes/api_methods/tag_manipulation.yml +0 -178
- data/spec/fixtures/vcr_cassettes/error/code.yml +0 -84
- data/spec/fixtures/vcr_cassettes/error/was_raised.yml +0 -84
- data/spec/fixtures/vcr_cassettes/o_auth/incorrect_credentials.yml +0 -167
- data/spec/oauth_spec.rb +0 -22
- data/spec/user_spec.rb +0 -53
@@ -8,20 +8,20 @@ http_interactions:
|
|
8
8
|
string: ""
|
9
9
|
headers:
|
10
10
|
Authorization:
|
11
|
-
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="
|
11
|
+
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="ccc3f738fefd326c4349d0e7f68764b9", oauth_signature="7XXzebqW3bSVWHuPsLyXSmZgRQ0%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292028", oauth_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
|
-
-
|
18
|
+
- Thu, 17 May 2012 22:00:29 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
|
-
-
|
24
|
+
- www10.flickr.mud.yahoo.com
|
25
25
|
vary:
|
26
26
|
- Accept-Encoding
|
27
27
|
content-length:
|
@@ -34,5 +34,5 @@ http_interactions:
|
|
34
34
|
encoding: ASCII-8BIT
|
35
35
|
string: "{\"count\":{\"_content\":98}, \"prevphoto\":{\"id\":\"6946978706\", \"secret\":\"b38270bbd6\", \"server\":\"7216\", \"farm\":8, \"title\":\"IMG_0795\", \"url\":\"\\/photos\\/67131352@N04\\/6946978706\\/in\\/photostream\\/\", \"thumb\":\"http:\\/\\/farm8.staticflickr.com\\/7216\\/6946978706_b38270bbd6_s.jpg\", \"media\":\"photo\", \"license\":\"0\"}, \"nextphoto\":{\"id\":\"6946979704\", \"secret\":\"74513ff732\", \"server\":\"7234\", \"farm\":8, \"title\":\"IMG_0797\", \"url\":\"\\/photos\\/67131352@N04\\/6946979704\\/in\\/photostream\\/\", \"thumb\":\"http:\\/\\/farm8.staticflickr.com\\/7234\\/6946979704_74513ff732_s.jpg\", \"media\":\"photo\", \"license\":\"0\"}, \"stat\":\"ok\"}"
|
36
36
|
http_version:
|
37
|
-
recorded_at:
|
37
|
+
recorded_at: Thu, 17 May 2012 22:00:29 GMT
|
38
38
|
recorded_with: VCR 2.1.1
|
@@ -8,20 +8,20 @@ http_interactions:
|
|
8
8
|
string: ""
|
9
9
|
headers:
|
10
10
|
Authorization:
|
11
|
-
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="
|
11
|
+
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="7710e4767ad62f844d42c046741aef68", oauth_signature="kQhzQkuv0fugg%2BTM4Vxf%2BVgcGLo%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292029", oauth_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
|
-
-
|
18
|
+
- Thu, 17 May 2012 22:00:29 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
|
-
-
|
24
|
+
- www194.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: "{\"photo\":{\"id\":\"6946979188\", \"secret\":\"25bb44852b\", \"server\":\"7049\", \"farm\":8, \"camera\":\"Canon PowerShot G12\", \"exif\":[{\"tagspace\":\"IFD0\", \"tagspaceid\":0, \"tag\":\"Make\", \"label\":\"Make\", \"raw\":{\"_content\":\"Canon\"}}, {\"tagspace\":\"IFD0\", \"tagspaceid\":0, \"tag\":\"Model\", \"label\":\"Model\", \"raw\":{\"_content\":\"Canon PowerShot G12\"}}, {\"tagspace\":\"IFD0\", \"tagspaceid\":0, \"tag\":\"Orientation\", \"label\":\"Orientation\", \"raw\":{\"_content\":\"Rotate 90 CW\"}}, {\"tagspace\":\"IFD0\", \"tagspaceid\":0, \"tag\":\"XResolution\", \"label\":\"X-Resolution\", \"raw\":{\"_content\":\"180\"}, \"clean\":{\"_content\":\"180 dpi\"}}, {\"tagspace\":\"IFD0\", \"tagspaceid\":0, \"tag\":\"YResolution\", \"label\":\"Y-Resolution\", \"raw\":{\"_content\":\"180\"}, \"clean\":{\"_content\":\"180 dpi\"}}, {\"tagspace\":\"IFD0\", \"tagspaceid\":0, \"tag\":\"ResolutionUnit\", \"label\":\"Resolution Unit\", \"raw\":{\"_content\":\"inches\"}}, {\"tagspace\":\"IFD0\", \"tagspaceid\":0, \"tag\":\"ModifyDate\", \"label\":\"Date and Time (Modified)\", \"raw\":{\"_content\":\"2011:03:20 17:00:05\"}}, {\"tagspace\":\"IFD0\", \"tagspaceid\":0, \"tag\":\"YCbCrPositioning\", \"label\":\"YCbCr Positioning\", \"raw\":{\"_content\":\"Co-sited\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"ExposureTime\", \"label\":\"Exposure\", \"raw\":{\"_content\":\"1\\/60\"}, \"clean\":{\"_content\":\"0.017 sec (1\\/60)\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"FNumber\", \"label\":\"Aperture\", \"raw\":{\"_content\":\"2.8\"}, \"clean\":{\"_content\":\"f\\/2.8\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"ISO\", \"label\":\"ISO Speed\", \"raw\":{\"_content\":\"3200\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"ExifVersion\", \"label\":\"Exif Version\", \"raw\":{\"_content\":\"0230\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"DateTimeOriginal\", \"label\":\"Date and Time (Original)\", \"raw\":{\"_content\":\"2011:03:20 17:00:05\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"CreateDate\", \"label\":\"Date and Time (Digitized)\", \"raw\":{\"_content\":\"2011:03:20 17:00:05\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"ComponentsConfiguration\", \"label\":\"Components Configuration\", \"raw\":{\"_content\":\"Y, Cb, Cr, -\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"CompressedBitsPerPixel\", \"label\":\"Compressed Bits Per Pixel\", \"raw\":{\"_content\":\"3\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"ExposureCompensation\", \"label\":\"Exposure Bias\", \"raw\":{\"_content\":\"0\"}, \"clean\":{\"_content\":\"0 EV\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"MaxApertureValue\", \"label\":\"Max Aperture Value\", \"raw\":{\"_content\":\"2.8\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"MeteringMode\", \"label\":\"Metering Mode\", \"raw\":{\"_content\":\"Multi-segment\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"Flash\", \"label\":\"Flash\", \"raw\":{\"_content\":\"On, Red-eye reduction\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"FocalLength\", \"label\":\"Focal Length\", \"raw\":{\"_content\":\"6.1 mm\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"FlashpixVersion\", \"label\":\"Flashpix Version\", \"raw\":{\"_content\":\"0100\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"ColorSpace\", \"label\":\"Color Space\", \"raw\":{\"_content\":\"sRGB\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"FocalPlaneXResolution\", \"label\":\"Focal Plane X-Resolution\", \"raw\":{\"_content\":\"12493.15068\"}, \"clean\":{\"_content\":\"12493.15068 dpi\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"FocalPlaneYResolution\", \"label\":\"Focal Plane Y-Resolution\", \"raw\":{\"_content\":\"12493.15068\"}, \"clean\":{\"_content\":\"12493.15068 dpi\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"FocalPlaneResolutionUnit\", \"label\":\"Focal Plane Resolution Unit\", \"raw\":{\"_content\":\"inches\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"SensingMethod\", \"label\":\"Sensing Method\", \"raw\":{\"_content\":\"One-chip color area\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"FileSource\", \"label\":\"File Source\", \"raw\":{\"_content\":\"Digital Camera\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"CustomRendered\", \"label\":\"Custom Rendered\", \"raw\":{\"_content\":\"Normal\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"ExposureMode\", \"label\":\"Exposure Mode\", \"raw\":{\"_content\":\"Auto\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"WhiteBalance\", \"label\":\"White Balance\", \"raw\":{\"_content\":\"Auto\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"DigitalZoomRatio\", \"label\":\"Digital Zoom Ratio\", \"raw\":{\"_content\":\"1\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"SceneCaptureType\", \"label\":\"Scene Capture Type\", \"raw\":{\"_content\":\"Standard\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"MacroMode\", \"label\":\"Macro Mode\", \"raw\":{\"_content\":\"Normal\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"SelfTimer\", \"label\":\"Self Timer\", \"raw\":{\"_content\":\"Off\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"Quality\", \"label\":\"Quality\", \"raw\":{\"_content\":\"Fine\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"CanonFlashMode\", \"label\":\"Canon Flash Mode\", \"raw\":{\"_content\":\"Red-eye reduction (On)\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"ContinuousDrive\", \"label\":\"Continuous Drive\", \"raw\":{\"_content\":\"Single\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FocusMode\", \"label\":\"Focus Mode\", \"raw\":{\"_content\":\"Single\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"RecordMode\", \"label\":\"Record Mode\", \"raw\":{\"_content\":\"JPEG\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"CanonImageSize\", \"label\":\"Canon Image Size\", \"raw\":{\"_content\":\"Large\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"EasyMode\", \"label\":\"Easy Mode\", \"raw\":{\"_content\":\"Manual\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"DigitalZoom\", \"label\":\"Digital Zoom\", \"raw\":{\"_content\":\"None\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"Contrast\", \"label\":\"Contrast\", \"raw\":{\"_content\":\"Normal\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"Saturation\", \"label\":\"Saturation\", \"raw\":{\"_content\":\"Normal\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"Sharpness\", \"label\":\"Sharpness\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"CameraISO\", \"label\":\"Camera ISO\", \"raw\":{\"_content\":\"3200\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"MeteringMode\", \"label\":\"Metering Mode\", \"raw\":{\"_content\":\"Evaluative\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FocusRange\", \"label\":\"Focus Range\", \"raw\":{\"_content\":\"Auto\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AFPoint\", \"label\":\"AFPoint\", \"raw\":{\"_content\":\"Manual AF point selection\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"CanonExposureMode\", \"label\":\"Canon Exposure Mode\", \"raw\":{\"_content\":\"Program AE\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"LensType\", \"label\":\"Lens Type\", \"raw\":{\"_content\":\"Unknown (-1)\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"LongFocal\", \"label\":\"Long Focal\", \"raw\":{\"_content\":\"30.5 mm\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"ShortFocal\", \"label\":\"Short Focal\", \"raw\":{\"_content\":\"6.1 mm\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FocalUnits\", \"label\":\"Focal Units\", \"raw\":{\"_content\":\"1000\\/mm\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"MaxAperture\", \"label\":\"Max Aperture\", \"raw\":{\"_content\":\"2.8\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"MinAperture\", \"label\":\"Min Aperture\", \"raw\":{\"_content\":\"8\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FlashActivity\", \"label\":\"Flash Activity\", \"raw\":{\"_content\":\"1\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FlashBits\", \"label\":\"Flash Bits\", \"raw\":{\"_content\":\"E-TTL, Built-in\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FocusContinuous\", \"label\":\"Focus Continuous\", \"raw\":{\"_content\":\"Continuous\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AESetting\", \"label\":\"AESetting\", \"raw\":{\"_content\":\"Normal AE\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"ImageStabilization\", \"label\":\"Image Stabilization\", \"raw\":{\"_content\":\"On\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"ZoomSourceWidth\", \"label\":\"Zoom Source Width\", \"raw\":{\"_content\":\"3648\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"ZoomTargetWidth\", \"label\":\"Zoom Target Width\", \"raw\":{\"_content\":\"3648\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"SpotMeteringMode\", \"label\":\"Spot Metering Mode\", \"raw\":{\"_content\":\"Center\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"ManualFlashOutput\", \"label\":\"Manual Flash Output\", \"raw\":{\"_content\":\"n\\/a\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FocalType\", \"label\":\"Focal Type\", \"raw\":{\"_content\":\"Zoom\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FocalPlaneXSize\", \"label\":\"Focal Plane XSize\", \"raw\":{\"_content\":\"7.59 mm\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FocalPlaneYSize\", \"label\":\"Focal Plane YSize\", \"raw\":{\"_content\":\"5.69 mm\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AutoISO\", \"label\":\"Auto ISO\", \"raw\":{\"_content\":\"100\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"BaseISO\", \"label\":\"Base ISO\", \"raw\":{\"_content\":\"3200\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"MeasuredEV\", \"label\":\"Measured EV\", \"raw\":{\"_content\":\"-2.78\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"TargetAperture\", \"label\":\"Target Aperture\", \"raw\":{\"_content\":\"2.8\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"TargetExposureTime\", \"label\":\"Target Exposure Time\", \"raw\":{\"_content\":\"1\\/60\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"WhiteBalance\", \"label\":\"White Balance\", \"raw\":{\"_content\":\"Auto\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"SlowShutter\", \"label\":\"Slow Shutter\", \"raw\":{\"_content\":\"Off\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"SequenceNumber\", \"label\":\"Sequence Number\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"OpticalZoomCode\", \"label\":\"Optical Zoom Code\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FlashGuideNumber\", \"label\":\"Flash Guide Number\", \"raw\":{\"_content\":\"2.25\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FlashExposureComp\", \"label\":\"Flash Exposure Comp\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AutoExposureBracketing\", \"label\":\"Auto Exposure Bracketing\", \"raw\":{\"_content\":\"Off\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AEBBracketValue\", \"label\":\"AEBBracket Value\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"ControlMode\", \"label\":\"Control Mode\", \"raw\":{\"_content\":\"Camera Local Control\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FocusDistanceUpper\", \"label\":\"Focus Distance Upper\", \"raw\":{\"_content\":\"0.97\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FocusDistanceLower\", \"label\":\"Focus Distance Lower\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"BulbDuration\", \"label\":\"Bulb Duration\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"CameraType\", \"label\":\"Camera Type\", \"raw\":{\"_content\":\"Compact\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AutoRotate\", \"label\":\"Auto Rotate\", \"raw\":{\"_content\":\"Rotate 90 CW\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"NDFilter\", \"label\":\"NDFilter\", \"raw\":{\"_content\":\"Off\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"SelfTimer2\", \"label\":\"Self Timer2\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FlashOutput\", \"label\":\"Flash Output\", \"raw\":{\"_content\":\"32\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"CanonImageType\", \"label\":\"Canon Image Type\", \"raw\":{\"_content\":\"IMG:PowerShot G12 JPEG\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"CanonFirmwareVersion\", \"label\":\"Canon Firmware Version\", \"raw\":{\"_content\":\"Firmware Version 1.00\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FileNumber\", \"label\":\"File Number\", \"raw\":{\"_content\":\"102-0796\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"CanonModelID\", \"label\":\"Canon Model ID\", \"raw\":{\"_content\":\"Unknown (0x2920000)\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AFMode\", \"label\":\"AFMode\", \"raw\":{\"_content\":\"Single-point AF\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"NumAFPoints\", \"label\":\"Num AFPoints\", \"raw\":{\"_content\":\"9\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"ValidAFPoints\", \"label\":\"Valid AFPoints\", \"raw\":{\"_content\":\"1\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"CanonImageWidth\", \"label\":\"Canon Image Width\", \"raw\":{\"_content\":\"3648\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"CanonImageHeight\", \"label\":\"Canon Image Height\", \"raw\":{\"_content\":\"2736\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AFImageWidth\", \"label\":\"AFImage Width\", \"raw\":{\"_content\":\"100\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AFImageHeight\", \"label\":\"AFImage Height\", \"raw\":{\"_content\":\"100\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AFAreaWidths\", \"label\":\"AFArea Widths\", \"raw\":{\"_content\":\"18 0 0 0 0 0 0 0 0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AFAreaHeights\", \"label\":\"AFArea Heights\", \"raw\":{\"_content\":\"18 0 0 0 0 0 0 0 0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AFAreaXPositions\", \"label\":\"AFArea XPositions\", \"raw\":{\"_content\":\"0 0 0 0 0 0 0 0 0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AFAreaYPositions\", \"label\":\"AFArea YPositions\", \"raw\":{\"_content\":\"0 0 0 0 0 0 0 0 0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AFPointsInFocus\", \"label\":\"AFPoints In Focus\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"PrimaryAFPoint\", \"label\":\"Primary AFPoint\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"ThumbnailImageValidArea\", \"label\":\"Thumbnail Image Valid Area\", \"raw\":{\"_content\":\"0 0 0 0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"DateStampMode\", \"label\":\"Date Stamp Mode\", \"raw\":{\"_content\":\"Off\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"MyColorMode\", \"label\":\"My Color Mode\", \"raw\":{\"_content\":\"Off\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FirmwareRevision\", \"label\":\"Firmware Revision\", \"raw\":{\"_content\":\"1.00 rev 5.00\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"Categories\", \"label\":\"Categories\", \"raw\":{\"_content\":\"(none)\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"ImageUniqueID\", \"label\":\"Image Unique ID\", \"raw\":{\"_content\":\"f424c0d5e5d9db1830e30a9883b97342\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"VRDOffset\", \"label\":\"VRDOffset\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"InteropIFD\", \"tagspaceid\":0, \"tag\":\"InteropIndex\", \"label\":\"Interop Index\", \"raw\":{\"_content\":\"R98 - DCF basic file (sRGB)\"}}, {\"tagspace\":\"InteropIFD\", \"tagspaceid\":0, \"tag\":\"InteropVersion\", \"label\":\"Interop Version\", \"raw\":{\"_content\":\"0100\"}}, {\"tagspace\":\"InteropIFD\", \"tagspaceid\":0, \"tag\":\"RelatedImageWidth\", \"label\":\"Related Image Width\", \"raw\":{\"_content\":\"3648\"}}, {\"tagspace\":\"InteropIFD\", \"tagspaceid\":0, \"tag\":\"RelatedImageHeight\", \"label\":\"Related Image Height\", \"raw\":{\"_content\":\"2736\"}}, {\"tagspace\":\"IFD1\", \"tagspaceid\":0, \"tag\":\"Compression\", \"label\":\"Compression\", \"raw\":{\"_content\":\"JPEG (old-style)\"}}, {\"tagspace\":\"IFD1\", \"tagspaceid\":0, \"tag\":\"ResolutionUnit\", \"label\":\"Resolution Unit\", \"raw\":{\"_content\":\"inches\"}}, {\"tagspace\":\"IFD1\", \"tagspaceid\":0, \"tag\":\"ThumbnailOffset\", \"label\":\"Thumbnail Offset\", \"raw\":{\"_content\":\"5120\"}}, {\"tagspace\":\"IFD1\", \"tagspaceid\":0, \"tag\":\"ThumbnailLength\", \"label\":\"Thumbnail Length\", \"raw\":{\"_content\":\"4873\"}}, {\"tagspace\":\"XMP-xmp\", \"tagspaceid\":0, \"tag\":\"Rating\", \"label\":\"Rating\", \"raw\":{\"_content\":\"0\"}}]}, \"stat\":\"ok\"}"
|
36
36
|
http_version:
|
37
|
-
recorded_at:
|
37
|
+
recorded_at: Thu, 17 May 2012 22:00:30 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.getExif&photo_id=6946979188
|
@@ -43,20 +43,20 @@ http_interactions:
|
|
43
43
|
string: ""
|
44
44
|
headers:
|
45
45
|
Authorization:
|
46
|
-
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="
|
46
|
+
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="f62a74a217c643c37251c6f37717dc13", oauth_signature="xznlVPVgaWjKhwv95ZJmrQ53gNs%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292030", oauth_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
|
-
-
|
53
|
+
- Thu, 17 May 2012 22:00:30 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
|
-
-
|
59
|
+
- www8.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: "{\"photo\":{\"id\":\"6946979188\", \"secret\":\"25bb44852b\", \"server\":\"7049\", \"farm\":8, \"camera\":\"Canon PowerShot G12\", \"exif\":[{\"tagspace\":\"IFD0\", \"tagspaceid\":0, \"tag\":\"Make\", \"label\":\"Make\", \"raw\":{\"_content\":\"Canon\"}}, {\"tagspace\":\"IFD0\", \"tagspaceid\":0, \"tag\":\"Model\", \"label\":\"Model\", \"raw\":{\"_content\":\"Canon PowerShot G12\"}}, {\"tagspace\":\"IFD0\", \"tagspaceid\":0, \"tag\":\"Orientation\", \"label\":\"Orientation\", \"raw\":{\"_content\":\"Rotate 90 CW\"}}, {\"tagspace\":\"IFD0\", \"tagspaceid\":0, \"tag\":\"XResolution\", \"label\":\"X-Resolution\", \"raw\":{\"_content\":\"180\"}, \"clean\":{\"_content\":\"180 dpi\"}}, {\"tagspace\":\"IFD0\", \"tagspaceid\":0, \"tag\":\"YResolution\", \"label\":\"Y-Resolution\", \"raw\":{\"_content\":\"180\"}, \"clean\":{\"_content\":\"180 dpi\"}}, {\"tagspace\":\"IFD0\", \"tagspaceid\":0, \"tag\":\"ResolutionUnit\", \"label\":\"Resolution Unit\", \"raw\":{\"_content\":\"inches\"}}, {\"tagspace\":\"IFD0\", \"tagspaceid\":0, \"tag\":\"ModifyDate\", \"label\":\"Date and Time (Modified)\", \"raw\":{\"_content\":\"2011:03:20 17:00:05\"}}, {\"tagspace\":\"IFD0\", \"tagspaceid\":0, \"tag\":\"YCbCrPositioning\", \"label\":\"YCbCr Positioning\", \"raw\":{\"_content\":\"Co-sited\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"ExposureTime\", \"label\":\"Exposure\", \"raw\":{\"_content\":\"1\\/60\"}, \"clean\":{\"_content\":\"0.017 sec (1\\/60)\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"FNumber\", \"label\":\"Aperture\", \"raw\":{\"_content\":\"2.8\"}, \"clean\":{\"_content\":\"f\\/2.8\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"ISO\", \"label\":\"ISO Speed\", \"raw\":{\"_content\":\"3200\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"ExifVersion\", \"label\":\"Exif Version\", \"raw\":{\"_content\":\"0230\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"DateTimeOriginal\", \"label\":\"Date and Time (Original)\", \"raw\":{\"_content\":\"2011:03:20 17:00:05\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"CreateDate\", \"label\":\"Date and Time (Digitized)\", \"raw\":{\"_content\":\"2011:03:20 17:00:05\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"ComponentsConfiguration\", \"label\":\"Components Configuration\", \"raw\":{\"_content\":\"Y, Cb, Cr, -\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"CompressedBitsPerPixel\", \"label\":\"Compressed Bits Per Pixel\", \"raw\":{\"_content\":\"3\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"ExposureCompensation\", \"label\":\"Exposure Bias\", \"raw\":{\"_content\":\"0\"}, \"clean\":{\"_content\":\"0 EV\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"MaxApertureValue\", \"label\":\"Max Aperture Value\", \"raw\":{\"_content\":\"2.8\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"MeteringMode\", \"label\":\"Metering Mode\", \"raw\":{\"_content\":\"Multi-segment\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"Flash\", \"label\":\"Flash\", \"raw\":{\"_content\":\"On, Red-eye reduction\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"FocalLength\", \"label\":\"Focal Length\", \"raw\":{\"_content\":\"6.1 mm\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"FlashpixVersion\", \"label\":\"Flashpix Version\", \"raw\":{\"_content\":\"0100\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"ColorSpace\", \"label\":\"Color Space\", \"raw\":{\"_content\":\"sRGB\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"FocalPlaneXResolution\", \"label\":\"Focal Plane X-Resolution\", \"raw\":{\"_content\":\"12493.15068\"}, \"clean\":{\"_content\":\"12493.15068 dpi\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"FocalPlaneYResolution\", \"label\":\"Focal Plane Y-Resolution\", \"raw\":{\"_content\":\"12493.15068\"}, \"clean\":{\"_content\":\"12493.15068 dpi\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"FocalPlaneResolutionUnit\", \"label\":\"Focal Plane Resolution Unit\", \"raw\":{\"_content\":\"inches\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"SensingMethod\", \"label\":\"Sensing Method\", \"raw\":{\"_content\":\"One-chip color area\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"FileSource\", \"label\":\"File Source\", \"raw\":{\"_content\":\"Digital Camera\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"CustomRendered\", \"label\":\"Custom Rendered\", \"raw\":{\"_content\":\"Normal\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"ExposureMode\", \"label\":\"Exposure Mode\", \"raw\":{\"_content\":\"Auto\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"WhiteBalance\", \"label\":\"White Balance\", \"raw\":{\"_content\":\"Auto\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"DigitalZoomRatio\", \"label\":\"Digital Zoom Ratio\", \"raw\":{\"_content\":\"1\"}}, {\"tagspace\":\"ExifIFD\", \"tagspaceid\":0, \"tag\":\"SceneCaptureType\", \"label\":\"Scene Capture Type\", \"raw\":{\"_content\":\"Standard\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"MacroMode\", \"label\":\"Macro Mode\", \"raw\":{\"_content\":\"Normal\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"SelfTimer\", \"label\":\"Self Timer\", \"raw\":{\"_content\":\"Off\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"Quality\", \"label\":\"Quality\", \"raw\":{\"_content\":\"Fine\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"CanonFlashMode\", \"label\":\"Canon Flash Mode\", \"raw\":{\"_content\":\"Red-eye reduction (On)\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"ContinuousDrive\", \"label\":\"Continuous Drive\", \"raw\":{\"_content\":\"Single\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FocusMode\", \"label\":\"Focus Mode\", \"raw\":{\"_content\":\"Single\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"RecordMode\", \"label\":\"Record Mode\", \"raw\":{\"_content\":\"JPEG\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"CanonImageSize\", \"label\":\"Canon Image Size\", \"raw\":{\"_content\":\"Large\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"EasyMode\", \"label\":\"Easy Mode\", \"raw\":{\"_content\":\"Manual\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"DigitalZoom\", \"label\":\"Digital Zoom\", \"raw\":{\"_content\":\"None\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"Contrast\", \"label\":\"Contrast\", \"raw\":{\"_content\":\"Normal\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"Saturation\", \"label\":\"Saturation\", \"raw\":{\"_content\":\"Normal\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"Sharpness\", \"label\":\"Sharpness\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"CameraISO\", \"label\":\"Camera ISO\", \"raw\":{\"_content\":\"3200\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"MeteringMode\", \"label\":\"Metering Mode\", \"raw\":{\"_content\":\"Evaluative\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FocusRange\", \"label\":\"Focus Range\", \"raw\":{\"_content\":\"Auto\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AFPoint\", \"label\":\"AFPoint\", \"raw\":{\"_content\":\"Manual AF point selection\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"CanonExposureMode\", \"label\":\"Canon Exposure Mode\", \"raw\":{\"_content\":\"Program AE\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"LensType\", \"label\":\"Lens Type\", \"raw\":{\"_content\":\"Unknown (-1)\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"LongFocal\", \"label\":\"Long Focal\", \"raw\":{\"_content\":\"30.5 mm\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"ShortFocal\", \"label\":\"Short Focal\", \"raw\":{\"_content\":\"6.1 mm\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FocalUnits\", \"label\":\"Focal Units\", \"raw\":{\"_content\":\"1000\\/mm\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"MaxAperture\", \"label\":\"Max Aperture\", \"raw\":{\"_content\":\"2.8\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"MinAperture\", \"label\":\"Min Aperture\", \"raw\":{\"_content\":\"8\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FlashActivity\", \"label\":\"Flash Activity\", \"raw\":{\"_content\":\"1\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FlashBits\", \"label\":\"Flash Bits\", \"raw\":{\"_content\":\"E-TTL, Built-in\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FocusContinuous\", \"label\":\"Focus Continuous\", \"raw\":{\"_content\":\"Continuous\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AESetting\", \"label\":\"AESetting\", \"raw\":{\"_content\":\"Normal AE\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"ImageStabilization\", \"label\":\"Image Stabilization\", \"raw\":{\"_content\":\"On\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"ZoomSourceWidth\", \"label\":\"Zoom Source Width\", \"raw\":{\"_content\":\"3648\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"ZoomTargetWidth\", \"label\":\"Zoom Target Width\", \"raw\":{\"_content\":\"3648\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"SpotMeteringMode\", \"label\":\"Spot Metering Mode\", \"raw\":{\"_content\":\"Center\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"ManualFlashOutput\", \"label\":\"Manual Flash Output\", \"raw\":{\"_content\":\"n\\/a\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FocalType\", \"label\":\"Focal Type\", \"raw\":{\"_content\":\"Zoom\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FocalPlaneXSize\", \"label\":\"Focal Plane XSize\", \"raw\":{\"_content\":\"7.59 mm\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FocalPlaneYSize\", \"label\":\"Focal Plane YSize\", \"raw\":{\"_content\":\"5.69 mm\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AutoISO\", \"label\":\"Auto ISO\", \"raw\":{\"_content\":\"100\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"BaseISO\", \"label\":\"Base ISO\", \"raw\":{\"_content\":\"3200\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"MeasuredEV\", \"label\":\"Measured EV\", \"raw\":{\"_content\":\"-2.78\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"TargetAperture\", \"label\":\"Target Aperture\", \"raw\":{\"_content\":\"2.8\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"TargetExposureTime\", \"label\":\"Target Exposure Time\", \"raw\":{\"_content\":\"1\\/60\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"WhiteBalance\", \"label\":\"White Balance\", \"raw\":{\"_content\":\"Auto\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"SlowShutter\", \"label\":\"Slow Shutter\", \"raw\":{\"_content\":\"Off\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"SequenceNumber\", \"label\":\"Sequence Number\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"OpticalZoomCode\", \"label\":\"Optical Zoom Code\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FlashGuideNumber\", \"label\":\"Flash Guide Number\", \"raw\":{\"_content\":\"2.25\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FlashExposureComp\", \"label\":\"Flash Exposure Comp\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AutoExposureBracketing\", \"label\":\"Auto Exposure Bracketing\", \"raw\":{\"_content\":\"Off\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AEBBracketValue\", \"label\":\"AEBBracket Value\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"ControlMode\", \"label\":\"Control Mode\", \"raw\":{\"_content\":\"Camera Local Control\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FocusDistanceUpper\", \"label\":\"Focus Distance Upper\", \"raw\":{\"_content\":\"0.97\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FocusDistanceLower\", \"label\":\"Focus Distance Lower\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"BulbDuration\", \"label\":\"Bulb Duration\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"CameraType\", \"label\":\"Camera Type\", \"raw\":{\"_content\":\"Compact\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AutoRotate\", \"label\":\"Auto Rotate\", \"raw\":{\"_content\":\"Rotate 90 CW\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"NDFilter\", \"label\":\"NDFilter\", \"raw\":{\"_content\":\"Off\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"SelfTimer2\", \"label\":\"Self Timer2\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FlashOutput\", \"label\":\"Flash Output\", \"raw\":{\"_content\":\"32\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"CanonImageType\", \"label\":\"Canon Image Type\", \"raw\":{\"_content\":\"IMG:PowerShot G12 JPEG\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"CanonFirmwareVersion\", \"label\":\"Canon Firmware Version\", \"raw\":{\"_content\":\"Firmware Version 1.00\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FileNumber\", \"label\":\"File Number\", \"raw\":{\"_content\":\"102-0796\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"CanonModelID\", \"label\":\"Canon Model ID\", \"raw\":{\"_content\":\"Unknown (0x2920000)\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AFMode\", \"label\":\"AFMode\", \"raw\":{\"_content\":\"Single-point AF\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"NumAFPoints\", \"label\":\"Num AFPoints\", \"raw\":{\"_content\":\"9\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"ValidAFPoints\", \"label\":\"Valid AFPoints\", \"raw\":{\"_content\":\"1\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"CanonImageWidth\", \"label\":\"Canon Image Width\", \"raw\":{\"_content\":\"3648\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"CanonImageHeight\", \"label\":\"Canon Image Height\", \"raw\":{\"_content\":\"2736\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AFImageWidth\", \"label\":\"AFImage Width\", \"raw\":{\"_content\":\"100\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AFImageHeight\", \"label\":\"AFImage Height\", \"raw\":{\"_content\":\"100\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AFAreaWidths\", \"label\":\"AFArea Widths\", \"raw\":{\"_content\":\"18 0 0 0 0 0 0 0 0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AFAreaHeights\", \"label\":\"AFArea Heights\", \"raw\":{\"_content\":\"18 0 0 0 0 0 0 0 0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AFAreaXPositions\", \"label\":\"AFArea XPositions\", \"raw\":{\"_content\":\"0 0 0 0 0 0 0 0 0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AFAreaYPositions\", \"label\":\"AFArea YPositions\", \"raw\":{\"_content\":\"0 0 0 0 0 0 0 0 0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"AFPointsInFocus\", \"label\":\"AFPoints In Focus\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"PrimaryAFPoint\", \"label\":\"Primary AFPoint\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"ThumbnailImageValidArea\", \"label\":\"Thumbnail Image Valid Area\", \"raw\":{\"_content\":\"0 0 0 0\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"DateStampMode\", \"label\":\"Date Stamp Mode\", \"raw\":{\"_content\":\"Off\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"MyColorMode\", \"label\":\"My Color Mode\", \"raw\":{\"_content\":\"Off\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"FirmwareRevision\", \"label\":\"Firmware Revision\", \"raw\":{\"_content\":\"1.00 rev 5.00\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"Categories\", \"label\":\"Categories\", \"raw\":{\"_content\":\"(none)\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"ImageUniqueID\", \"label\":\"Image Unique ID\", \"raw\":{\"_content\":\"f424c0d5e5d9db1830e30a9883b97342\"}}, {\"tagspace\":\"Canon\", \"tagspaceid\":0, \"tag\":\"VRDOffset\", \"label\":\"VRDOffset\", \"raw\":{\"_content\":\"0\"}}, {\"tagspace\":\"InteropIFD\", \"tagspaceid\":0, \"tag\":\"InteropIndex\", \"label\":\"Interop Index\", \"raw\":{\"_content\":\"R98 - DCF basic file (sRGB)\"}}, {\"tagspace\":\"InteropIFD\", \"tagspaceid\":0, \"tag\":\"InteropVersion\", \"label\":\"Interop Version\", \"raw\":{\"_content\":\"0100\"}}, {\"tagspace\":\"InteropIFD\", \"tagspaceid\":0, \"tag\":\"RelatedImageWidth\", \"label\":\"Related Image Width\", \"raw\":{\"_content\":\"3648\"}}, {\"tagspace\":\"InteropIFD\", \"tagspaceid\":0, \"tag\":\"RelatedImageHeight\", \"label\":\"Related Image Height\", \"raw\":{\"_content\":\"2736\"}}, {\"tagspace\":\"IFD1\", \"tagspaceid\":0, \"tag\":\"Compression\", \"label\":\"Compression\", \"raw\":{\"_content\":\"JPEG (old-style)\"}}, {\"tagspace\":\"IFD1\", \"tagspaceid\":0, \"tag\":\"ResolutionUnit\", \"label\":\"Resolution Unit\", \"raw\":{\"_content\":\"inches\"}}, {\"tagspace\":\"IFD1\", \"tagspaceid\":0, \"tag\":\"ThumbnailOffset\", \"label\":\"Thumbnail Offset\", \"raw\":{\"_content\":\"5120\"}}, {\"tagspace\":\"IFD1\", \"tagspaceid\":0, \"tag\":\"ThumbnailLength\", \"label\":\"Thumbnail Length\", \"raw\":{\"_content\":\"4873\"}}, {\"tagspace\":\"XMP-xmp\", \"tagspaceid\":0, \"tag\":\"Rating\", \"label\":\"Rating\", \"raw\":{\"_content\":\"0\"}}]}, \"stat\":\"ok\"}"
|
71
71
|
http_version:
|
72
|
-
recorded_at:
|
72
|
+
recorded_at: Thu, 17 May 2012 22:00:30 GMT
|
73
73
|
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="
|
11
|
+
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="9b3834a9f5fe5b19db67ebefa66e06be", oauth_signature="ZbXRFGpsNHDj1X8Zvx5spJ%2B8ffg%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292017", oauth_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
|
-
-
|
18
|
+
- Thu, 17 May 2012 22:00:18 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
|
-
-
|
24
|
+
- www23.flickr.mud.yahoo.com
|
25
25
|
vary:
|
26
26
|
- Accept-Encoding
|
27
27
|
content-length:
|
28
|
-
- "
|
28
|
+
- "822"
|
29
29
|
connection:
|
30
30
|
- close
|
31
31
|
content-type:
|
32
32
|
- application/json
|
33
33
|
body:
|
34
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\":\"
|
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\":\"1337292003\"}, \"views\":\"4\", \"editability\":{\"cancomment\":0, \"canaddmeta\":0}, \"publiceditability\":{\"cancomment\":1, \"canaddmeta\":0}, \"usage\":{\"candownload\":1, \"canblog\":0, \"canprint\":0, \"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
36
|
http_version:
|
37
|
-
recorded_at:
|
37
|
+
recorded_at: Thu, 17 May 2012 22:00:18 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.getInfo&photo_id=6946979188
|
@@ -43,33 +43,33 @@ http_interactions:
|
|
43
43
|
string: ""
|
44
44
|
headers:
|
45
45
|
Authorization:
|
46
|
-
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="
|
46
|
+
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="ce2f83b21efa5aa08393baa04341539b", oauth_signature="bl3RCCcOexKjdDnVe3ePBCI3o5I%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292018", oauth_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
|
-
-
|
53
|
+
- Thu, 17 May 2012 22:00:18 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
|
-
-
|
59
|
+
- www47.flickr.mud.yahoo.com
|
60
60
|
vary:
|
61
61
|
- Accept-Encoding
|
62
62
|
content-length:
|
63
|
-
- "
|
63
|
+
- "822"
|
64
64
|
connection:
|
65
65
|
- close
|
66
66
|
content-type:
|
67
67
|
- application/json
|
68
68
|
body:
|
69
69
|
encoding: ASCII-8BIT
|
70
|
-
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\":\"
|
70
|
+
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\":\"1337292003\"}, \"views\":\"4\", \"editability\":{\"cancomment\":0, \"canaddmeta\":0}, \"publiceditability\":{\"cancomment\":1, \"canaddmeta\":0}, \"usage\":{\"candownload\":1, \"canblog\":0, \"canprint\":0, \"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\"}"
|
71
71
|
http_version:
|
72
|
-
recorded_at:
|
72
|
+
recorded_at: Thu, 17 May 2012 22:00:18 GMT
|
73
73
|
- request:
|
74
74
|
method: get
|
75
75
|
uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.getInfo&photo_id=6946979188
|
@@ -78,31 +78,31 @@ http_interactions:
|
|
78
78
|
string: ""
|
79
79
|
headers:
|
80
80
|
Authorization:
|
81
|
-
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="
|
81
|
+
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="b3f95adf8fdd646688dea9e81037902c", oauth_signature="gaKSDUvcfrJFl%2BLjpPhWCaxxR8E%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292018", oauth_token="", oauth_version="1.0"
|
82
82
|
response:
|
83
83
|
status:
|
84
84
|
code: 200
|
85
85
|
message:
|
86
86
|
headers:
|
87
87
|
date:
|
88
|
-
-
|
88
|
+
- Thu, 17 May 2012 22:00:19 GMT
|
89
89
|
p3p:
|
90
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
91
|
cache-control:
|
92
92
|
- private
|
93
93
|
x-served-by:
|
94
|
-
-
|
94
|
+
- www136.flickr.mud.yahoo.com
|
95
95
|
vary:
|
96
96
|
- Accept-Encoding
|
97
97
|
content-length:
|
98
|
-
- "
|
98
|
+
- "822"
|
99
99
|
connection:
|
100
100
|
- close
|
101
101
|
content-type:
|
102
102
|
- application/json
|
103
103
|
body:
|
104
104
|
encoding: ASCII-8BIT
|
105
|
-
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\":\"
|
105
|
+
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\":\"1337292003\"}, \"views\":\"4\", \"editability\":{\"cancomment\":0, \"canaddmeta\":0}, \"publiceditability\":{\"cancomment\":1, \"canaddmeta\":0}, \"usage\":{\"candownload\":1, \"canblog\":0, \"canprint\":0, \"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\"}"
|
106
106
|
http_version:
|
107
|
-
recorded_at:
|
107
|
+
recorded_at: Thu, 17 May 2012 22:00:19 GMT
|
108
108
|
recorded_with: VCR 2.1.1
|