There was an error while loading. Please reload this page.
This is requesting the photo 123456 informations: title, description and publish-date
123456
title
description
publish-date
Here we ask for json format in response but we can ask for xml format too. Same method is used with http POST method.
GET http://www.something.com/api/photo.get/json/?id=123456&fields[]=title&fields[]=description&fields[]=publish-date
The requested data are provided like this:
{ "status" : "valid", "response" : { "title" : "My best photo", "description" : "This photo was token ..." "publish-date" : "2011-08-24T12:33:42+01:00" } }
If an error occurs like an unknow photo id:
{ "status" : "error", "code" : "no_result", "message" : "There is no photo corresponding to the 'id' : 123456" }
Home
QuickStart Example JSON Example XML Example Query String Authentication Upload Error Code API Summary