Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Looking for Locations API (c#)

Tags:

c#

location

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.

like image 675
Rusi Nova Avatar asked Aug 26 '11 15:08

Rusi Nova


People also ask

What API used for finding the location services?

The Google Location Services API, part of Google Play services, is the preferred way to add location-awareness to your app. It offers a simpler API, higher accuracy, low-power geofencing, and more. If you are currently using the android.

What is Google places API?

The Places API and the client libraries are for use in server applications. If you're building a client-side application, take a look at the Places SDK for Android, the Places SDK for iOS, and the Places Library, Maps JavaScript API. The Places API is a service that returns information about places using HTTP requests.

Is Google address lookup API free?

Even though the Google Maps API is free, it does not actually validate addresses, AND it comes with some pretty restrictive terms of service. So, if real address validation is what you need, you may want to read our review on how to choose an address validation provider.


2 Answers

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

like image 127
Icarus Avatar answered Oct 15 '22 12:10

Icarus


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.

like image 22
Rowland Shaw Avatar answered Oct 15 '22 13:10

Rowland Shaw