The App Garden

Create an AppAPI DocumentationFeedsWhat is the App Garden?

flickr.places.getInfoByUrl

Lookup information about a place, by its flickr.com/places URL.

Authentication

This method does not require authentication.

Arguments

api_key (Required)
Your API application key.See here for more details.
url (Required)
A flickr.com/places URL in the form of /country/region/city. For example: /Canada/Quebec/Montreal

Example Response

<placeplace_id="4hLQygSaBJ92"woeid="3534"latitude="45.512"longitude="-73.554"place_url="/Canada/Quebec/Montreal"place_type="locality"has_shapedata="1">  <localityplace_id="4hLQygSaBJ92"woeid="3534"latitude="45.512"longitude="-73.554"place_url="/Canada/Quebec/Montreal">Montreal</locality>  <countyplace_id="cFBi9x6bCJ8D5rba1g"woeid="29375198"latitude="45.551"longitude="-73.600"place_url="/cFBi9x6bCJ8D5rba1g">Montréal</county>  <regionplace_id="CrZUvXebApjI0.72"woeid="2344924"latitude="53.890"longitude="-68.429"place_url="/Canada/Quebec">Quebec</region>  <countryplace_id="EESRy8qbApgaeIkbsA"woeid="23424775"latitude="62.358"longitude="-96.582"place_url="/Canada">Canada</country>  <shapedatacreated="1223513357"alpha="0.012359619140625"count_points="34778"count_edges="52">    <polylines>      <polyline>            45.427627563477,-73.589645385742 45.428966522217,-73.587898254395, etc...</polyline>    </polylines>  </shapedata></place>

Error Codes

2: Place URL required.
The flickr.com/places URL was not passed with the API method.
3: Place not found.
Unable to find a valid place for the places URL.
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.

API Explorer

API Explorer : flickr.places.getInfoByUrl