The App GardenCreate an App API Documentation Feeds What is the App Garden? |
flickr.places.getInfo
Get informations about a place.
Authentication
This method does not require authentication.
Arguments
api_key
(Required)- Your API application key. See here for more details.
place_id
(Optional)- A Flickr Places ID. (While optional, you must pass either a valid Places ID or a WOE ID.)
woe_id
(Optional)- A Where On Earth (WOE) ID. (While optional, you must pass either a valid Places ID or a WOE ID.)
Example Response
<place place_id="4hLQygSaBJ92" woeid="3534" latitude="45.512" longitude="-73.554" place_url="/Canada/Quebec/Montreal" place_type="locality" has_shapedata="1" timezone="America/Toronto"> <locality place_id="4hLQygSaBJ92" woeid="3534" latitude="45.512" longitude="-73.554" place_url="/Canada/Quebec/Montreal">Montreal</locality> <county place_id="cFBi9x6bCJ8D5rba1g" woeid="29375198" latitude="45.551" longitude="-73.600" place_url="/cFBi9x6bCJ8D5rba1g">Montréal</county> <region place_id="CrZUvXebApjI0.72" woeid="2344924" latitude="53.890" longitude="-68.429" place_url="/Canada/Quebec">Quebec</region> <country place_id="EESRy8qbApgaeIkbsA" woeid="23424775" latitude="62.358" longitude="-96.582" place_url="/Canada">Canada</country> <shapedata created="1223513357" alpha="0.012359619140625" count_points="34778" count_edges="52" has_donuthole="1" is_donuthole="1"> <polylines> <polyline> 45.427627563477,-73.589645385742 45.428966522217,-73.587898254395, etc... </polyline> </polylines> <urls> <shapefile> http://farm4.static.flickr.com/3228/shapefiles/3534_20081111_0a8afe03c5.tar.gz </shapefile> </urls> </shapedata> </place>
Error Codes
1: Required parameter missing
- One or more required parameter is missing from the API call.
2: Not a valid Places ID
- An invalid Places (or WOE) ID was passed with the API call.
3: Place not found
- No place could be found for the Places (or WOE) ID passed to the API call.
100: Invalid API Key
- The API key passed was not valid or has expired.
105: Service currently unavailable
- The requested service is temporarily unavailable.
106: Write operation failed
- The requested operation failed due to a temporary issue.
111: Format "xxx" not found
- The requested response format was not found.
112: Method "xxx" not found
- The requested method was not found.
114: Invalid SOAP envelope
- The SOAP envelope send in the request could not be parsed.
115: Invalid XML-RPC Method Call
- The XML-RPC request document could not be parsed.
116: Bad URL found
- One or more arguments contained a URL that has been used for abuse on Flickr.