The App GardenCreate an App API Documentation Feeds What is the App Garden? |
flickr.places.resolvePlaceURL
Find Flickr Places information by Place URL.
This method has been deprecated. It won't be removed but you should use flickr.places.getInfoByUrl instead.
This method has been deprecated. It won't be removed but you should use flickr.places.getInfoByUrl instead.
Authentication
This method does not require authentication.
Arguments
api_key
(Required)- Your API application key. See here for more details.
url
(Required)- A Flickr Places URL.
Flickr Place URLs are of the form /country/region/city
Example Response
<location place_id="kH8dLOubBZRvX_YZ" woeid="2487956" latitude="37.779" longitude="-122.420" place_url="/United+States/California/San+Francisco" place_type="locality"> <locality place_id="kH8dLOubBZRvX_YZ" woeid="2487956" latitude="37.779" longitude="-122.420" place_url="/United+States/California/San+Francisco">San Francisco</locality> <county place_id="hCca8XSYA5nn0X1Sfw" woeid="12587707" latitude="37.759" longitude="-122.435" place_url="/hCca8XSYA5nn0X1Sfw">San Francisco</county> <region place_id="SVrAMtCbAphCLAtP" woeid="2347563" latitude="37.271" longitude="-119.270" place_url="/United+States/California">California</region> <country place_id="4KO02SibApitvSBieQ" woeid="23424977" latitude="48.890" longitude="-116.982" place_url="/United+States">United States</country> </location>
Error Codes
2: Place URL required.
3: Place not found.
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.