Skip to content

Instantly share code, notes, and snippets.

@adhusson
Created April 28, 2011 15:55
Show Gist options
  • Save adhusson/946623 to your computer and use it in GitHub Desktop.
Save adhusson/946623 to your computer and use it in GitHub Desktop.
{
"name": "India", // Album name
"latlon": { // Can be null. Geographic coordinates of album.
"lat": "19.3111433550646",
"lon": "78.92578125",
},
"request_params": { // Request parameters
"album": "India"
},
"related": [ // Can be null. Max. size 8. Array of related albums
{
"name": "Hinduism", // Name of related album
"url": "/wiki/Hinduism", // URL of related album
"image": "http://...ze69ez8fz.jpg", // Max size 96*96. Image of related album
},
...,
],
"projects": [ // Can be null. Array of projects attached to album
{
"name": "Countries of the World", // Name of attached project
"url": "/projects/8b4db7fd-ac5b-4f34-8cf6-d7b1077a47df", // URL of attached project
"image": "http://...zad968efv.jpg", // Max size 162*162. Image of attached project.
},
...,
],
"top": { // Best photos of the album.
"total": 275, // Total number of best photos in the album. This is NOT the size of the following array:
"items": [ // 20 (at most) best photos of the album.
{ // All the following fields can be null.
"author_name": "Bob Loblaw",
"author_url": "http://www.bobloblaw.net",
"source_name": "Flickr",
"source_url": "/redirect?u=http%3A%2F%2Fwww.flickr.com%2Fphotos%2F77265976%40N00%2F179159399",
"image": "http://i.images.cdn.fotopedia.com/...-image.jpg", // Max. size around 800*800.
"title": "Taj Mahal",
"photo_id": "flickr-179159399",
"photo_url": "http://www.fotopedia.com/items/flickr-179159399",
"in_context_photo_url": "http://....59399", // URL to the photo's album, with this photo selected in the album's slideshow.
"license": "Some rights reserved.",
"score": 131, // Photo score
"medias": [ // List of available versions of the photo. See APPENDIX A.
{
"height": 360,
"width": 480,
"kind": "ifill_480x320", // Version name.
"url": "http://host2.images.cdn.fotopedia.com/flickr-179159399-ifill_480x320.jpg"
},
...,
]
},
...,
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment