Current section

Files

Jump to
flickrex lib flickr getMethodInfo flickr.photos.geo.getLocation.json
Raw

lib/flickr/getMethodInfo/flickr.photos.geo.getLocation.json

{
"arguments": {
"argument": [
{
"_content": "Your API application key. <a href=\"/services/api/misc.api_keys.html\">See here</a> for more details.",
"name": "api_key",
"optional": 0
},
{
"_content": "The id of the photo you want to retrieve location data for.",
"name": "photo_id",
"optional": "0"
},
{
"_content": "Extra flags.",
"name": "extras",
"optional": "1"
}
]
},
"errors": {
"error": [
{
"_content": "The photo id was either invalid or was for a photo not viewable by the calling user.",
"code": "1",
"message": "Photo not found."
},
{
"_content": "The photo requested has no location data or is not viewable by the calling user.",
"code": "2",
"message": "Photo has no location information."
},
{
"_content": "The API key passed was not valid or has expired.",
"code": 100,
"message": "Invalid API Key"
},
{
"_content": "The requested service is temporarily unavailable.",
"code": 105,
"message": "Service currently unavailable"
},
{
"_content": "The requested operation failed due to a temporary issue.",
"code": 106,
"message": "Write operation failed"
},
{
"_content": "The requested response format was not found.",
"code": 111,
"message": "Format \"xxx\" not found"
},
{
"_content": "The requested method was not found.",
"code": 112,
"message": "Method \"xxx\" not found"
},
{
"_content": "The SOAP envelope send in the request could not be parsed.",
"code": 114,
"message": "Invalid SOAP envelope"
},
{
"_content": "The XML-RPC request document could not be parsed.",
"code": 115,
"message": "Invalid XML-RPC Method Call"
},
{
"_content": "One or more arguments contained a URL that has been used for abuse on Flickr.",
"code": 116,
"message": "Bad URL found"
}
]
},
"method": {
"description": {
"_content": "Get the geo data (latitude and longitude and the accuracy level) for a photo."
},
"name": "flickr.photos.geo.getLocation",
"needslogin": 0,
"needssigning": 0,
"requiredperms": 0,
"response": {
"_content": "<photo id=\"123\">\n <location latitude=\"-17.685895\" longitude=\"-63.36914\" accuracy=\"6\" />\n</photo>"
}
},
"stat": "ok"
}