flickr_offline_gallery 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/.rspec +2 -0
- data/Gemfile +9 -0
- data/{LICENSE.txt → _LICENSE.txt} +0 -0
- data/bin/flickr_offline_gallery +2 -1
- data/erb/photo.html.erb +23 -2
- data/erb/photoset.html.erb +2 -1
- data/fixtures/vcr_cassettes/full_photo_sizes.yml +152 -0
- data/fixtures/vcr_cassettes/full_photo_sizes_with_janky_metadata.yml +147 -0
- data/fixtures/vcr_cassettes/image_downloads.yml +15096 -0
- data/fixtures/vcr_cassettes/init.yml +160 -0
- data/fixtures/vcr_cassettes/photo.yml +71 -0
- data/fixtures/vcr_cassettes/photo_sizes.yml +84 -0
- data/fixtures/vcr_cassettes/photo_with_janky_metadata.yml +70 -0
- data/fixtures/vcr_cassettes/photoset.yml +663 -0
- data/fixtures/vcr_cassettes/photset_downloader_spec.yml +1017 -0
- data/flickr_offline_gallery.gemspec +2 -1
- data/lib/flickr_offline_gallery/flickr_a_p_i.rb +23 -0
- data/lib/flickr_offline_gallery/gallery_generator.rb +26 -0
- data/lib/flickr_offline_gallery/path_manager.rb +37 -0
- data/lib/flickr_offline_gallery/photo.rb +28 -21
- data/lib/flickr_offline_gallery/photo_page.rb +23 -0
- data/lib/flickr_offline_gallery/photo_size.rb +9 -4
- data/lib/flickr_offline_gallery/photo_sizes.rb +11 -7
- data/lib/flickr_offline_gallery/photoset.rb +27 -6
- data/lib/flickr_offline_gallery/photoset_downloader.rb +21 -5
- data/lib/flickr_offline_gallery/photoset_index_page.rb +17 -0
- data/lib/flickr_offline_gallery/template_renderer.rb +42 -0
- data/lib/flickr_offline_gallery/verbose_puts.rb +8 -0
- data/lib/flickr_offline_gallery/version.rb +1 -1
- data/lib/flickr_offline_gallery.rb +7 -40
- data/spec/flickr_offline_gallery/gallery_generator_spec.rb +35 -0
- data/spec/flickr_offline_gallery/path_manager_spec.rb +34 -0
- data/spec/flickr_offline_gallery/photo_page_spec.rb +42 -0
- data/spec/flickr_offline_gallery/photo_size_spec.rb +32 -0
- data/spec/flickr_offline_gallery/photo_sizes_spec.rb +23 -0
- data/spec/flickr_offline_gallery/photo_spec.rb +81 -0
- data/spec/flickr_offline_gallery/photoset_downloader_spec.rb +27 -0
- data/spec/flickr_offline_gallery/photoset_spec.rb +35 -0
- data/spec/flickr_offline_gallery/template_renderer_spec.rb +51 -0
- data/spec/flickr_offline_gallery/verbose_puts_spec.rb +33 -0
- data/spec/spec_helper.rb +82 -0
- metadata +59 -5
@@ -0,0 +1,160 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.flickr.com/services/rest/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: method=flickr.reflection.getMethods&format=json&nojsoncallback=1
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- FlickRaw/0.9.8
|
16
|
+
Authorization:
|
17
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
18
|
+
oauth_nonce="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", oauth_signature="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
19
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397581538", oauth_token="",
|
20
|
+
oauth_version="1.0"
|
21
|
+
Content-Type:
|
22
|
+
- application/x-www-form-urlencoded
|
23
|
+
response:
|
24
|
+
status:
|
25
|
+
code: 200
|
26
|
+
message: OK
|
27
|
+
headers:
|
28
|
+
Date:
|
29
|
+
- Tue, 15 Apr 2014 17:05:39 GMT
|
30
|
+
P3p:
|
31
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
32
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
33
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
34
|
+
Cache-Control:
|
35
|
+
- private
|
36
|
+
X-Served-By:
|
37
|
+
- www321.flickr.bf1.yahoo.com
|
38
|
+
Vary:
|
39
|
+
- Accept-Encoding
|
40
|
+
Content-Length:
|
41
|
+
- '1432'
|
42
|
+
Content-Type:
|
43
|
+
- application/json
|
44
|
+
Age:
|
45
|
+
- '0'
|
46
|
+
Via:
|
47
|
+
- http/1.1 fts104.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
48
|
+
http/1.1 r08.ycpi.gq1.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
49
|
+
Server:
|
50
|
+
- ATS
|
51
|
+
Connection:
|
52
|
+
- keep-alive
|
53
|
+
body:
|
54
|
+
encoding: UTF-8
|
55
|
+
string: '{"methods":{"method":[{"_content":"flickr.activity.userComments"},
|
56
|
+
{"_content":"flickr.activity.userPhotos"}, {"_content":"flickr.auth.checkToken"},
|
57
|
+
{"_content":"flickr.auth.getFrob"}, {"_content":"flickr.auth.getFullToken"},
|
58
|
+
{"_content":"flickr.auth.getToken"}, {"_content":"flickr.auth.oauth.checkToken"},
|
59
|
+
{"_content":"flickr.auth.oauth.getAccessToken"}, {"_content":"flickr.blogs.getList"},
|
60
|
+
{"_content":"flickr.blogs.getServices"}, {"_content":"flickr.blogs.postPhoto"},
|
61
|
+
{"_content":"flickr.cameras.getBrandModels"}, {"_content":"flickr.cameras.getBrands"},
|
62
|
+
{"_content":"flickr.collections.getInfo"}, {"_content":"flickr.collections.getTree"},
|
63
|
+
{"_content":"flickr.commons.getInstitutions"}, {"_content":"flickr.contacts.getList"},
|
64
|
+
{"_content":"flickr.contacts.getListRecentlyUploaded"}, {"_content":"flickr.contacts.getPublicList"},
|
65
|
+
{"_content":"flickr.contacts.getTaggingSuggestions"}, {"_content":"flickr.favorites.add"},
|
66
|
+
{"_content":"flickr.favorites.getContext"}, {"_content":"flickr.favorites.getList"},
|
67
|
+
{"_content":"flickr.favorites.getPublicList"}, {"_content":"flickr.favorites.remove"},
|
68
|
+
{"_content":"flickr.galleries.addPhoto"}, {"_content":"flickr.galleries.create"},
|
69
|
+
{"_content":"flickr.galleries.editMeta"}, {"_content":"flickr.galleries.editPhoto"},
|
70
|
+
{"_content":"flickr.galleries.editPhotos"}, {"_content":"flickr.galleries.getInfo"},
|
71
|
+
{"_content":"flickr.galleries.getList"}, {"_content":"flickr.galleries.getListForPhoto"},
|
72
|
+
{"_content":"flickr.galleries.getPhotos"}, {"_content":"flickr.groups.browse"},
|
73
|
+
{"_content":"flickr.groups.discuss.replies.add"}, {"_content":"flickr.groups.discuss.replies.delete"},
|
74
|
+
{"_content":"flickr.groups.discuss.replies.edit"}, {"_content":"flickr.groups.discuss.replies.getInfo"},
|
75
|
+
{"_content":"flickr.groups.discuss.replies.getList"}, {"_content":"flickr.groups.discuss.topics.add"},
|
76
|
+
{"_content":"flickr.groups.discuss.topics.getInfo"}, {"_content":"flickr.groups.discuss.topics.getList"},
|
77
|
+
{"_content":"flickr.groups.getInfo"}, {"_content":"flickr.groups.join"}, {"_content":"flickr.groups.joinRequest"},
|
78
|
+
{"_content":"flickr.groups.leave"}, {"_content":"flickr.groups.members.getList"},
|
79
|
+
{"_content":"flickr.groups.pools.add"}, {"_content":"flickr.groups.pools.getContext"},
|
80
|
+
{"_content":"flickr.groups.pools.getGroups"}, {"_content":"flickr.groups.pools.getPhotos"},
|
81
|
+
{"_content":"flickr.groups.pools.remove"}, {"_content":"flickr.groups.search"},
|
82
|
+
{"_content":"flickr.interestingness.getList"}, {"_content":"flickr.machinetags.getNamespaces"},
|
83
|
+
{"_content":"flickr.machinetags.getPairs"}, {"_content":"flickr.machinetags.getPredicates"},
|
84
|
+
{"_content":"flickr.machinetags.getRecentValues"}, {"_content":"flickr.machinetags.getValues"},
|
85
|
+
{"_content":"flickr.panda.getList"}, {"_content":"flickr.panda.getPhotos"},
|
86
|
+
{"_content":"flickr.people.findByEmail"}, {"_content":"flickr.people.findByUsername"},
|
87
|
+
{"_content":"flickr.people.getGroups"}, {"_content":"flickr.people.getInfo"},
|
88
|
+
{"_content":"flickr.people.getLimits"}, {"_content":"flickr.people.getPhotos"},
|
89
|
+
{"_content":"flickr.people.getPhotosOf"}, {"_content":"flickr.people.getPublicGroups"},
|
90
|
+
{"_content":"flickr.people.getPublicPhotos"}, {"_content":"flickr.people.getUploadStatus"},
|
91
|
+
{"_content":"flickr.photos.addTags"}, {"_content":"flickr.photos.comments.addComment"},
|
92
|
+
{"_content":"flickr.photos.comments.deleteComment"}, {"_content":"flickr.photos.comments.editComment"},
|
93
|
+
{"_content":"flickr.photos.comments.getList"}, {"_content":"flickr.photos.comments.getRecentForContacts"},
|
94
|
+
{"_content":"flickr.photos.delete"}, {"_content":"flickr.photos.geo.batchCorrectLocation"},
|
95
|
+
{"_content":"flickr.photos.geo.correctLocation"}, {"_content":"flickr.photos.geo.getLocation"},
|
96
|
+
{"_content":"flickr.photos.geo.getPerms"}, {"_content":"flickr.photos.geo.photosForLocation"},
|
97
|
+
{"_content":"flickr.photos.geo.removeLocation"}, {"_content":"flickr.photos.geo.setContext"},
|
98
|
+
{"_content":"flickr.photos.geo.setLocation"}, {"_content":"flickr.photos.geo.setPerms"},
|
99
|
+
{"_content":"flickr.photos.getAllContexts"}, {"_content":"flickr.photos.getContactsPhotos"},
|
100
|
+
{"_content":"flickr.photos.getContactsPublicPhotos"}, {"_content":"flickr.photos.getContext"},
|
101
|
+
{"_content":"flickr.photos.getCounts"}, {"_content":"flickr.photos.getExif"},
|
102
|
+
{"_content":"flickr.photos.getFavorites"}, {"_content":"flickr.photos.getInfo"},
|
103
|
+
{"_content":"flickr.photos.getNotInSet"}, {"_content":"flickr.photos.getPerms"},
|
104
|
+
{"_content":"flickr.photos.getRecent"}, {"_content":"flickr.photos.getSizes"},
|
105
|
+
{"_content":"flickr.photos.getUntagged"}, {"_content":"flickr.photos.getWithGeoData"},
|
106
|
+
{"_content":"flickr.photos.getWithoutGeoData"}, {"_content":"flickr.photos.licenses.getInfo"},
|
107
|
+
{"_content":"flickr.photos.licenses.setLicense"}, {"_content":"flickr.photos.notes.add"},
|
108
|
+
{"_content":"flickr.photos.notes.delete"}, {"_content":"flickr.photos.notes.edit"},
|
109
|
+
{"_content":"flickr.photos.people.add"}, {"_content":"flickr.photos.people.delete"},
|
110
|
+
{"_content":"flickr.photos.people.deleteCoords"}, {"_content":"flickr.photos.people.editCoords"},
|
111
|
+
{"_content":"flickr.photos.people.getList"}, {"_content":"flickr.photos.recentlyUpdated"},
|
112
|
+
{"_content":"flickr.photos.removeTag"}, {"_content":"flickr.photos.search"},
|
113
|
+
{"_content":"flickr.photos.setContentType"}, {"_content":"flickr.photos.setDates"},
|
114
|
+
{"_content":"flickr.photos.setMeta"}, {"_content":"flickr.photos.setPerms"},
|
115
|
+
{"_content":"flickr.photos.setSafetyLevel"}, {"_content":"flickr.photos.setTags"},
|
116
|
+
{"_content":"flickr.photos.suggestions.approveSuggestion"}, {"_content":"flickr.photos.suggestions.getList"},
|
117
|
+
{"_content":"flickr.photos.suggestions.rejectSuggestion"}, {"_content":"flickr.photos.suggestions.removeSuggestion"},
|
118
|
+
{"_content":"flickr.photos.suggestions.suggestLocation"}, {"_content":"flickr.photos.transform.rotate"},
|
119
|
+
{"_content":"flickr.photos.upload.checkTickets"}, {"_content":"flickr.photosets.addPhoto"},
|
120
|
+
{"_content":"flickr.photosets.comments.addComment"}, {"_content":"flickr.photosets.comments.deleteComment"},
|
121
|
+
{"_content":"flickr.photosets.comments.editComment"}, {"_content":"flickr.photosets.comments.getList"},
|
122
|
+
{"_content":"flickr.photosets.create"}, {"_content":"flickr.photosets.delete"},
|
123
|
+
{"_content":"flickr.photosets.editMeta"}, {"_content":"flickr.photosets.editPhotos"},
|
124
|
+
{"_content":"flickr.photosets.getContext"}, {"_content":"flickr.photosets.getInfo"},
|
125
|
+
{"_content":"flickr.photosets.getList"}, {"_content":"flickr.photosets.getPhotos"},
|
126
|
+
{"_content":"flickr.photosets.orderSets"}, {"_content":"flickr.photosets.removePhoto"},
|
127
|
+
{"_content":"flickr.photosets.removePhotos"}, {"_content":"flickr.photosets.reorderPhotos"},
|
128
|
+
{"_content":"flickr.photosets.setPrimaryPhoto"}, {"_content":"flickr.places.find"},
|
129
|
+
{"_content":"flickr.places.findByLatLon"}, {"_content":"flickr.places.getChildrenWithPhotosPublic"},
|
130
|
+
{"_content":"flickr.places.getInfo"}, {"_content":"flickr.places.getInfoByUrl"},
|
131
|
+
{"_content":"flickr.places.getPlaceTypes"}, {"_content":"flickr.places.getShapeHistory"},
|
132
|
+
{"_content":"flickr.places.getTopPlacesList"}, {"_content":"flickr.places.placesForBoundingBox"},
|
133
|
+
{"_content":"flickr.places.placesForContacts"}, {"_content":"flickr.places.placesForTags"},
|
134
|
+
{"_content":"flickr.places.placesForUser"}, {"_content":"flickr.places.resolvePlaceId"},
|
135
|
+
{"_content":"flickr.places.resolvePlaceURL"}, {"_content":"flickr.places.tagsForPlace"},
|
136
|
+
{"_content":"flickr.prefs.getContentType"}, {"_content":"flickr.prefs.getGeoPerms"},
|
137
|
+
{"_content":"flickr.prefs.getHidden"}, {"_content":"flickr.prefs.getPrivacy"},
|
138
|
+
{"_content":"flickr.prefs.getSafetyLevel"}, {"_content":"flickr.push.getSubscriptions"},
|
139
|
+
{"_content":"flickr.push.getTopics"}, {"_content":"flickr.push.subscribe"},
|
140
|
+
{"_content":"flickr.push.unsubscribe"}, {"_content":"flickr.reflection.getMethodInfo"},
|
141
|
+
{"_content":"flickr.reflection.getMethods"}, {"_content":"flickr.stats.getCollectionDomains"},
|
142
|
+
{"_content":"flickr.stats.getCollectionReferrers"}, {"_content":"flickr.stats.getCollectionStats"},
|
143
|
+
{"_content":"flickr.stats.getCSVFiles"}, {"_content":"flickr.stats.getPhotoDomains"},
|
144
|
+
{"_content":"flickr.stats.getPhotoReferrers"}, {"_content":"flickr.stats.getPhotosetDomains"},
|
145
|
+
{"_content":"flickr.stats.getPhotosetReferrers"}, {"_content":"flickr.stats.getPhotosetStats"},
|
146
|
+
{"_content":"flickr.stats.getPhotoStats"}, {"_content":"flickr.stats.getPhotostreamDomains"},
|
147
|
+
{"_content":"flickr.stats.getPhotostreamReferrers"}, {"_content":"flickr.stats.getPhotostreamStats"},
|
148
|
+
{"_content":"flickr.stats.getPopularPhotos"}, {"_content":"flickr.stats.getTotalViews"},
|
149
|
+
{"_content":"flickr.tags.getClusterPhotos"}, {"_content":"flickr.tags.getClusters"},
|
150
|
+
{"_content":"flickr.tags.getHotList"}, {"_content":"flickr.tags.getListPhoto"},
|
151
|
+
{"_content":"flickr.tags.getListUser"}, {"_content":"flickr.tags.getListUserPopular"},
|
152
|
+
{"_content":"flickr.tags.getListUserRaw"}, {"_content":"flickr.tags.getMostFrequentlyUsed"},
|
153
|
+
{"_content":"flickr.tags.getRelated"}, {"_content":"flickr.test.echo"}, {"_content":"flickr.test.login"},
|
154
|
+
{"_content":"flickr.test.null"}, {"_content":"flickr.urls.getGroup"}, {"_content":"flickr.urls.getUserPhotos"},
|
155
|
+
{"_content":"flickr.urls.getUserProfile"}, {"_content":"flickr.urls.lookupGallery"},
|
156
|
+
{"_content":"flickr.urls.lookupGroup"}, {"_content":"flickr.urls.lookupUser"}]},
|
157
|
+
"stat":"ok"}'
|
158
|
+
http_version:
|
159
|
+
recorded_at: Tue, 15 Apr 2014 17:05:41 GMT
|
160
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,71 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.flickr.com/services/rest/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: photo_id=10440808526&method=flickr.photos.getInfo&format=json&nojsoncallback=1
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- FlickRaw/0.9.8
|
16
|
+
Authorization:
|
17
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
18
|
+
oauth_nonce="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", oauth_signature="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
19
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397581543", oauth_token="",
|
20
|
+
oauth_version="1.0"
|
21
|
+
Content-Type:
|
22
|
+
- application/x-www-form-urlencoded
|
23
|
+
response:
|
24
|
+
status:
|
25
|
+
code: 200
|
26
|
+
message: OK
|
27
|
+
headers:
|
28
|
+
Date:
|
29
|
+
- Tue, 15 Apr 2014 17:05:42 GMT
|
30
|
+
P3p:
|
31
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
32
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
33
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
34
|
+
Cache-Control:
|
35
|
+
- private
|
36
|
+
X-Served-By:
|
37
|
+
- www46.flickr.bf1.yahoo.com
|
38
|
+
Vary:
|
39
|
+
- Accept-Encoding
|
40
|
+
Content-Length:
|
41
|
+
- '610'
|
42
|
+
Content-Type:
|
43
|
+
- application/json
|
44
|
+
Age:
|
45
|
+
- '3'
|
46
|
+
Via:
|
47
|
+
- http/1.1 fts114.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
48
|
+
http/1.1 r04.ycpi.sp2.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
49
|
+
Server:
|
50
|
+
- ATS
|
51
|
+
Connection:
|
52
|
+
- keep-alive
|
53
|
+
body:
|
54
|
+
encoding: UTF-8
|
55
|
+
string: '{"photo":{"id":"10440808526", "secret":"c3fd515635", "server":"7402",
|
56
|
+
"farm":8, "dateuploaded":"1382539271", "isfavorite":0, "license":"0", "safety_level":"0",
|
57
|
+
"rotation":0, "originalsecret":"5a2e1d9666", "originalformat":"jpg", "owner":{"nsid":"83213379@N00",
|
58
|
+
"username":"Lucas the nomad", "realname":"", "location":"Melbourne, Australia",
|
59
|
+
"iconserver":"7134", "iconfarm":8, "path_alias":"lucasthenomad"}, "title":{"_content":"Giant
|
60
|
+
hippo yawn"}, "description":{"_content":""}, "visibility":{"ispublic":1, "isfriend":0,
|
61
|
+
"isfamily":0}, "dates":{"posted":"1382539271", "taken":"2013-08-13 18:27:16",
|
62
|
+
"takengranularity":"0", "lastupdate":"1382539314"}, "views":"48", "editability":{"cancomment":0,
|
63
|
+
"canaddmeta":0}, "publiceditability":{"cancomment":1, "canaddmeta":0}, "usage":{"candownload":1,
|
64
|
+
"canblog":0, "canprint":0, "canshare":1}, "comments":{"_content":"0"}, "notes":{"note":[]},
|
65
|
+
"people":{"haspeople":0}, "tags":{"tag":[{"id":"5152225-10440808526-25848",
|
66
|
+
"author":"83213379@N00", "authorname":"Lucas the nomad", "raw":"Uganda", "_content":"uganda",
|
67
|
+
"machine_tag":0}]}, "urls":{"url":[{"type":"photopage", "_content":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/"}]},
|
68
|
+
"media":"photo"}, "stat":"ok"}'
|
69
|
+
http_version:
|
70
|
+
recorded_at: Tue, 15 Apr 2014 17:05:44 GMT
|
71
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,84 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.flickr.com/services/rest/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: photo_id=10440808526&method=flickr.photos.getSizes&format=json&nojsoncallback=1
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- FlickRaw/0.9.8
|
16
|
+
Authorization:
|
17
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
18
|
+
oauth_nonce="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", oauth_signature="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
19
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397581541", oauth_token="",
|
20
|
+
oauth_version="1.0"
|
21
|
+
Content-Type:
|
22
|
+
- application/x-www-form-urlencoded
|
23
|
+
response:
|
24
|
+
status:
|
25
|
+
code: 200
|
26
|
+
message: OK
|
27
|
+
headers:
|
28
|
+
Date:
|
29
|
+
- Tue, 15 Apr 2014 17:05:41 GMT
|
30
|
+
P3p:
|
31
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
32
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
33
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
34
|
+
Cache-Control:
|
35
|
+
- private
|
36
|
+
X-Served-By:
|
37
|
+
- www6.flickr.bf1.yahoo.com
|
38
|
+
Vary:
|
39
|
+
- Accept-Encoding
|
40
|
+
Content-Length:
|
41
|
+
- '473'
|
42
|
+
Content-Type:
|
43
|
+
- application/json
|
44
|
+
Age:
|
45
|
+
- '0'
|
46
|
+
Via:
|
47
|
+
- http/1.1 fts114.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
48
|
+
http/1.1 r12.ycpi.gq1.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
49
|
+
Server:
|
50
|
+
- ATS
|
51
|
+
Connection:
|
52
|
+
- keep-alive
|
53
|
+
body:
|
54
|
+
encoding: UTF-8
|
55
|
+
string: '{"sizes":{"canblog":0, "canprint":0, "candownload":1, "size":[{"label":"Square",
|
56
|
+
"width":75, "height":75, "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_c3fd515635_s.jpg",
|
57
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/sq\/",
|
58
|
+
"media":"photo"}, {"label":"Large Square", "width":"150", "height":"150",
|
59
|
+
"source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_c3fd515635_q.jpg",
|
60
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/q\/",
|
61
|
+
"media":"photo"}, {"label":"Thumbnail", "width":"100", "height":"75", "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_c3fd515635_t.jpg",
|
62
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/t\/",
|
63
|
+
"media":"photo"}, {"label":"Small", "width":"240", "height":"180", "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_c3fd515635_m.jpg",
|
64
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/s\/",
|
65
|
+
"media":"photo"}, {"label":"Small 320", "width":"320", "height":240, "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_c3fd515635_n.jpg",
|
66
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/n\/",
|
67
|
+
"media":"photo"}, {"label":"Medium", "width":"500", "height":"375", "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_c3fd515635.jpg",
|
68
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/m\/",
|
69
|
+
"media":"photo"}, {"label":"Medium 640", "width":"640", "height":"481", "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_c3fd515635_z.jpg",
|
70
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/z\/",
|
71
|
+
"media":"photo"}, {"label":"Medium 800", "width":"800", "height":601, "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_c3fd515635_c.jpg",
|
72
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/c\/",
|
73
|
+
"media":"photo"}, {"label":"Large", "width":"1024", "height":"769", "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_c3fd515635_b.jpg",
|
74
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/l\/",
|
75
|
+
"media":"photo"}, {"label":"Large 1600", "width":"1600", "height":1201, "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_daad8821b0_h.jpg",
|
76
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/h\/",
|
77
|
+
"media":"photo"}, {"label":"Large 2048", "width":"2048", "height":1537, "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_793af299f0_k.jpg",
|
78
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/k\/",
|
79
|
+
"media":"photo"}, {"label":"Original", "width":"2603", "height":"1954", "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_5a2e1d9666_o.jpg",
|
80
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/o\/",
|
81
|
+
"media":"photo"}]}, "stat":"ok"}'
|
82
|
+
http_version:
|
83
|
+
recorded_at: Tue, 15 Apr 2014 17:05:42 GMT
|
84
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,70 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.flickr.com/services/rest/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: photo_id=9579531199&method=flickr.photos.getInfo&format=json&nojsoncallback=1
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- FlickRaw/0.9.8
|
16
|
+
Authorization:
|
17
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
18
|
+
oauth_nonce="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", oauth_signature="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
19
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397582324", oauth_token="",
|
20
|
+
oauth_version="1.0"
|
21
|
+
Content-Type:
|
22
|
+
- application/x-www-form-urlencoded
|
23
|
+
response:
|
24
|
+
status:
|
25
|
+
code: 200
|
26
|
+
message: OK
|
27
|
+
headers:
|
28
|
+
Date:
|
29
|
+
- Tue, 15 Apr 2014 17:18:47 GMT
|
30
|
+
P3p:
|
31
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
32
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
33
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
34
|
+
Cache-Control:
|
35
|
+
- private
|
36
|
+
X-Served-By:
|
37
|
+
- www206.flickr.bf1.yahoo.com
|
38
|
+
Vary:
|
39
|
+
- Accept-Encoding
|
40
|
+
Content-Length:
|
41
|
+
- '595'
|
42
|
+
Content-Type:
|
43
|
+
- application/json
|
44
|
+
Age:
|
45
|
+
- '0'
|
46
|
+
Via:
|
47
|
+
- http/1.1 fts101.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
48
|
+
http/1.1 r04.ycpi.sjb.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
49
|
+
Server:
|
50
|
+
- ATS
|
51
|
+
Connection:
|
52
|
+
- keep-alive
|
53
|
+
body:
|
54
|
+
encoding: UTF-8
|
55
|
+
string: '{"photo":{"id":"9579531199", "secret":"80e975dcbb", "server":"7359",
|
56
|
+
"farm":8, "dateuploaded":"1377335377", "isfavorite":0, "license":"0", "safety_level":"0",
|
57
|
+
"rotation":0, "originalsecret":"b48aba52c1", "originalformat":"jpg", "owner":{"nsid":"83213379@N00",
|
58
|
+
"username":"Lucas the nomad", "realname":"", "location":"Melbourne, Australia",
|
59
|
+
"iconserver":"7134", "iconfarm":8, "path_alias":"lucasthenomad"}, "title":{"_content":"This
|
60
|
+
\"n\u00e9eds\" s\u00f3me ''f\u00fc**ed up \u00e7hara\"cter\u015f"}, "description":{"_content":""},
|
61
|
+
"visibility":{"ispublic":1, "isfriend":0, "isfamily":0}, "dates":{"posted":"1377335377",
|
62
|
+
"taken":"2013-08-11 22:02:49", "takengranularity":"0", "lastupdate":"1397550902"},
|
63
|
+
"views":"17", "editability":{"cancomment":0, "canaddmeta":0}, "publiceditability":{"cancomment":1,
|
64
|
+
"canaddmeta":0}, "usage":{"candownload":1, "canblog":0, "canprint":0, "canshare":1},
|
65
|
+
"comments":{"_content":"0"}, "notes":{"note":[]}, "people":{"haspeople":0},
|
66
|
+
"tags":{"tag":[]}, "urls":{"url":[{"type":"photopage", "_content":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/9579531199\/"}]},
|
67
|
+
"media":"photo"}, "stat":"ok"}'
|
68
|
+
http_version:
|
69
|
+
recorded_at: Tue, 15 Apr 2014 17:18:48 GMT
|
70
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,663 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.flickr.com/services/rest/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: photoset_id=72157639475533743&method=flickr.photosets.getPhotos&format=json&nojsoncallback=1
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- FlickRaw/0.9.8
|
16
|
+
Authorization:
|
17
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
18
|
+
oauth_nonce="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", oauth_signature="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
19
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397581549", oauth_token="",
|
20
|
+
oauth_version="1.0"
|
21
|
+
Content-Type:
|
22
|
+
- application/x-www-form-urlencoded
|
23
|
+
response:
|
24
|
+
status:
|
25
|
+
code: 200
|
26
|
+
message: OK
|
27
|
+
headers:
|
28
|
+
Date:
|
29
|
+
- Tue, 15 Apr 2014 17:05:49 GMT
|
30
|
+
P3p:
|
31
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
32
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
33
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
34
|
+
Cache-Control:
|
35
|
+
- private
|
36
|
+
X-Served-By:
|
37
|
+
- www288.flickr.bf1.yahoo.com
|
38
|
+
Vary:
|
39
|
+
- Accept-Encoding
|
40
|
+
Content-Length:
|
41
|
+
- '400'
|
42
|
+
Content-Type:
|
43
|
+
- application/json
|
44
|
+
Age:
|
45
|
+
- '3'
|
46
|
+
Via:
|
47
|
+
- http/1.1 fts114.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
48
|
+
http/1.1 r04.ycpi.sp2.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
49
|
+
Server:
|
50
|
+
- ATS
|
51
|
+
Connection:
|
52
|
+
- keep-alive
|
53
|
+
body:
|
54
|
+
encoding: UTF-8
|
55
|
+
string: '{"photoset":{"id":"72157639475533743", "primary":"11439134074", "owner":"83213379@N00",
|
56
|
+
"ownername":"Lucas the nomad", "photo":[{"id":"11439134074", "secret":"b97703684d",
|
57
|
+
"server":"2862", "farm":3, "title":"Purdy lamps", "isprimary":"1"}, {"id":"9579531199",
|
58
|
+
"secret":"80e975dcbb", "server":"7359", "farm":8, "title":"This \"n\u00e9eds\"
|
59
|
+
s\u00f3me ''f\u00fc**ed up \u00e7hara\"cter\u015f", "isprimary":"0"}, {"id":"10440808526",
|
60
|
+
"secret":"c3fd515635", "server":"7402", "farm":8, "title":"Giant hippo yawn",
|
61
|
+
"isprimary":"0"}, {"id":"11224643544", "secret":"18c3674fbe", "server":"7314",
|
62
|
+
"farm":8, "title":"So pathetic looking", "isprimary":"0"}], "page":1, "per_page":500,
|
63
|
+
"perpage":500, "pages":1, "total":"4", "title":"flickr_offline_gallery specs"},
|
64
|
+
"stat":"ok"}'
|
65
|
+
http_version:
|
66
|
+
recorded_at: Tue, 15 Apr 2014 17:05:51 GMT
|
67
|
+
- request:
|
68
|
+
method: post
|
69
|
+
uri: https://api.flickr.com/services/rest/
|
70
|
+
body:
|
71
|
+
encoding: US-ASCII
|
72
|
+
string: photo_id=11439134074&method=flickr.photos.getInfo&format=json&nojsoncallback=1
|
73
|
+
headers:
|
74
|
+
Accept-Encoding:
|
75
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
76
|
+
Accept:
|
77
|
+
- "*/*"
|
78
|
+
User-Agent:
|
79
|
+
- FlickRaw/0.9.8
|
80
|
+
Authorization:
|
81
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
82
|
+
oauth_nonce="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", oauth_signature="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
83
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397581551", oauth_token="",
|
84
|
+
oauth_version="1.0"
|
85
|
+
Content-Type:
|
86
|
+
- application/x-www-form-urlencoded
|
87
|
+
response:
|
88
|
+
status:
|
89
|
+
code: 200
|
90
|
+
message: OK
|
91
|
+
headers:
|
92
|
+
Date:
|
93
|
+
- Tue, 15 Apr 2014 17:05:53 GMT
|
94
|
+
P3p:
|
95
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
96
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
97
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
98
|
+
Cache-Control:
|
99
|
+
- private
|
100
|
+
X-Served-By:
|
101
|
+
- www46.flickr.bf1.yahoo.com
|
102
|
+
Vary:
|
103
|
+
- Accept-Encoding
|
104
|
+
Content-Length:
|
105
|
+
- '609'
|
106
|
+
Content-Type:
|
107
|
+
- application/json
|
108
|
+
Age:
|
109
|
+
- '3'
|
110
|
+
Via:
|
111
|
+
- http/1.1 fts114.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
112
|
+
http/1.1 r04.ycpi.sp2.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
113
|
+
Server:
|
114
|
+
- ATS
|
115
|
+
Connection:
|
116
|
+
- keep-alive
|
117
|
+
body:
|
118
|
+
encoding: UTF-8
|
119
|
+
string: '{"photo":{"id":"11439134074", "secret":"b97703684d", "server":"2862",
|
120
|
+
"farm":3, "dateuploaded":"1387394630", "isfavorite":0, "license":"0", "safety_level":"0",
|
121
|
+
"rotation":0, "originalsecret":"f8f030c446", "originalformat":"jpg", "owner":{"nsid":"83213379@N00",
|
122
|
+
"username":"Lucas the nomad", "realname":"", "location":"Melbourne, Australia",
|
123
|
+
"iconserver":"7134", "iconfarm":8, "path_alias":"lucasthenomad"}, "title":{"_content":"Purdy
|
124
|
+
lamps"}, "description":{"_content":""}, "visibility":{"ispublic":1, "isfriend":0,
|
125
|
+
"isfamily":0}, "dates":{"posted":"1387394630", "taken":"2013-08-29 20:35:54",
|
126
|
+
"takengranularity":"0", "lastupdate":"1387394644"}, "views":"28", "editability":{"cancomment":0,
|
127
|
+
"canaddmeta":0}, "publiceditability":{"cancomment":1, "canaddmeta":0}, "usage":{"candownload":1,
|
128
|
+
"canblog":0, "canprint":0, "canshare":1}, "comments":{"_content":"0"}, "notes":{"note":[]},
|
129
|
+
"people":{"haspeople":0}, "tags":{"tag":[{"id":"5152225-11439134074-9279",
|
130
|
+
"author":"83213379@N00", "authorname":"Lucas the nomad", "raw":"Istanbul",
|
131
|
+
"_content":"istanbul", "machine_tag":0}]}, "urls":{"url":[{"type":"photopage",
|
132
|
+
"_content":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11439134074\/"}]},
|
133
|
+
"media":"photo"}, "stat":"ok"}'
|
134
|
+
http_version:
|
135
|
+
recorded_at: Tue, 15 Apr 2014 17:05:55 GMT
|
136
|
+
- request:
|
137
|
+
method: post
|
138
|
+
uri: https://api.flickr.com/services/rest/
|
139
|
+
body:
|
140
|
+
encoding: US-ASCII
|
141
|
+
string: photo_id=11439134074&method=flickr.photos.getSizes&format=json&nojsoncallback=1
|
142
|
+
headers:
|
143
|
+
Accept-Encoding:
|
144
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
145
|
+
Accept:
|
146
|
+
- "*/*"
|
147
|
+
User-Agent:
|
148
|
+
- FlickRaw/0.9.8
|
149
|
+
Authorization:
|
150
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
151
|
+
oauth_nonce="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", oauth_signature="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
152
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397581555", oauth_token="",
|
153
|
+
oauth_version="1.0"
|
154
|
+
Content-Type:
|
155
|
+
- application/x-www-form-urlencoded
|
156
|
+
response:
|
157
|
+
status:
|
158
|
+
code: 200
|
159
|
+
message: OK
|
160
|
+
headers:
|
161
|
+
Date:
|
162
|
+
- Tue, 15 Apr 2014 17:05:55 GMT
|
163
|
+
P3p:
|
164
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
165
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
166
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
167
|
+
Cache-Control:
|
168
|
+
- private
|
169
|
+
X-Served-By:
|
170
|
+
- www287.flickr.bf1.yahoo.com
|
171
|
+
Vary:
|
172
|
+
- Accept-Encoding
|
173
|
+
Content-Length:
|
174
|
+
- '476'
|
175
|
+
Content-Type:
|
176
|
+
- application/json
|
177
|
+
Age:
|
178
|
+
- '0'
|
179
|
+
Via:
|
180
|
+
- http/1.1 fts103.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
181
|
+
http/1.1 r04.ycpi.sp2.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
182
|
+
Server:
|
183
|
+
- ATS
|
184
|
+
Connection:
|
185
|
+
- keep-alive
|
186
|
+
body:
|
187
|
+
encoding: UTF-8
|
188
|
+
string: '{"sizes":{"canblog":0, "canprint":0, "candownload":1, "size":[{"label":"Square",
|
189
|
+
"width":75, "height":75, "source":"https:\/\/farm3.staticflickr.com\/2862\/11439134074_b97703684d_s.jpg",
|
190
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11439134074\/sizes\/sq\/",
|
191
|
+
"media":"photo"}, {"label":"Large Square", "width":"150", "height":"150",
|
192
|
+
"source":"https:\/\/farm3.staticflickr.com\/2862\/11439134074_b97703684d_q.jpg",
|
193
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11439134074\/sizes\/q\/",
|
194
|
+
"media":"photo"}, {"label":"Thumbnail", "width":"75", "height":"100", "source":"https:\/\/farm3.staticflickr.com\/2862\/11439134074_b97703684d_t.jpg",
|
195
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11439134074\/sizes\/t\/",
|
196
|
+
"media":"photo"}, {"label":"Small", "width":"180", "height":"240", "source":"https:\/\/farm3.staticflickr.com\/2862\/11439134074_b97703684d_m.jpg",
|
197
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11439134074\/sizes\/s\/",
|
198
|
+
"media":"photo"}, {"label":"Small 320", "width":240, "height":"320", "source":"https:\/\/farm3.staticflickr.com\/2862\/11439134074_b97703684d_n.jpg",
|
199
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11439134074\/sizes\/n\/",
|
200
|
+
"media":"photo"}, {"label":"Medium", "width":"375", "height":"500", "source":"https:\/\/farm3.staticflickr.com\/2862\/11439134074_b97703684d.jpg",
|
201
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11439134074\/sizes\/m\/",
|
202
|
+
"media":"photo"}, {"label":"Medium 640", "width":"481", "height":"640", "source":"https:\/\/farm3.staticflickr.com\/2862\/11439134074_b97703684d_z.jpg",
|
203
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11439134074\/sizes\/z\/",
|
204
|
+
"media":"photo"}, {"label":"Medium 800", "width":601, "height":"800", "source":"https:\/\/farm3.staticflickr.com\/2862\/11439134074_b97703684d_c.jpg",
|
205
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11439134074\/sizes\/c\/",
|
206
|
+
"media":"photo"}, {"label":"Large", "width":"769", "height":"1024", "source":"https:\/\/farm3.staticflickr.com\/2862\/11439134074_b97703684d_b.jpg",
|
207
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11439134074\/sizes\/l\/",
|
208
|
+
"media":"photo"}, {"label":"Large 1600", "width":1201, "height":"1600", "source":"https:\/\/farm3.staticflickr.com\/2862\/11439134074_e6da6ddbf5_h.jpg",
|
209
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11439134074\/sizes\/h\/",
|
210
|
+
"media":"photo"}, {"label":"Large 2048", "width":1538, "height":"2048", "source":"https:\/\/farm3.staticflickr.com\/2862\/11439134074_06b40bcd9f_k.jpg",
|
211
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11439134074\/sizes\/k\/",
|
212
|
+
"media":"photo"}, {"label":"Original", "width":"3448", "height":"4592", "source":"https:\/\/farm3.staticflickr.com\/2862\/11439134074_f8f030c446_o.jpg",
|
213
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11439134074\/sizes\/o\/",
|
214
|
+
"media":"photo"}]}, "stat":"ok"}'
|
215
|
+
http_version:
|
216
|
+
recorded_at: Tue, 15 Apr 2014 17:05:56 GMT
|
217
|
+
- request:
|
218
|
+
method: post
|
219
|
+
uri: https://api.flickr.com/services/rest/
|
220
|
+
body:
|
221
|
+
encoding: US-ASCII
|
222
|
+
string: photo_id=9579531199&method=flickr.photos.getInfo&format=json&nojsoncallback=1
|
223
|
+
headers:
|
224
|
+
Accept-Encoding:
|
225
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
226
|
+
Accept:
|
227
|
+
- "*/*"
|
228
|
+
User-Agent:
|
229
|
+
- FlickRaw/0.9.8
|
230
|
+
Authorization:
|
231
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
232
|
+
oauth_nonce="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", oauth_signature="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
233
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397581556", oauth_token="",
|
234
|
+
oauth_version="1.0"
|
235
|
+
Content-Type:
|
236
|
+
- application/x-www-form-urlencoded
|
237
|
+
response:
|
238
|
+
status:
|
239
|
+
code: 200
|
240
|
+
message: OK
|
241
|
+
headers:
|
242
|
+
Date:
|
243
|
+
- Tue, 15 Apr 2014 17:05:56 GMT
|
244
|
+
P3p:
|
245
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
246
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
247
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
248
|
+
Cache-Control:
|
249
|
+
- private
|
250
|
+
X-Served-By:
|
251
|
+
- www287.flickr.bf1.yahoo.com
|
252
|
+
Vary:
|
253
|
+
- Accept-Encoding
|
254
|
+
Content-Length:
|
255
|
+
- '595'
|
256
|
+
Content-Type:
|
257
|
+
- application/json
|
258
|
+
Age:
|
259
|
+
- '0'
|
260
|
+
Via:
|
261
|
+
- http/1.1 fts104.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
262
|
+
http/1.1 r04.ycpi.sp2.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
263
|
+
Server:
|
264
|
+
- ATS
|
265
|
+
Connection:
|
266
|
+
- keep-alive
|
267
|
+
body:
|
268
|
+
encoding: UTF-8
|
269
|
+
string: '{"photo":{"id":"9579531199", "secret":"80e975dcbb", "server":"7359",
|
270
|
+
"farm":8, "dateuploaded":"1377335377", "isfavorite":0, "license":"0", "safety_level":"0",
|
271
|
+
"rotation":0, "originalsecret":"b48aba52c1", "originalformat":"jpg", "owner":{"nsid":"83213379@N00",
|
272
|
+
"username":"Lucas the nomad", "realname":"", "location":"Melbourne, Australia",
|
273
|
+
"iconserver":"7134", "iconfarm":8, "path_alias":"lucasthenomad"}, "title":{"_content":"This
|
274
|
+
\"n\u00e9eds\" s\u00f3me ''f\u00fc**ed up \u00e7hara\"cter\u015f"}, "description":{"_content":""},
|
275
|
+
"visibility":{"ispublic":1, "isfriend":0, "isfamily":0}, "dates":{"posted":"1377335377",
|
276
|
+
"taken":"2013-08-11 22:02:49", "takengranularity":"0", "lastupdate":"1397550902"},
|
277
|
+
"views":"17", "editability":{"cancomment":0, "canaddmeta":0}, "publiceditability":{"cancomment":1,
|
278
|
+
"canaddmeta":0}, "usage":{"candownload":1, "canblog":0, "canprint":0, "canshare":1},
|
279
|
+
"comments":{"_content":"0"}, "notes":{"note":[]}, "people":{"haspeople":0},
|
280
|
+
"tags":{"tag":[]}, "urls":{"url":[{"type":"photopage", "_content":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/9579531199\/"}]},
|
281
|
+
"media":"photo"}, "stat":"ok"}'
|
282
|
+
http_version:
|
283
|
+
recorded_at: Tue, 15 Apr 2014 17:05:58 GMT
|
284
|
+
- request:
|
285
|
+
method: post
|
286
|
+
uri: https://api.flickr.com/services/rest/
|
287
|
+
body:
|
288
|
+
encoding: US-ASCII
|
289
|
+
string: photo_id=9579531199&method=flickr.photos.getSizes&format=json&nojsoncallback=1
|
290
|
+
headers:
|
291
|
+
Accept-Encoding:
|
292
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
293
|
+
Accept:
|
294
|
+
- "*/*"
|
295
|
+
User-Agent:
|
296
|
+
- FlickRaw/0.9.8
|
297
|
+
Authorization:
|
298
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
299
|
+
oauth_nonce="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", oauth_signature="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
300
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397581558", oauth_token="",
|
301
|
+
oauth_version="1.0"
|
302
|
+
Content-Type:
|
303
|
+
- application/x-www-form-urlencoded
|
304
|
+
response:
|
305
|
+
status:
|
306
|
+
code: 200
|
307
|
+
message: OK
|
308
|
+
headers:
|
309
|
+
Date:
|
310
|
+
- Tue, 15 Apr 2014 17:05:58 GMT
|
311
|
+
P3p:
|
312
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
313
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
314
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
315
|
+
Cache-Control:
|
316
|
+
- private
|
317
|
+
X-Served-By:
|
318
|
+
- www46.flickr.bf1.yahoo.com
|
319
|
+
Vary:
|
320
|
+
- Accept-Encoding
|
321
|
+
Content-Length:
|
322
|
+
- '409'
|
323
|
+
Content-Type:
|
324
|
+
- application/json
|
325
|
+
Age:
|
326
|
+
- '0'
|
327
|
+
Via:
|
328
|
+
- http/1.1 fts115.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
329
|
+
http/1.1 r04.ycpi.sp2.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
330
|
+
Server:
|
331
|
+
- ATS
|
332
|
+
Connection:
|
333
|
+
- keep-alive
|
334
|
+
body:
|
335
|
+
encoding: UTF-8
|
336
|
+
string: '{"sizes":{"canblog":0, "canprint":0, "candownload":1, "size":[{"label":"Square",
|
337
|
+
"width":75, "height":75, "source":"https:\/\/farm8.staticflickr.com\/7359\/9579531199_80e975dcbb_s.jpg",
|
338
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/9579531199\/sizes\/sq\/",
|
339
|
+
"media":"photo"}, {"label":"Large Square", "width":"150", "height":"150",
|
340
|
+
"source":"https:\/\/farm8.staticflickr.com\/7359\/9579531199_80e975dcbb_q.jpg",
|
341
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/9579531199\/sizes\/q\/",
|
342
|
+
"media":"photo"}, {"label":"Thumbnail", "width":"100", "height":"56", "source":"https:\/\/farm8.staticflickr.com\/7359\/9579531199_80e975dcbb_t.jpg",
|
343
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/9579531199\/sizes\/t\/",
|
344
|
+
"media":"photo"}, {"label":"Small", "width":"240", "height":"135", "source":"https:\/\/farm8.staticflickr.com\/7359\/9579531199_80e975dcbb_m.jpg",
|
345
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/9579531199\/sizes\/s\/",
|
346
|
+
"media":"photo"}, {"label":"Small 320", "width":"320", "height":180, "source":"https:\/\/farm8.staticflickr.com\/7359\/9579531199_80e975dcbb_n.jpg",
|
347
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/9579531199\/sizes\/n\/",
|
348
|
+
"media":"photo"}, {"label":"Medium", "width":"500", "height":"281", "source":"https:\/\/farm8.staticflickr.com\/7359\/9579531199_80e975dcbb.jpg",
|
349
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/9579531199\/sizes\/m\/",
|
350
|
+
"media":"photo"}, {"label":"Medium 640", "width":"640", "height":"360", "source":"https:\/\/farm8.staticflickr.com\/7359\/9579531199_80e975dcbb_z.jpg",
|
351
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/9579531199\/sizes\/z\/",
|
352
|
+
"media":"photo"}, {"label":"Medium 800", "width":"800", "height":450, "source":"https:\/\/farm8.staticflickr.com\/7359\/9579531199_80e975dcbb_c.jpg",
|
353
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/9579531199\/sizes\/c\/",
|
354
|
+
"media":"photo"}, {"label":"Large", "width":"894", "height":"503", "source":"https:\/\/farm8.staticflickr.com\/7359\/9579531199_80e975dcbb_b.jpg",
|
355
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/9579531199\/sizes\/l\/",
|
356
|
+
"media":"photo"}, {"label":"Original", "width":"894", "height":"503", "source":"https:\/\/farm8.staticflickr.com\/7359\/9579531199_b48aba52c1_o.jpg",
|
357
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/9579531199\/sizes\/o\/",
|
358
|
+
"media":"photo"}]}, "stat":"ok"}'
|
359
|
+
http_version:
|
360
|
+
recorded_at: Tue, 15 Apr 2014 17:05:59 GMT
|
361
|
+
- request:
|
362
|
+
method: post
|
363
|
+
uri: https://api.flickr.com/services/rest/
|
364
|
+
body:
|
365
|
+
encoding: US-ASCII
|
366
|
+
string: photo_id=10440808526&method=flickr.photos.getInfo&format=json&nojsoncallback=1
|
367
|
+
headers:
|
368
|
+
Accept-Encoding:
|
369
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
370
|
+
Accept:
|
371
|
+
- "*/*"
|
372
|
+
User-Agent:
|
373
|
+
- FlickRaw/0.9.8
|
374
|
+
Authorization:
|
375
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
376
|
+
oauth_nonce="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", oauth_signature="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
377
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397581559", oauth_token="",
|
378
|
+
oauth_version="1.0"
|
379
|
+
Content-Type:
|
380
|
+
- application/x-www-form-urlencoded
|
381
|
+
response:
|
382
|
+
status:
|
383
|
+
code: 200
|
384
|
+
message: OK
|
385
|
+
headers:
|
386
|
+
Date:
|
387
|
+
- Tue, 15 Apr 2014 17:06:00 GMT
|
388
|
+
P3p:
|
389
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
390
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
391
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
392
|
+
Cache-Control:
|
393
|
+
- private
|
394
|
+
X-Served-By:
|
395
|
+
- www288.flickr.bf1.yahoo.com
|
396
|
+
Vary:
|
397
|
+
- Accept-Encoding
|
398
|
+
Content-Length:
|
399
|
+
- '610'
|
400
|
+
Content-Type:
|
401
|
+
- application/json
|
402
|
+
Age:
|
403
|
+
- '1'
|
404
|
+
Via:
|
405
|
+
- http/1.1 fts119.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
406
|
+
http/1.1 r04.ycpi.sp2.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
407
|
+
Server:
|
408
|
+
- ATS
|
409
|
+
Connection:
|
410
|
+
- keep-alive
|
411
|
+
body:
|
412
|
+
encoding: UTF-8
|
413
|
+
string: '{"photo":{"id":"10440808526", "secret":"c3fd515635", "server":"7402",
|
414
|
+
"farm":8, "dateuploaded":"1382539271", "isfavorite":0, "license":"0", "safety_level":"0",
|
415
|
+
"rotation":0, "originalsecret":"5a2e1d9666", "originalformat":"jpg", "owner":{"nsid":"83213379@N00",
|
416
|
+
"username":"Lucas the nomad", "realname":"", "location":"Melbourne, Australia",
|
417
|
+
"iconserver":"7134", "iconfarm":8, "path_alias":"lucasthenomad"}, "title":{"_content":"Giant
|
418
|
+
hippo yawn"}, "description":{"_content":""}, "visibility":{"ispublic":1, "isfriend":0,
|
419
|
+
"isfamily":0}, "dates":{"posted":"1382539271", "taken":"2013-08-13 18:27:16",
|
420
|
+
"takengranularity":"0", "lastupdate":"1382539314"}, "views":"48", "editability":{"cancomment":0,
|
421
|
+
"canaddmeta":0}, "publiceditability":{"cancomment":1, "canaddmeta":0}, "usage":{"candownload":1,
|
422
|
+
"canblog":0, "canprint":0, "canshare":1}, "comments":{"_content":"0"}, "notes":{"note":[]},
|
423
|
+
"people":{"haspeople":0}, "tags":{"tag":[{"id":"5152225-10440808526-25848",
|
424
|
+
"author":"83213379@N00", "authorname":"Lucas the nomad", "raw":"Uganda", "_content":"uganda",
|
425
|
+
"machine_tag":0}]}, "urls":{"url":[{"type":"photopage", "_content":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/"}]},
|
426
|
+
"media":"photo"}, "stat":"ok"}'
|
427
|
+
http_version:
|
428
|
+
recorded_at: Tue, 15 Apr 2014 17:06:01 GMT
|
429
|
+
- request:
|
430
|
+
method: post
|
431
|
+
uri: https://api.flickr.com/services/rest/
|
432
|
+
body:
|
433
|
+
encoding: US-ASCII
|
434
|
+
string: photo_id=10440808526&method=flickr.photos.getSizes&format=json&nojsoncallback=1
|
435
|
+
headers:
|
436
|
+
Accept-Encoding:
|
437
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
438
|
+
Accept:
|
439
|
+
- "*/*"
|
440
|
+
User-Agent:
|
441
|
+
- FlickRaw/0.9.8
|
442
|
+
Authorization:
|
443
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
444
|
+
oauth_nonce="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", oauth_signature="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
445
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397581561", oauth_token="",
|
446
|
+
oauth_version="1.0"
|
447
|
+
Content-Type:
|
448
|
+
- application/x-www-form-urlencoded
|
449
|
+
response:
|
450
|
+
status:
|
451
|
+
code: 200
|
452
|
+
message: OK
|
453
|
+
headers:
|
454
|
+
Date:
|
455
|
+
- Tue, 15 Apr 2014 17:06:01 GMT
|
456
|
+
P3p:
|
457
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
458
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
459
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
460
|
+
Cache-Control:
|
461
|
+
- private
|
462
|
+
X-Served-By:
|
463
|
+
- www40.flickr.bf1.yahoo.com
|
464
|
+
Vary:
|
465
|
+
- Accept-Encoding
|
466
|
+
Content-Length:
|
467
|
+
- '473'
|
468
|
+
Content-Type:
|
469
|
+
- application/json
|
470
|
+
Age:
|
471
|
+
- '3'
|
472
|
+
Via:
|
473
|
+
- http/1.1 fts104.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
474
|
+
http/1.1 r04.ycpi.sp2.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
475
|
+
Server:
|
476
|
+
- ATS
|
477
|
+
Connection:
|
478
|
+
- keep-alive
|
479
|
+
body:
|
480
|
+
encoding: UTF-8
|
481
|
+
string: '{"sizes":{"canblog":0, "canprint":0, "candownload":1, "size":[{"label":"Square",
|
482
|
+
"width":75, "height":75, "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_c3fd515635_s.jpg",
|
483
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/sq\/",
|
484
|
+
"media":"photo"}, {"label":"Large Square", "width":"150", "height":"150",
|
485
|
+
"source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_c3fd515635_q.jpg",
|
486
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/q\/",
|
487
|
+
"media":"photo"}, {"label":"Thumbnail", "width":"100", "height":"75", "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_c3fd515635_t.jpg",
|
488
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/t\/",
|
489
|
+
"media":"photo"}, {"label":"Small", "width":"240", "height":"180", "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_c3fd515635_m.jpg",
|
490
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/s\/",
|
491
|
+
"media":"photo"}, {"label":"Small 320", "width":"320", "height":240, "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_c3fd515635_n.jpg",
|
492
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/n\/",
|
493
|
+
"media":"photo"}, {"label":"Medium", "width":"500", "height":"375", "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_c3fd515635.jpg",
|
494
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/m\/",
|
495
|
+
"media":"photo"}, {"label":"Medium 640", "width":"640", "height":"481", "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_c3fd515635_z.jpg",
|
496
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/z\/",
|
497
|
+
"media":"photo"}, {"label":"Medium 800", "width":"800", "height":601, "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_c3fd515635_c.jpg",
|
498
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/c\/",
|
499
|
+
"media":"photo"}, {"label":"Large", "width":"1024", "height":"769", "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_c3fd515635_b.jpg",
|
500
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/l\/",
|
501
|
+
"media":"photo"}, {"label":"Large 1600", "width":"1600", "height":1201, "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_daad8821b0_h.jpg",
|
502
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/h\/",
|
503
|
+
"media":"photo"}, {"label":"Large 2048", "width":"2048", "height":1537, "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_793af299f0_k.jpg",
|
504
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/k\/",
|
505
|
+
"media":"photo"}, {"label":"Original", "width":"2603", "height":"1954", "source":"https:\/\/farm8.staticflickr.com\/7402\/10440808526_5a2e1d9666_o.jpg",
|
506
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/10440808526\/sizes\/o\/",
|
507
|
+
"media":"photo"}]}, "stat":"ok"}'
|
508
|
+
http_version:
|
509
|
+
recorded_at: Tue, 15 Apr 2014 17:06:03 GMT
|
510
|
+
- request:
|
511
|
+
method: post
|
512
|
+
uri: https://api.flickr.com/services/rest/
|
513
|
+
body:
|
514
|
+
encoding: US-ASCII
|
515
|
+
string: photo_id=11224643544&method=flickr.photos.getInfo&format=json&nojsoncallback=1
|
516
|
+
headers:
|
517
|
+
Accept-Encoding:
|
518
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
519
|
+
Accept:
|
520
|
+
- "*/*"
|
521
|
+
User-Agent:
|
522
|
+
- FlickRaw/0.9.8
|
523
|
+
Authorization:
|
524
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
525
|
+
oauth_nonce="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", oauth_signature="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
526
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397581563", oauth_token="",
|
527
|
+
oauth_version="1.0"
|
528
|
+
Content-Type:
|
529
|
+
- application/x-www-form-urlencoded
|
530
|
+
response:
|
531
|
+
status:
|
532
|
+
code: 200
|
533
|
+
message: OK
|
534
|
+
headers:
|
535
|
+
Date:
|
536
|
+
- Tue, 15 Apr 2014 17:06:03 GMT
|
537
|
+
P3p:
|
538
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
539
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
540
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
541
|
+
Cache-Control:
|
542
|
+
- private
|
543
|
+
X-Served-By:
|
544
|
+
- www21.flickr.bf1.yahoo.com
|
545
|
+
Vary:
|
546
|
+
- Accept-Encoding
|
547
|
+
Content-Length:
|
548
|
+
- '651'
|
549
|
+
Content-Type:
|
550
|
+
- application/json
|
551
|
+
Age:
|
552
|
+
- '0'
|
553
|
+
Via:
|
554
|
+
- http/1.1 fts125.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
555
|
+
http/1.1 r04.ycpi.sp2.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
556
|
+
Server:
|
557
|
+
- ATS
|
558
|
+
Connection:
|
559
|
+
- keep-alive
|
560
|
+
body:
|
561
|
+
encoding: UTF-8
|
562
|
+
string: '{"photo":{"id":"11224643544", "secret":"18c3674fbe", "server":"7314",
|
563
|
+
"farm":8, "dateuploaded":"1386267171", "isfavorite":0, "license":"0", "safety_level":"0",
|
564
|
+
"rotation":0, "originalsecret":"245b57ee44", "originalformat":"jpg", "owner":{"nsid":"83213379@N00",
|
565
|
+
"username":"Lucas the nomad", "realname":"", "location":"Melbourne, Australia",
|
566
|
+
"iconserver":"7134", "iconfarm":8, "path_alias":"lucasthenomad"}, "title":{"_content":"So
|
567
|
+
pathetic looking"}, "description":{"_content":""}, "visibility":{"ispublic":1,
|
568
|
+
"isfriend":0, "isfamily":0}, "dates":{"posted":"1386267171", "taken":"2013-12-01
|
569
|
+
14:29:08", "takengranularity":"0", "lastupdate":"1386267215"}, "views":"154",
|
570
|
+
"editability":{"cancomment":0, "canaddmeta":0}, "publiceditability":{"cancomment":1,
|
571
|
+
"canaddmeta":0}, "usage":{"candownload":1, "canblog":0, "canprint":0, "canshare":1},
|
572
|
+
"comments":{"_content":"0"}, "notes":{"note":[]}, "people":{"haspeople":0},
|
573
|
+
"tags":{"tag":[{"id":"5152225-11224643544-636", "author":"83213379@N00", "authorname":"Lucas
|
574
|
+
the nomad", "raw":"Abandoned", "_content":"abandoned", "machine_tag":0}, {"id":"5152225-11224643544-557",
|
575
|
+
"author":"83213379@N00", "authorname":"Lucas the nomad", "raw":"Berlin", "_content":"berlin",
|
576
|
+
"machine_tag":0}, {"id":"5152225-11224643544-347947", "author":"83213379@N00",
|
577
|
+
"authorname":"Lucas the nomad", "raw":"Spreepark", "_content":"spreepark",
|
578
|
+
"machine_tag":0}]}, "urls":{"url":[{"type":"photopage", "_content":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11224643544\/"}]},
|
579
|
+
"media":"photo"}, "stat":"ok"}'
|
580
|
+
http_version:
|
581
|
+
recorded_at: Tue, 15 Apr 2014 17:06:05 GMT
|
582
|
+
- request:
|
583
|
+
method: post
|
584
|
+
uri: https://api.flickr.com/services/rest/
|
585
|
+
body:
|
586
|
+
encoding: US-ASCII
|
587
|
+
string: photo_id=11224643544&method=flickr.photos.getSizes&format=json&nojsoncallback=1
|
588
|
+
headers:
|
589
|
+
Accept-Encoding:
|
590
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
591
|
+
Accept:
|
592
|
+
- "*/*"
|
593
|
+
User-Agent:
|
594
|
+
- FlickRaw/0.9.8
|
595
|
+
Authorization:
|
596
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
597
|
+
oauth_nonce="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", oauth_signature="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
598
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397581565", oauth_token="",
|
599
|
+
oauth_version="1.0"
|
600
|
+
Content-Type:
|
601
|
+
- application/x-www-form-urlencoded
|
602
|
+
response:
|
603
|
+
status:
|
604
|
+
code: 200
|
605
|
+
message: OK
|
606
|
+
headers:
|
607
|
+
Date:
|
608
|
+
- Tue, 15 Apr 2014 17:06:05 GMT
|
609
|
+
P3p:
|
610
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
611
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
612
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
613
|
+
Cache-Control:
|
614
|
+
- private
|
615
|
+
X-Served-By:
|
616
|
+
- www323.flickr.bf1.yahoo.com
|
617
|
+
Vary:
|
618
|
+
- Accept-Encoding
|
619
|
+
Content-Length:
|
620
|
+
- '472'
|
621
|
+
Content-Type:
|
622
|
+
- application/json
|
623
|
+
Age:
|
624
|
+
- '0'
|
625
|
+
Via:
|
626
|
+
- http/1.1 fts108.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
627
|
+
http/1.1 r04.ycpi.sp2.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
628
|
+
Server:
|
629
|
+
- ATS
|
630
|
+
Connection:
|
631
|
+
- keep-alive
|
632
|
+
body:
|
633
|
+
encoding: UTF-8
|
634
|
+
string: '{"sizes":{"canblog":0, "canprint":0, "candownload":1, "size":[{"label":"Square",
|
635
|
+
"width":75, "height":75, "source":"https:\/\/farm8.staticflickr.com\/7314\/11224643544_18c3674fbe_s.jpg",
|
636
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11224643544\/sizes\/sq\/",
|
637
|
+
"media":"photo"}, {"label":"Large Square", "width":"150", "height":"150",
|
638
|
+
"source":"https:\/\/farm8.staticflickr.com\/7314\/11224643544_18c3674fbe_q.jpg",
|
639
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11224643544\/sizes\/q\/",
|
640
|
+
"media":"photo"}, {"label":"Thumbnail", "width":"100", "height":"75", "source":"https:\/\/farm8.staticflickr.com\/7314\/11224643544_18c3674fbe_t.jpg",
|
641
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11224643544\/sizes\/t\/",
|
642
|
+
"media":"photo"}, {"label":"Small", "width":"240", "height":"180", "source":"https:\/\/farm8.staticflickr.com\/7314\/11224643544_18c3674fbe_m.jpg",
|
643
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11224643544\/sizes\/s\/",
|
644
|
+
"media":"photo"}, {"label":"Small 320", "width":"320", "height":240, "source":"https:\/\/farm8.staticflickr.com\/7314\/11224643544_18c3674fbe_n.jpg",
|
645
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11224643544\/sizes\/n\/",
|
646
|
+
"media":"photo"}, {"label":"Medium", "width":"500", "height":"375", "source":"https:\/\/farm8.staticflickr.com\/7314\/11224643544_18c3674fbe.jpg",
|
647
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11224643544\/sizes\/m\/",
|
648
|
+
"media":"photo"}, {"label":"Medium 640", "width":"640", "height":"481", "source":"https:\/\/farm8.staticflickr.com\/7314\/11224643544_18c3674fbe_z.jpg",
|
649
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11224643544\/sizes\/z\/",
|
650
|
+
"media":"photo"}, {"label":"Medium 800", "width":"800", "height":601, "source":"https:\/\/farm8.staticflickr.com\/7314\/11224643544_18c3674fbe_c.jpg",
|
651
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11224643544\/sizes\/c\/",
|
652
|
+
"media":"photo"}, {"label":"Large", "width":"1024", "height":"769", "source":"https:\/\/farm8.staticflickr.com\/7314\/11224643544_18c3674fbe_b.jpg",
|
653
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11224643544\/sizes\/l\/",
|
654
|
+
"media":"photo"}, {"label":"Large 1600", "width":"1600", "height":1201, "source":"https:\/\/farm8.staticflickr.com\/7314\/11224643544_057d3543d5_h.jpg",
|
655
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11224643544\/sizes\/h\/",
|
656
|
+
"media":"photo"}, {"label":"Large 2048", "width":"2048", "height":1538, "source":"https:\/\/farm8.staticflickr.com\/7314\/11224643544_08e8e7d6fa_k.jpg",
|
657
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11224643544\/sizes\/k\/",
|
658
|
+
"media":"photo"}, {"label":"Original", "width":"4592", "height":"3448", "source":"https:\/\/farm8.staticflickr.com\/7314\/11224643544_245b57ee44_o.jpg",
|
659
|
+
"url":"https:\/\/www.flickr.com\/photos\/lucasthenomad\/11224643544\/sizes\/o\/",
|
660
|
+
"media":"photo"}]}, "stat":"ok"}'
|
661
|
+
http_version:
|
662
|
+
recorded_at: Tue, 15 Apr 2014 17:06:07 GMT
|
663
|
+
recorded_with: VCR 2.8.0
|