Skip to content

Instantly share code, notes, and snippets.

@evansagge
Created May 14, 2010 04:15
Show Gist options
  • Save evansagge/400804 to your computer and use it in GitHub Desktop.
Save evansagge/400804 to your computer and use it in GitHub Desktop.
photo = {
"id"=>"4603763705",
"secret"=>"278771b8d6",
"server"=>"1369",
"farm"=>2,
"dateuploaded"=>"1273767852",
"isfavorite"=>0,
"license"=>"0",
"rotation"=>0,
"owner"=>{
"nsid"=>"50092324@N02",
"username"=>"infinitely_test",
"realname"=>"",
"location"=>""
},
"title"=>"Sample photo",
"description"=>"this is a sample photo asset",
"visibility"=>{
"ispublic"=>1,
"isfriend"=>0,
"isfamily"=>0
},
"dates"=>{
"posted"=>"1273767852",
"taken"=>"2010-05-13 09:24:12",
"takengranularity"=>"0",
"lastupdate"=>"1273809873"
},
"views"=>"1",
"editability"=>{
"cancomment"=>0,
"canaddmeta"=>0
},
"usage"=>{
"candownload"=>1,
"canblog"=>0,
"canprint"=>0,
"canshare"=>1
},
"comments"=>"0",
"notes"=>[
],
"tags"=>[
{
"id"=>"50071976-4603763705-496737",
"author"=>"50092324@N02",
"raw"=>"[asset",
"_content"=>"asset",
"machine_tag"=>0
},
{
"id"=>"50071976-4603763705-17105",
"author"=>"50092324@N02",
"raw"=>"sample",
"_content"=>"sample",
"machine_tag"=>0
},
{
"id"=>"50071976-4603763705-320",
"author"=>"50092324@N02",
"raw"=>"test",
"_content"=>"test",
"machine_tag"=>0
},
{
"id"=>"50071976-4603763705-373714",
"author"=>"50092324@N02",
"raw"=>"photo upload]",
"_content"=>"photoupload",
"machine_tag"=>0
}
],
"urls"=>[
{
"type"=>"photopage",
"_content"=>"http://www.flickr.com/photos/50092324@N02/4603763705/"
}
],
"media"=>"photo"
}
urls = {
"url"=>"http://farm2.static.flickr.com/1369/4603763705_278771b8d6.jpg",
"url_m"=>"http://farm2.static.flickr.com/1369/4603763705_278771b8d6_m.jpg",
"url_s"=>"http://farm2.static.flickr.com/1369/4603763705_278771b8d6_s.jpg",
"url_t"=>"http://farm2.static.flickr.com/1369/4603763705_278771b8d6_t.jpg",
"url_b"=>"http://farm2.static.flickr.com/1369/4603763705_278771b8d6_b.jpg"
}
author = {
"id"=>"50092324@N02",
"nsid"=>"50092324@N02",
"ispro"=>0,
"iconserver"=>"0",
"iconfarm"=>0,
"path_alias"=>nil,
"username"=>"infinitely_test",
"realname"=>"",
"location"=>"",
"photosurl"=>"http://www.flickr.com/photos/50092324@N02/",
"profileurl"=>"http://www.flickr.com/people/50092324@N02/",
"mobileurl"=>"http://m.flickr.com/photostream.gne?id=50071976",
"photos"=>{
"firstdatetaken"=>"2010-05-11 23:29:46",
"firstdate"=>"1273645786",
"count"=>58
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment