Menu

GeoDB Cities API - Find Cities For Your Criteria | Wirefree Thought

Comments

There are currently no blog comments.

Santa's Got More: Distance Between Cities, Location Enhancements

You can now find the distance between any two cities.

curl --get --include 'https://wft-geo-db.p.mashape.com/v1/geo/cities/{fromCityId}?toCityId={toCityId}&distanceUnit={KM | MI)' \
    -H 'X-Mashape-Key: YOUR_API_KEY' \
    -H 'X-Mashape-Host: wft-geo-db.p.mashape.com'

In addition...

Find-Cities API Enhancements

  • When finding cities using location criteria, GeoDB will now include each city's distance from the requested location, sorting results by distance.
  • All city results now include latitude/longitude, saving you a trip to the Get-City-Details API.

Go Back

Comments for this post have been disabled.