flickrie 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/CHANGELOG.md +13 -0
- data/Gemfile +0 -4
- data/flickrie.gemspec +2 -2
- data/lib/flickrie/api_methods.rb +4 -1
- data/lib/flickrie/license.rb +6 -1
- data/lib/flickrie/location.rb +29 -12
- data/lib/flickrie/media/exif.rb +3 -1
- data/lib/flickrie/media/note.rb +24 -13
- data/lib/flickrie/media/tag.rb +9 -6
- data/lib/flickrie/media/visibility.rb +8 -5
- data/lib/flickrie/media.rb +54 -55
- data/lib/flickrie/media_count.rb +8 -6
- data/lib/flickrie/photo.rb +48 -7
- data/lib/flickrie/set.rb +47 -31
- data/lib/flickrie/ticket.rb +8 -5
- data/lib/flickrie/user.rb +67 -25
- data/lib/flickrie/version.rb +1 -1
- data/lib/flickrie/video.rb +19 -11
- data/spec/custom_matchers.rb +51 -0
- data/spec/flickrie/api_methods_spec.rb +112 -31
- data/spec/flickrie/error_spec.rb +2 -4
- data/spec/flickrie/instance_spec.rb +11 -11
- data/spec/flickrie/media_spec.rb +74 -53
- data/spec/flickrie/photo_spec.rb +4 -5
- data/spec/flickrie/set_spec.rb +23 -12
- data/spec/flickrie/upload_client_spec.rb +3 -0
- data/spec/flickrie/user_spec.rb +31 -5
- data/spec/flickrie/video_spec.rb +13 -13
- data/spec/flickrie_spec.rb +15 -0
- data/spec/spec_helper.rb +13 -50
- data/spec/vcr_cassettes/api_methods/people/get_media_from_user.yml +108 -0
- data/spec/vcr_cassettes/api_methods/people/get_public_media_from_user.yml +108 -0
- data/spec/vcr_cassettes/api_methods/photos/add_and_remove_tags.yml +528 -0
- data/spec/vcr_cassettes/api_methods/photos/get_context.yml +108 -0
- data/spec/vcr_cassettes/api_methods/photos/get_counts.yml +108 -0
- data/spec/vcr_cassettes/api_methods/photos/get_exif.yml +73 -0
- data/spec/vcr_cassettes/api_methods/photos/get_favorites.yml +73 -0
- data/spec/vcr_cassettes/api_methods/photos/get_from_contacts.yml +73 -0
- data/spec/vcr_cassettes/api_methods/photos/get_info.yml +108 -0
- data/spec/vcr_cassettes/api_methods/photos/get_public_from_user_contacts.yml +73 -0
- data/spec/vcr_cassettes/api_methods/photos/get_sizes.yml +73 -0
- data/spec/vcr_cassettes/api_methods/photos/search.yml +108 -0
- data/spec/vcr_cassettes/api_methods/photosets/get_media.yml +108 -0
- data/spec/vcr_cassettes/api_methods/{replace.yml → upload/replace.yml} +16 -16
- data/spec/vcr_cassettes/api_methods/upload/upload.yml +82 -0
- data/spec/vcr_cassettes/api_methods/upload/upload_asynchronously.yml +117 -0
- data/spec/vcr_cassettes/error/{a_request_was_made_and_failed.yml → a_request_was_made_and_failed/be_raised.yml} +9 -9
- data/spec/vcr_cassettes/error/a_request_was_made_and_failed/have_code_attribute_present.yml +84 -0
- data/spec/vcr_cassettes/{api_methods/upload_and_delete.yml → flickrie/a_new_credential_is_filled_in/reset_the_client.yml} +113 -32
- data/spec/vcr_cassettes/instance/client_is_already_initialized/be_able_to_call_API_methods.yml +152 -0
- data/spec/vcr_cassettes/license/{get.yml → get/have_all_attributes_correctly_set.yml} +4 -4
- data/spec/vcr_cassettes/media/{from_contacts.yml → from_contacts/have_all_attributes_correctly_set.yml} +8 -8
- data/spec/vcr_cassettes/media/{from_set.yml → from_set/have_all_attributes_correctly_set.yml} +6 -6
- data/spec/vcr_cassettes/media/{from_user.yml → from_user/have_all_attributes_correctly_set.yml} +6 -6
- data/spec/vcr_cassettes/media/{get_context.yml → get_context/have_all_attributes_correctly_set.yml} +6 -6
- data/spec/vcr_cassettes/media/{get_exif.yml → get_exif/get_exif_correctly.yml} +8 -8
- data/spec/vcr_cassettes/media/get_info/have_all_attributes_correctly_set.yml +108 -0
- data/spec/vcr_cassettes/media/{public_from_user.yml → public_from_user/have_all_attributes_correctly_set.yml} +6 -6
- data/spec/vcr_cassettes/media/{search.yml → search/have_all_attributes_correctly_set.yml} +6 -6
- data/spec/vcr_cassettes/media_count/{get.yml → get/have_correctly_set_all_attributes.yml} +9 -9
- data/spec/vcr_cassettes/o_auth/{incorrect_credentials.yml → incorrect_credentials/raise_exceptions.yml} +42 -42
- data/spec/vcr_cassettes/photo/get_info/have_all_attributes_correctly_set.yml +38 -0
- data/spec/vcr_cassettes/photo/{get_sizes.yml → get_sizes/have_attributes_correctly_set.yml} +12 -12
- data/spec/vcr_cassettes/photo/{search.yml → search/have_all_sizes_available.yml} +6 -6
- data/spec/vcr_cassettes/set/{from_user.yml → from_user/have_all_attributes_correctly_set.yml} +18 -18
- data/spec/vcr_cassettes/set/{get_info.yml → get_info/have_all_attributes_correctly_set.yml} +36 -36
- data/spec/vcr_cassettes/upload_client/content_type/pass_the_content_type.yml +117 -0
- data/spec/vcr_cassettes/upload_client/invalid_credentials/raise_errors.yml +276 -0
- data/spec/vcr_cassettes/user/{find_by_username_or_email.yml → find_by_username_or_email/have_all_attributes_correctly_set.yml} +9 -9
- data/spec/vcr_cassettes/user/get_info/have_all_attributes_correctly_set.yml +73 -0
- data/spec/vcr_cassettes/video/get_info/have_all_attributes_correctly_set.yml +38 -0
- data/spec/vcr_cassettes/video/{get_sizes.yml → get_sizes/have_all_attributes_correctly_set.yml} +12 -12
- metadata +111 -74
- data/spec/vcr_cassettes/api_methods/asynchronous_upload.yml +0 -362
- data/spec/vcr_cassettes/api_methods/tag_manipulation.yml +0 -178
- data/spec/vcr_cassettes/instance/calling_api_methods.yml +0 -231
- data/spec/vcr_cassettes/media/get_info.yml +0 -108
- data/spec/vcr_cassettes/photo/get_info.yml +0 -38
- data/spec/vcr_cassettes/upload_client/content_type.yml +0 -117
- data/spec/vcr_cassettes/upload_client/invalid_credentials.yml +0 -208
- data/spec/vcr_cassettes/user/get_info.yml +0 -73
- data/spec/vcr_cassettes/video/get_info.yml +0 -38
@@ -0,0 +1,528 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.getInfo&photo_id=6946979188
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
Authorization:
|
11
|
+
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="181b8084c3d606db2940a4f38f45fdea", oauth_signature="CjCyijtHp91UczjNWnR%2Fhubrto8%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626683", 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:58:05 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
|
+
- www120.flickr.mud.yahoo.com
|
25
|
+
vary:
|
26
|
+
- Accept-Encoding
|
27
|
+
content-length:
|
28
|
+
- "843"
|
29
|
+
connection:
|
30
|
+
- close
|
31
|
+
content-type:
|
32
|
+
- application/json
|
33
|
+
body:
|
34
|
+
encoding: ASCII-8BIT
|
35
|
+
string: "{\"photo\":{\"id\":\"6946979188\", \"secret\":\"25bb44852b\", \"server\":\"7049\", \"farm\":8, \"dateuploaded\":\"1334832745\", \"isfavorite\":0, \"license\":\"0\", \"safety_level\":\"0\", \"rotation\":90, \"owner\":{\"nsid\":\"67131352@N04\", \"username\":\"Janko Marohni\\u0107\", \"realname\":\"Janko Marohni\\u0107\", \"location\":\"Zagreb, Croatia\", \"iconserver\":\"5464\", \"iconfarm\":6}, \"title\":{\"_content\":\"IMG_0796\"}, \"description\":{\"_content\":\"Test\"}, \"visibility\":{\"ispublic\":1, \"isfriend\":0, \"isfamily\":0}, \"dates\":{\"posted\":\"1334832745\", \"taken\":\"2011-03-20 17:00:05\", \"takengranularity\":\"0\", \"lastupdate\":\"1337445586\"}, \"permissions\":{\"permcomment\":3, \"permaddmeta\":2}, \"views\":\"5\", \"editability\":{\"cancomment\":1, \"canaddmeta\":1}, \"publiceditability\":{\"cancomment\":1, \"canaddmeta\":0}, \"usage\":{\"candownload\":1, \"canblog\":1, \"canprint\":1, \"canshare\":0}, \"comments\":{\"_content\":\"1\"}, \"notes\":{\"note\":[{\"id\":\"72157629487842968\", \"author\":\"67131352@N04\", \"authorname\":\"Janko Marohni\\u0107\", \"x\":\"316\", \"y\":\"0\", \"w\":\"59\", \"h\":\"50\", \"_content\":\"Test\"}]}, \"people\":{\"haspeople\":0}, \"tags\":{\"tag\":[{\"id\":\"67099213-6946979188-89662\", \"author\":\"67131352@N04\", \"raw\":\"luka\", \"_content\":\"luka\", \"machine_tag\":0}]}, \"location\":{\"latitude\":45.807258, \"longitude\":15.967599, \"accuracy\":\"11\", \"context\":\"0\", \"locality\":{\"_content\":\"Zagreb\", \"place_id\":\"00j4IylZV7scWik\", \"woeid\":\"851128\"}, \"county\":{\"_content\":\"Zagreb\", \"place_id\":\"306dHrhQV7o6jm.ZUQ\", \"woeid\":\"15022257\"}, \"region\":{\"_content\":\"Grad Zagreb\", \"place_id\":\"Js1DU.pTUrpBCIKhVw\", \"woeid\":\"20070170\"}, \"country\":{\"_content\":\"Croatia\", \"place_id\":\"FunRCI5TUb6a6soTyw\", \"woeid\":\"23424843\"}, \"place_id\":\"00j4IylZV7scWik\", \"woeid\":\"851128\"}, \"geoperms\":{\"ispublic\":1, \"iscontact\":0, \"isfriend\":0, \"isfamily\":0}, \"urls\":{\"url\":[{\"type\":\"photopage\", \"_content\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/\"}]}, \"media\":\"photo\"}, \"stat\":\"ok\"}"
|
36
|
+
http_version:
|
37
|
+
recorded_at: Mon, 21 May 2012 18:58:05 GMT
|
38
|
+
- request:
|
39
|
+
method: post
|
40
|
+
uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.addTags&photo_id=6946979188&tags=janko
|
41
|
+
body:
|
42
|
+
encoding: US-ASCII
|
43
|
+
string: ""
|
44
|
+
headers:
|
45
|
+
Authorization:
|
46
|
+
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="0163bef2d5a293d87b1b816e248fdca0", oauth_signature="q2Scz3N%2BzANuG0%2Br611K1CrsjwA%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626685", 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:58:07 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
|
+
- www45.flickr.mud.yahoo.com
|
60
|
+
vary:
|
61
|
+
- Accept-Encoding
|
62
|
+
content-length:
|
63
|
+
- "13"
|
64
|
+
connection:
|
65
|
+
- close
|
66
|
+
content-type:
|
67
|
+
- application/json
|
68
|
+
body:
|
69
|
+
encoding: US-ASCII
|
70
|
+
string: "{\"stat\":\"ok\"}"
|
71
|
+
http_version:
|
72
|
+
recorded_at: Mon, 21 May 2012 18:58:07 GMT
|
73
|
+
- request:
|
74
|
+
method: get
|
75
|
+
uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.getInfo&photo_id=6946979188
|
76
|
+
body:
|
77
|
+
encoding: US-ASCII
|
78
|
+
string: ""
|
79
|
+
headers:
|
80
|
+
Authorization:
|
81
|
+
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="12896ec17978d64196f5e48a59b85552", oauth_signature="tbUMDdj2Fax%2Bby7jLJN0im3cVNY%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626687", 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:58: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
|
+
- www197.flickr.mud.yahoo.com
|
95
|
+
vary:
|
96
|
+
- Accept-Encoding
|
97
|
+
content-length:
|
98
|
+
- "866"
|
99
|
+
connection:
|
100
|
+
- close
|
101
|
+
content-type:
|
102
|
+
- application/json
|
103
|
+
body:
|
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\":\"1337626687\"}, \"permissions\":{\"permcomment\":3, \"permaddmeta\":2}, \"views\":\"5\", \"editability\":{\"cancomment\":1, \"canaddmeta\":1}, \"publiceditability\":{\"cancomment\":1, \"canaddmeta\":0}, \"usage\":{\"candownload\":1, \"canblog\":1, \"canprint\":1, \"canshare\":0}, \"comments\":{\"_content\":\"1\"}, \"notes\":{\"note\":[{\"id\":\"72157629487842968\", \"author\":\"67131352@N04\", \"authorname\":\"Janko Marohni\\u0107\", \"x\":\"316\", \"y\":\"0\", \"w\":\"59\", \"h\":\"50\", \"_content\":\"Test\"}]}, \"people\":{\"haspeople\":0}, \"tags\":{\"tag\":[{\"id\":\"67099213-6946979188-89662\", \"author\":\"67131352@N04\", \"raw\":\"luka\", \"_content\":\"luka\", \"machine_tag\":0}, {\"id\":\"67099213-6946979188-257458\", \"author\":\"67131352@N04\", \"raw\":\"janko\", \"_content\":\"janko\", \"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
|
+
http_version:
|
107
|
+
recorded_at: Mon, 21 May 2012 18:58:09 GMT
|
108
|
+
- request:
|
109
|
+
method: post
|
110
|
+
uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.removeTag&tag_id=67099213-6946979188-257458
|
111
|
+
body:
|
112
|
+
encoding: US-ASCII
|
113
|
+
string: ""
|
114
|
+
headers:
|
115
|
+
Authorization:
|
116
|
+
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="9bfdba142f274ab4891938c7a69bc605", oauth_signature="A6Gkr2zW0KT%2BRkudkk3MMaLyTIY%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626689", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
|
117
|
+
response:
|
118
|
+
status:
|
119
|
+
code: 200
|
120
|
+
message:
|
121
|
+
headers:
|
122
|
+
date:
|
123
|
+
- Mon, 21 May 2012 18:58:11 GMT
|
124
|
+
p3p:
|
125
|
+
- 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"
|
126
|
+
cache-control:
|
127
|
+
- private
|
128
|
+
x-served-by:
|
129
|
+
- www214.flickr.mud.yahoo.com
|
130
|
+
vary:
|
131
|
+
- Accept-Encoding
|
132
|
+
content-length:
|
133
|
+
- "13"
|
134
|
+
connection:
|
135
|
+
- close
|
136
|
+
content-type:
|
137
|
+
- application/json
|
138
|
+
body:
|
139
|
+
encoding: US-ASCII
|
140
|
+
string: "{\"stat\":\"ok\"}"
|
141
|
+
http_version:
|
142
|
+
recorded_at: Mon, 21 May 2012 18:58:12 GMT
|
143
|
+
- request:
|
144
|
+
method: get
|
145
|
+
uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.getInfo&photo_id=6946979188
|
146
|
+
body:
|
147
|
+
encoding: US-ASCII
|
148
|
+
string: ""
|
149
|
+
headers:
|
150
|
+
Authorization:
|
151
|
+
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="d085eda80c74c2b44376f6f30c7960bd", oauth_signature="FBZyM9NQ3JHaNJ9qBGLO5PQ9GfI%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626692", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
|
152
|
+
response:
|
153
|
+
status:
|
154
|
+
code: 200
|
155
|
+
message:
|
156
|
+
headers:
|
157
|
+
date:
|
158
|
+
- Mon, 21 May 2012 18:58:13 GMT
|
159
|
+
p3p:
|
160
|
+
- 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"
|
161
|
+
cache-control:
|
162
|
+
- private
|
163
|
+
x-served-by:
|
164
|
+
- www16.flickr.mud.yahoo.com
|
165
|
+
vary:
|
166
|
+
- Accept-Encoding
|
167
|
+
content-length:
|
168
|
+
- "844"
|
169
|
+
connection:
|
170
|
+
- close
|
171
|
+
content-type:
|
172
|
+
- application/json
|
173
|
+
body:
|
174
|
+
encoding: ASCII-8BIT
|
175
|
+
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\":\"1337626692\"}, \"permissions\":{\"permcomment\":3, \"permaddmeta\":2}, \"views\":\"5\", \"editability\":{\"cancomment\":1, \"canaddmeta\":1}, \"publiceditability\":{\"cancomment\":1, \"canaddmeta\":0}, \"usage\":{\"candownload\":1, \"canblog\":1, \"canprint\":1, \"canshare\":0}, \"comments\":{\"_content\":\"1\"}, \"notes\":{\"note\":[{\"id\":\"72157629487842968\", \"author\":\"67131352@N04\", \"authorname\":\"Janko Marohni\\u0107\", \"x\":\"316\", \"y\":\"0\", \"w\":\"59\", \"h\":\"50\", \"_content\":\"Test\"}]}, \"people\":{\"haspeople\":0}, \"tags\":{\"tag\":[{\"id\":\"67099213-6946979188-89662\", \"author\":\"67131352@N04\", \"raw\":\"luka\", \"_content\":\"luka\", \"machine_tag\":0}]}, \"location\":{\"latitude\":45.807258, \"longitude\":15.967599, \"accuracy\":\"11\", \"context\":\"0\", \"locality\":{\"_content\":\"Zagreb\", \"place_id\":\"00j4IylZV7scWik\", \"woeid\":\"851128\"}, \"county\":{\"_content\":\"Zagreb\", \"place_id\":\"306dHrhQV7o6jm.ZUQ\", \"woeid\":\"15022257\"}, \"region\":{\"_content\":\"Grad Zagreb\", \"place_id\":\"Js1DU.pTUrpBCIKhVw\", \"woeid\":\"20070170\"}, \"country\":{\"_content\":\"Croatia\", \"place_id\":\"FunRCI5TUb6a6soTyw\", \"woeid\":\"23424843\"}, \"place_id\":\"00j4IylZV7scWik\", \"woeid\":\"851128\"}, \"geoperms\":{\"ispublic\":1, \"iscontact\":0, \"isfriend\":0, \"isfamily\":0}, \"urls\":{\"url\":[{\"type\":\"photopage\", \"_content\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/\"}]}, \"media\":\"photo\"}, \"stat\":\"ok\"}"
|
176
|
+
http_version:
|
177
|
+
recorded_at: Mon, 21 May 2012 18:58:14 GMT
|
178
|
+
- request:
|
179
|
+
method: get
|
180
|
+
uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.getInfo&photo_id=6946979188
|
181
|
+
body:
|
182
|
+
encoding: US-ASCII
|
183
|
+
string: ""
|
184
|
+
headers:
|
185
|
+
Authorization:
|
186
|
+
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="6f8fe42a3f2187cdd1c3857652a09284", oauth_signature="WkOeKmL08lx7L9wMjg0Dfj8Ecwo%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626694", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
|
187
|
+
response:
|
188
|
+
status:
|
189
|
+
code: 200
|
190
|
+
message:
|
191
|
+
headers:
|
192
|
+
date:
|
193
|
+
- Mon, 21 May 2012 18:58:15 GMT
|
194
|
+
p3p:
|
195
|
+
- 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"
|
196
|
+
cache-control:
|
197
|
+
- private
|
198
|
+
x-served-by:
|
199
|
+
- www24.flickr.mud.yahoo.com
|
200
|
+
vary:
|
201
|
+
- Accept-Encoding
|
202
|
+
content-length:
|
203
|
+
- "844"
|
204
|
+
connection:
|
205
|
+
- close
|
206
|
+
content-type:
|
207
|
+
- application/json
|
208
|
+
body:
|
209
|
+
encoding: ASCII-8BIT
|
210
|
+
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\":\"1337626692\"}, \"permissions\":{\"permcomment\":3, \"permaddmeta\":2}, \"views\":\"5\", \"editability\":{\"cancomment\":1, \"canaddmeta\":1}, \"publiceditability\":{\"cancomment\":1, \"canaddmeta\":0}, \"usage\":{\"candownload\":1, \"canblog\":1, \"canprint\":1, \"canshare\":0}, \"comments\":{\"_content\":\"1\"}, \"notes\":{\"note\":[{\"id\":\"72157629487842968\", \"author\":\"67131352@N04\", \"authorname\":\"Janko Marohni\\u0107\", \"x\":\"316\", \"y\":\"0\", \"w\":\"59\", \"h\":\"50\", \"_content\":\"Test\"}]}, \"people\":{\"haspeople\":0}, \"tags\":{\"tag\":[{\"id\":\"67099213-6946979188-89662\", \"author\":\"67131352@N04\", \"raw\":\"luka\", \"_content\":\"luka\", \"machine_tag\":0}]}, \"location\":{\"latitude\":45.807258, \"longitude\":15.967599, \"accuracy\":\"11\", \"context\":\"0\", \"locality\":{\"_content\":\"Zagreb\", \"place_id\":\"00j4IylZV7scWik\", \"woeid\":\"851128\"}, \"county\":{\"_content\":\"Zagreb\", \"place_id\":\"306dHrhQV7o6jm.ZUQ\", \"woeid\":\"15022257\"}, \"region\":{\"_content\":\"Grad Zagreb\", \"place_id\":\"Js1DU.pTUrpBCIKhVw\", \"woeid\":\"20070170\"}, \"country\":{\"_content\":\"Croatia\", \"place_id\":\"FunRCI5TUb6a6soTyw\", \"woeid\":\"23424843\"}, \"place_id\":\"00j4IylZV7scWik\", \"woeid\":\"851128\"}, \"geoperms\":{\"ispublic\":1, \"iscontact\":0, \"isfriend\":0, \"isfamily\":0}, \"urls\":{\"url\":[{\"type\":\"photopage\", \"_content\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/\"}]}, \"media\":\"photo\"}, \"stat\":\"ok\"}"
|
211
|
+
http_version:
|
212
|
+
recorded_at: Mon, 21 May 2012 18:58:15 GMT
|
213
|
+
- request:
|
214
|
+
method: post
|
215
|
+
uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.addTags&photo_id=6946979188&tags=janko
|
216
|
+
body:
|
217
|
+
encoding: US-ASCII
|
218
|
+
string: ""
|
219
|
+
headers:
|
220
|
+
Authorization:
|
221
|
+
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="9d98095699f6b60a8743119ccd8d0cbc", oauth_signature="sVJbuH0Lh%2Bpsf3NbopifmMzXYGo%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626695", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
|
222
|
+
response:
|
223
|
+
status:
|
224
|
+
code: 200
|
225
|
+
message:
|
226
|
+
headers:
|
227
|
+
date:
|
228
|
+
- Mon, 21 May 2012 18:58:16 GMT
|
229
|
+
p3p:
|
230
|
+
- 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"
|
231
|
+
cache-control:
|
232
|
+
- private
|
233
|
+
x-served-by:
|
234
|
+
- www75.flickr.mud.yahoo.com
|
235
|
+
vary:
|
236
|
+
- Accept-Encoding
|
237
|
+
content-length:
|
238
|
+
- "13"
|
239
|
+
connection:
|
240
|
+
- close
|
241
|
+
content-type:
|
242
|
+
- application/json
|
243
|
+
body:
|
244
|
+
encoding: US-ASCII
|
245
|
+
string: "{\"stat\":\"ok\"}"
|
246
|
+
http_version:
|
247
|
+
recorded_at: Mon, 21 May 2012 18:58:16 GMT
|
248
|
+
- request:
|
249
|
+
method: get
|
250
|
+
uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.getInfo&photo_id=6946979188
|
251
|
+
body:
|
252
|
+
encoding: US-ASCII
|
253
|
+
string: ""
|
254
|
+
headers:
|
255
|
+
Authorization:
|
256
|
+
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="4e9c5c350226fa68cdd2b68f803eb02e", oauth_signature="0boRmhDlIJR1wC4fchjXQCzwOEc%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626696", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
|
257
|
+
response:
|
258
|
+
status:
|
259
|
+
code: 200
|
260
|
+
message:
|
261
|
+
headers:
|
262
|
+
date:
|
263
|
+
- Mon, 21 May 2012 18:58:18 GMT
|
264
|
+
p3p:
|
265
|
+
- 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"
|
266
|
+
cache-control:
|
267
|
+
- private
|
268
|
+
x-served-by:
|
269
|
+
- www229.flickr.mud.yahoo.com
|
270
|
+
vary:
|
271
|
+
- Accept-Encoding
|
272
|
+
content-length:
|
273
|
+
- "865"
|
274
|
+
connection:
|
275
|
+
- close
|
276
|
+
content-type:
|
277
|
+
- application/json
|
278
|
+
body:
|
279
|
+
encoding: ASCII-8BIT
|
280
|
+
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\":\"1337626696\"}, \"permissions\":{\"permcomment\":3, \"permaddmeta\":2}, \"views\":\"5\", \"editability\":{\"cancomment\":1, \"canaddmeta\":1}, \"publiceditability\":{\"cancomment\":1, \"canaddmeta\":0}, \"usage\":{\"candownload\":1, \"canblog\":1, \"canprint\":1, \"canshare\":0}, \"comments\":{\"_content\":\"1\"}, \"notes\":{\"note\":[{\"id\":\"72157629487842968\", \"author\":\"67131352@N04\", \"authorname\":\"Janko Marohni\\u0107\", \"x\":\"316\", \"y\":\"0\", \"w\":\"59\", \"h\":\"50\", \"_content\":\"Test\"}]}, \"people\":{\"haspeople\":0}, \"tags\":{\"tag\":[{\"id\":\"67099213-6946979188-89662\", \"author\":\"67131352@N04\", \"raw\":\"luka\", \"_content\":\"luka\", \"machine_tag\":0}, {\"id\":\"67099213-6946979188-257458\", \"author\":\"67131352@N04\", \"raw\":\"janko\", \"_content\":\"janko\", \"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\"}"
|
281
|
+
http_version:
|
282
|
+
recorded_at: Mon, 21 May 2012 18:58:18 GMT
|
283
|
+
- request:
|
284
|
+
method: post
|
285
|
+
uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.removeTag&tag_id=67099213-6946979188-257458
|
286
|
+
body:
|
287
|
+
encoding: US-ASCII
|
288
|
+
string: ""
|
289
|
+
headers:
|
290
|
+
Authorization:
|
291
|
+
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="c46a66fd7fd6e4c38dcb53327acae0cc", oauth_signature="2ysGa%2FZ57jpp3QbrfoNtpAwXXqE%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626698", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
|
292
|
+
response:
|
293
|
+
status:
|
294
|
+
code: 200
|
295
|
+
message:
|
296
|
+
headers:
|
297
|
+
date:
|
298
|
+
- Mon, 21 May 2012 18:58:19 GMT
|
299
|
+
p3p:
|
300
|
+
- 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"
|
301
|
+
cache-control:
|
302
|
+
- private
|
303
|
+
x-served-by:
|
304
|
+
- www23.flickr.mud.yahoo.com
|
305
|
+
vary:
|
306
|
+
- Accept-Encoding
|
307
|
+
content-length:
|
308
|
+
- "13"
|
309
|
+
connection:
|
310
|
+
- close
|
311
|
+
content-type:
|
312
|
+
- application/json
|
313
|
+
body:
|
314
|
+
encoding: US-ASCII
|
315
|
+
string: "{\"stat\":\"ok\"}"
|
316
|
+
http_version:
|
317
|
+
recorded_at: Mon, 21 May 2012 18:58:19 GMT
|
318
|
+
- request:
|
319
|
+
method: get
|
320
|
+
uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.getInfo&photo_id=6946979188
|
321
|
+
body:
|
322
|
+
encoding: US-ASCII
|
323
|
+
string: ""
|
324
|
+
headers:
|
325
|
+
Authorization:
|
326
|
+
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="8a32609ff6d93d633e5acee57d5e67db", oauth_signature="Q%2Bxs6KVYAiHPUe2Yrk62wsZrYQk%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626699", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
|
327
|
+
response:
|
328
|
+
status:
|
329
|
+
code: 200
|
330
|
+
message:
|
331
|
+
headers:
|
332
|
+
date:
|
333
|
+
- Mon, 21 May 2012 18:58:20 GMT
|
334
|
+
p3p:
|
335
|
+
- 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"
|
336
|
+
cache-control:
|
337
|
+
- private
|
338
|
+
x-served-by:
|
339
|
+
- www99.flickr.mud.yahoo.com
|
340
|
+
vary:
|
341
|
+
- Accept-Encoding
|
342
|
+
content-length:
|
343
|
+
- "844"
|
344
|
+
connection:
|
345
|
+
- close
|
346
|
+
content-type:
|
347
|
+
- application/json
|
348
|
+
body:
|
349
|
+
encoding: ASCII-8BIT
|
350
|
+
string: "{\"photo\":{\"id\":\"6946979188\", \"secret\":\"25bb44852b\", \"server\":\"7049\", \"farm\":8, \"dateuploaded\":\"1334832745\", \"isfavorite\":0, \"license\":\"0\", \"safety_level\":\"0\", \"rotation\":90, \"owner\":{\"nsid\":\"67131352@N04\", \"username\":\"Janko Marohni\\u0107\", \"realname\":\"Janko Marohni\\u0107\", \"location\":\"Zagreb, Croatia\", \"iconserver\":\"5464\", \"iconfarm\":6}, \"title\":{\"_content\":\"IMG_0796\"}, \"description\":{\"_content\":\"Test\"}, \"visibility\":{\"ispublic\":1, \"isfriend\":0, \"isfamily\":0}, \"dates\":{\"posted\":\"1334832745\", \"taken\":\"2011-03-20 17:00:05\", \"takengranularity\":\"0\", \"lastupdate\":\"1337626699\"}, \"permissions\":{\"permcomment\":3, \"permaddmeta\":2}, \"views\":\"5\", \"editability\":{\"cancomment\":1, \"canaddmeta\":1}, \"publiceditability\":{\"cancomment\":1, \"canaddmeta\":0}, \"usage\":{\"candownload\":1, \"canblog\":1, \"canprint\":1, \"canshare\":0}, \"comments\":{\"_content\":\"1\"}, \"notes\":{\"note\":[{\"id\":\"72157629487842968\", \"author\":\"67131352@N04\", \"authorname\":\"Janko Marohni\\u0107\", \"x\":\"316\", \"y\":\"0\", \"w\":\"59\", \"h\":\"50\", \"_content\":\"Test\"}]}, \"people\":{\"haspeople\":0}, \"tags\":{\"tag\":[{\"id\":\"67099213-6946979188-89662\", \"author\":\"67131352@N04\", \"raw\":\"luka\", \"_content\":\"luka\", \"machine_tag\":0}]}, \"location\":{\"latitude\":45.807258, \"longitude\":15.967599, \"accuracy\":\"11\", \"context\":\"0\", \"locality\":{\"_content\":\"Zagreb\", \"place_id\":\"00j4IylZV7scWik\", \"woeid\":\"851128\"}, \"county\":{\"_content\":\"Zagreb\", \"place_id\":\"306dHrhQV7o6jm.ZUQ\", \"woeid\":\"15022257\"}, \"region\":{\"_content\":\"Grad Zagreb\", \"place_id\":\"Js1DU.pTUrpBCIKhVw\", \"woeid\":\"20070170\"}, \"country\":{\"_content\":\"Croatia\", \"place_id\":\"FunRCI5TUb6a6soTyw\", \"woeid\":\"23424843\"}, \"place_id\":\"00j4IylZV7scWik\", \"woeid\":\"851128\"}, \"geoperms\":{\"ispublic\":1, \"iscontact\":0, \"isfriend\":0, \"isfamily\":0}, \"urls\":{\"url\":[{\"type\":\"photopage\", \"_content\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/\"}]}, \"media\":\"photo\"}, \"stat\":\"ok\"}"
|
351
|
+
http_version:
|
352
|
+
recorded_at: Mon, 21 May 2012 18:58:21 GMT
|
353
|
+
- request:
|
354
|
+
method: get
|
355
|
+
uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.getInfo&photo_id=7093038981
|
356
|
+
body:
|
357
|
+
encoding: US-ASCII
|
358
|
+
string: ""
|
359
|
+
headers:
|
360
|
+
Authorization:
|
361
|
+
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="63494ab0ece0094d690aae337ca76de3", oauth_signature="ywUCL8gA6wbQeGb6N4IoI24rhxE%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626701", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
|
362
|
+
response:
|
363
|
+
status:
|
364
|
+
code: 200
|
365
|
+
message:
|
366
|
+
headers:
|
367
|
+
date:
|
368
|
+
- Mon, 21 May 2012 18:58:22 GMT
|
369
|
+
p3p:
|
370
|
+
- 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"
|
371
|
+
cache-control:
|
372
|
+
- private
|
373
|
+
x-served-by:
|
374
|
+
- www227.flickr.mud.yahoo.com
|
375
|
+
vary:
|
376
|
+
- Accept-Encoding
|
377
|
+
content-length:
|
378
|
+
- "859"
|
379
|
+
connection:
|
380
|
+
- close
|
381
|
+
content-type:
|
382
|
+
- application/json
|
383
|
+
body:
|
384
|
+
encoding: ASCII-8BIT
|
385
|
+
string: "{\"photo\":{\"id\":\"7093038981\", \"secret\":\"9a616b9f6e\", \"server\":\"5457\", \"farm\":6, \"dateuploaded\":\"1334832295\", \"isfavorite\":0, \"license\":\"0\", \"safety_level\":\"0\", \"rotation\":0, \"owner\":{\"nsid\":\"67131352@N04\", \"username\":\"Janko Marohni\\u0107\", \"realname\":\"Janko Marohni\\u0107\", \"location\":\"Zagreb, Croatia\", \"iconserver\":\"5464\", \"iconfarm\":6}, \"title\":{\"_content\":\"5 meter backflip\"}, \"description\":{\"_content\":\"Description\"}, \"visibility\":{\"ispublic\":1, \"isfriend\":0, \"isfamily\":0}, \"dates\":{\"posted\":\"1334832295\", \"taken\":\"2012-04-19 03:44:55\", \"takengranularity\":\"0\", \"lastupdate\":\"1337445589\"}, \"permissions\":{\"permcomment\":3, \"permaddmeta\":2}, \"views\":\"1\", \"editability\":{\"cancomment\":1, \"canaddmeta\":1}, \"publiceditability\":{\"cancomment\":1, \"canaddmeta\":0}, \"usage\":{\"candownload\":1, \"canblog\":1, \"canprint\":1, \"canshare\":0}, \"comments\":{\"_content\":\"1\"}, \"notes\":{\"note\":[]}, \"people\":{\"haspeople\":0}, \"tags\":{\"tag\":[{\"id\":\"67099213-7093038981-5987\", \"author\":\"67131352@N04\", \"raw\":\"Tag\", \"_content\":\"tag\", \"machine_tag\":0}]}, \"location\":{\"latitude\":45.809537, \"longitude\":15.970344, \"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\\/7093038981\\/\"}]}, \"media\":\"video\", \"video\":{\"ready\":1, \"failed\":0, \"pending\":0, \"duration\":\"16\", \"width\":\"352\", \"height\":\"288\"}}, \"stat\":\"ok\"}"
|
386
|
+
http_version:
|
387
|
+
recorded_at: Mon, 21 May 2012 18:58:22 GMT
|
388
|
+
- request:
|
389
|
+
method: post
|
390
|
+
uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.addTags&photo_id=7093038981&tags=janko
|
391
|
+
body:
|
392
|
+
encoding: US-ASCII
|
393
|
+
string: ""
|
394
|
+
headers:
|
395
|
+
Authorization:
|
396
|
+
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="c30795123847c36d336bf2c8d7664356", oauth_signature="AqsGFyDT0qsZasNXzLZABykvzBo%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626702", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
|
397
|
+
response:
|
398
|
+
status:
|
399
|
+
code: 200
|
400
|
+
message:
|
401
|
+
headers:
|
402
|
+
date:
|
403
|
+
- Mon, 21 May 2012 18:58:24 GMT
|
404
|
+
p3p:
|
405
|
+
- 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"
|
406
|
+
cache-control:
|
407
|
+
- private
|
408
|
+
x-served-by:
|
409
|
+
- www225.flickr.mud.yahoo.com
|
410
|
+
vary:
|
411
|
+
- Accept-Encoding
|
412
|
+
content-length:
|
413
|
+
- "13"
|
414
|
+
connection:
|
415
|
+
- close
|
416
|
+
content-type:
|
417
|
+
- application/json
|
418
|
+
body:
|
419
|
+
encoding: US-ASCII
|
420
|
+
string: "{\"stat\":\"ok\"}"
|
421
|
+
http_version:
|
422
|
+
recorded_at: Mon, 21 May 2012 18:58:24 GMT
|
423
|
+
- request:
|
424
|
+
method: get
|
425
|
+
uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.getInfo&photo_id=7093038981
|
426
|
+
body:
|
427
|
+
encoding: US-ASCII
|
428
|
+
string: ""
|
429
|
+
headers:
|
430
|
+
Authorization:
|
431
|
+
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="044ed02a2d4be1af75b1899787d2c553", oauth_signature="LPwgTdWM9Y4QMEQqs%2FmSZoKFCpo%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626704", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
|
432
|
+
response:
|
433
|
+
status:
|
434
|
+
code: 200
|
435
|
+
message:
|
436
|
+
headers:
|
437
|
+
date:
|
438
|
+
- Mon, 21 May 2012 18:58:26 GMT
|
439
|
+
p3p:
|
440
|
+
- 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"
|
441
|
+
cache-control:
|
442
|
+
- private
|
443
|
+
x-served-by:
|
444
|
+
- www30.flickr.mud.yahoo.com
|
445
|
+
vary:
|
446
|
+
- Accept-Encoding
|
447
|
+
content-length:
|
448
|
+
- "877"
|
449
|
+
connection:
|
450
|
+
- close
|
451
|
+
content-type:
|
452
|
+
- application/json
|
453
|
+
body:
|
454
|
+
encoding: ASCII-8BIT
|
455
|
+
string: "{\"photo\":{\"id\":\"7093038981\", \"secret\":\"9a616b9f6e\", \"server\":\"5457\", \"farm\":6, \"dateuploaded\":\"1334832295\", \"isfavorite\":0, \"license\":\"0\", \"safety_level\":\"0\", \"rotation\":0, \"owner\":{\"nsid\":\"67131352@N04\", \"username\":\"Janko Marohni\\u0107\", \"realname\":\"Janko Marohni\\u0107\", \"location\":\"Zagreb, Croatia\", \"iconserver\":\"5464\", \"iconfarm\":6}, \"title\":{\"_content\":\"5 meter backflip\"}, \"description\":{\"_content\":\"Description\"}, \"visibility\":{\"ispublic\":1, \"isfriend\":0, \"isfamily\":0}, \"dates\":{\"posted\":\"1334832295\", \"taken\":\"2012-04-19 03:44:55\", \"takengranularity\":\"0\", \"lastupdate\":\"1337626704\"}, \"permissions\":{\"permcomment\":3, \"permaddmeta\":2}, \"views\":\"1\", \"editability\":{\"cancomment\":1, \"canaddmeta\":1}, \"publiceditability\":{\"cancomment\":1, \"canaddmeta\":0}, \"usage\":{\"candownload\":1, \"canblog\":1, \"canprint\":1, \"canshare\":0}, \"comments\":{\"_content\":\"1\"}, \"notes\":{\"note\":[]}, \"people\":{\"haspeople\":0}, \"tags\":{\"tag\":[{\"id\":\"67099213-7093038981-5987\", \"author\":\"67131352@N04\", \"raw\":\"Tag\", \"_content\":\"tag\", \"machine_tag\":0}, {\"id\":\"67099213-7093038981-257458\", \"author\":\"67131352@N04\", \"raw\":\"janko\", \"_content\":\"janko\", \"machine_tag\":0}]}, \"location\":{\"latitude\":45.809537, \"longitude\":15.970344, \"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\\/7093038981\\/\"}]}, \"media\":\"video\", \"video\":{\"ready\":1, \"failed\":0, \"pending\":0, \"duration\":\"16\", \"width\":\"352\", \"height\":\"288\"}}, \"stat\":\"ok\"}"
|
456
|
+
http_version:
|
457
|
+
recorded_at: Mon, 21 May 2012 18:58:27 GMT
|
458
|
+
- request:
|
459
|
+
method: post
|
460
|
+
uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.removeTag&tag_id=67099213-7093038981-257458
|
461
|
+
body:
|
462
|
+
encoding: US-ASCII
|
463
|
+
string: ""
|
464
|
+
headers:
|
465
|
+
Authorization:
|
466
|
+
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="6be3e8514fa1b023f0dab39fd7bfb968", oauth_signature="uJYRALUL9WGuaTOtkQbmwxeQzC0%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626707", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
|
467
|
+
response:
|
468
|
+
status:
|
469
|
+
code: 200
|
470
|
+
message:
|
471
|
+
headers:
|
472
|
+
date:
|
473
|
+
- Mon, 21 May 2012 18:58:27 GMT
|
474
|
+
p3p:
|
475
|
+
- 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"
|
476
|
+
cache-control:
|
477
|
+
- private
|
478
|
+
x-served-by:
|
479
|
+
- www1.flickr.mud.yahoo.com
|
480
|
+
vary:
|
481
|
+
- Accept-Encoding
|
482
|
+
content-length:
|
483
|
+
- "13"
|
484
|
+
connection:
|
485
|
+
- close
|
486
|
+
content-type:
|
487
|
+
- application/json
|
488
|
+
body:
|
489
|
+
encoding: US-ASCII
|
490
|
+
string: "{\"stat\":\"ok\"}"
|
491
|
+
http_version:
|
492
|
+
recorded_at: Mon, 21 May 2012 18:58:27 GMT
|
493
|
+
- request:
|
494
|
+
method: get
|
495
|
+
uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.getInfo&photo_id=7093038981
|
496
|
+
body:
|
497
|
+
encoding: US-ASCII
|
498
|
+
string: ""
|
499
|
+
headers:
|
500
|
+
Authorization:
|
501
|
+
- OAuth oauth_consumer_key="API_KEY", oauth_nonce="c948d48e43e1bbf3fa674bf0349e34ac", oauth_signature="MSnHZfZnzdc%2BjZVMxYZzSX%2FHYZY%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626707", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
|
502
|
+
response:
|
503
|
+
status:
|
504
|
+
code: 200
|
505
|
+
message:
|
506
|
+
headers:
|
507
|
+
date:
|
508
|
+
- Mon, 21 May 2012 18:58:28 GMT
|
509
|
+
p3p:
|
510
|
+
- 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"
|
511
|
+
cache-control:
|
512
|
+
- private
|
513
|
+
x-served-by:
|
514
|
+
- www223.flickr.mud.yahoo.com
|
515
|
+
vary:
|
516
|
+
- Accept-Encoding
|
517
|
+
content-length:
|
518
|
+
- "858"
|
519
|
+
connection:
|
520
|
+
- close
|
521
|
+
content-type:
|
522
|
+
- application/json
|
523
|
+
body:
|
524
|
+
encoding: ASCII-8BIT
|
525
|
+
string: "{\"photo\":{\"id\":\"7093038981\", \"secret\":\"9a616b9f6e\", \"server\":\"5457\", \"farm\":6, \"dateuploaded\":\"1334832295\", \"isfavorite\":0, \"license\":\"0\", \"safety_level\":\"0\", \"rotation\":0, \"owner\":{\"nsid\":\"67131352@N04\", \"username\":\"Janko Marohni\\u0107\", \"realname\":\"Janko Marohni\\u0107\", \"location\":\"Zagreb, Croatia\", \"iconserver\":\"5464\", \"iconfarm\":6}, \"title\":{\"_content\":\"5 meter backflip\"}, \"description\":{\"_content\":\"Description\"}, \"visibility\":{\"ispublic\":1, \"isfriend\":0, \"isfamily\":0}, \"dates\":{\"posted\":\"1334832295\", \"taken\":\"2012-04-19 03:44:55\", \"takengranularity\":\"0\", \"lastupdate\":\"1337626707\"}, \"permissions\":{\"permcomment\":3, \"permaddmeta\":2}, \"views\":\"1\", \"editability\":{\"cancomment\":1, \"canaddmeta\":1}, \"publiceditability\":{\"cancomment\":1, \"canaddmeta\":0}, \"usage\":{\"candownload\":1, \"canblog\":1, \"canprint\":1, \"canshare\":0}, \"comments\":{\"_content\":\"1\"}, \"notes\":{\"note\":[]}, \"people\":{\"haspeople\":0}, \"tags\":{\"tag\":[{\"id\":\"67099213-7093038981-5987\", \"author\":\"67131352@N04\", \"raw\":\"Tag\", \"_content\":\"tag\", \"machine_tag\":0}]}, \"location\":{\"latitude\":45.809537, \"longitude\":15.970344, \"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\\/7093038981\\/\"}]}, \"media\":\"video\", \"video\":{\"ready\":1, \"failed\":0, \"pending\":0, \"duration\":\"16\", \"width\":\"352\", \"height\":\"288\"}}, \"stat\":\"ok\"}"
|
526
|
+
http_version:
|
527
|
+
recorded_at: Mon, 21 May 2012 18:58:28 GMT
|
528
|
+
recorded_with: VCR 2.1.1
|