Alex Rivera | Logout

Looking for Locations API (c#)

Asked 2011-08-26T15:25:15.227
9

In my app i am allowing users to enter there current city, for that i need an organised list of countries, states and cities on my server.

I am looking for an api that's available on net through which i get can download orgainsed list of countries, states and cities and store it on my server in format of my choice in db.

Edit 1

I am not looking for functionality of how to do or implement this, Iam actually looking for a place (website) from where i can download countries list respective states and cities in .zip/.rar format or make web-requests to an url and that url returns me list of countries/states/cities in any format (i will handle the format) , that i can process and store on my server in Database.

Edit
Report

2 Answers

3

Have a look at this API. May be helpful and it's free.

answered 2011-08-26T15:28:49.263
2

The United Nations maintain a list of locations around the world which is fairly comprehensive. you could also look at using data from OpenStreetMap, although you may find the data quality varies regionally.

answered 2011-08-30T07:44:33.417

Your Answer