Get information on a specific city

 

Usage:

GET /api/city_info?geoname_id=<geoname_id> - Get information on a city.

 

Parameters:

geoname_id={id} - the GeoName ID of the destination. Use the search method to find a suitable Geoname ID.

 

Response:

  <city_info>
    <city>
      <country_code>GB</country_code>
      <name>London</name>
      <latitude>51.5</latitude>
      <url>http://www.dopplr.com/place/gb/london</url>
      <longitude>-0.116667</longitude>
      <geoname_id>2643743</geoname_id>
      <rgb>59ead8</rgb>
      <timezone>Europe/London</timezone>
      <country>United Kingdom</country>
      <utcoffset>0</utcoffset>
      <localtime>2008-04-01T17:46:26+00:00</localtime>
    </city>
  </city_info>
  


Page Information

  • 4 months ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts