Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get list of countries and /or list of cities via web service [duplicate]

Tags:

web

service

Possible Duplicate:
Where can I get a list of all countries/cities to populate a listbox?

Is there any web service which provides a list of all (almost all) countries and/or a list of all (almost all) cities of the world?

like image 386
user989836 Avatar asked Oct 11 '11 15:10

user989836


1 Answers

you could use the GeoName API.

http://www.geonames.org/export/JSON-webservices.html#citiesJSON

for more info

http://www.geonames.org/

like image 148
Massimiliano Peluso Avatar answered Sep 28 '22 08:09

Massimiliano Peluso