Skip to content

Instantly share code, notes, and snippets.

@asmallteapot
Created May 28, 2010 00:10
Show Gist options
  • Save asmallteapot/416557 to your computer and use it in GitHub Desktop.
Save asmallteapot/416557 to your computer and use it in GitHub Desktop.
MobileMe Gallery ‘API’
// http://gallery.me.com/flpatriot/100009?webdav-method=truthget&feedfmt=json
{
"records": [
{
"viewIdentifier" : 2,
"numMovies" : 0,
"allowsVideoContent" : true,
"showMobile" : false,
"download" : false,
"path" : "http://gallery.me.com/flpatriot/100009",
"allowMobile" : false,
"keyImageGuid" : "82f120fb-c8ff-46f4-b61c-2a96601a0a71",
"userOrder" : "82f120fb-c8ff-46f4-b61c-2a96601a0a71",
"versionInfo" : {
"content" : 3,
"props" : 4
},
"type" : "Album",
"guid" : "c462f6b2-82b2-4bd5-9618-abcce35f1cfd",
"userItemGuid" : "490c28a9-057c-4061-b387-b4201d77b2c2",
"addPhoto" : false,
"keyImagePath" : "http://gallery.me.com/flpatriot/100009/CEA%20iPad%20Home%20Screen%20Icon",
"numPhotos" : 1,
"title" : "iPad Album",
"url" : "http://gallery.me.com/flpatriot/100009",
"showCaptions" : 1,
"updated" : "Thu, 20 May 2010 18:59:35 GMT",
"keyImageFileExtension" : "png"
},
{
"photoDate" : "Thu, 20 May 2010 18:59:35 GMT",
"updated" : "Thu, 20 May 2010 18:59:35 GMT",
"squareDerivativeUrl" : "http://gallery.me.com/flpatriot/100009/CEA%20iPad%20Home%20Screen%20Icon.png?derivative=square&source=web.png&type=square",
"largeImagePath" : "web.png",
"guid" : "198b03d9-ad2e-486c-afae-0f77017b3bf7",
"exifDerivativeUrl" : "http://gallery.me.com/flpatriot/100009/CEA%20iPad%20Home%20Screen%20Icon.png?derivative=exif&source=web.png&type=exif",
"versionInfo" : {
"props" : 2,
"content" : 1
},
"userOrderIndex" : 0,
"smallDerivativeUrl" : "http://gallery.me.com/flpatriot/100009/CEA%20iPad%20Home%20Screen%20Icon.png?derivative=small&source=web.png&type=small",
"fileExtension" : "png",
"webImageWidth" : 768,
"title" : "CEA iPad Home Screen Icon",
"webImageUrl" : "http://gallery.me.com/flpatriot/100009/CEA%20iPad%20Home%20Screen%20Icon/web.png",
"type" : "Photo",
"webImagePath" : "web.png",
"userItemGuid" : "82f120fb-c8ff-46f4-b61c-2a96601a0a71",
"sortOrder" : 0,
"mediumDerivativeUrl" : "http://gallery.me.com/flpatriot/100009/CEA%20iPad%20Home%20Screen%20Icon.png?derivative=medium&source=web.png&type=medium",
"largeImageUrl" : "http://gallery.me.com/flpatriot/100009/CEA%20iPad%20Home%20Screen%20Icon/web.png",
"url" : "http://gallery.me.com/flpatriot/100009/CEA%20iPad%20Home%20Screen%20Icon",
"webImageHeight" : 1024,
"album" : "c462f6b2-82b2-4bd5-9618-abcce35f1cfd",
"mediumReflectionDerivativeUrl" : "http://gallery.me.com/flpatriot/100009/CEA%20iPad%20Home%20Screen%20Icon.png?derivative=reflect-medium&source=web.png&type=reflect-medium",
"viewIdentifier" : 3
}
],
"data" : {
"title" : "My Gallery",
"userOrder" : "490c28a9-057c-4061-b387-b4201d77b2c2",
"updated" : "Thu, 20 May 2010 18:55:43 GMT"
},
"status" : 1
}
@asmallteapot
Copy link
Author

I stumbled into this ‘API’ for MobileMe Gallery while trying to hack together a script for my website to display images I’ve sent to MobileMe recently. The gist of it (no pun intended) is that you can append ?webdav-method=truthget&feedfmt=json to a MobileMe Gallery homepage or album page, and get all sorts of information about its contents in JSON format. This is just a quick dump of what I’ve found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment