A
A
Artyom2014-07-27 17:04:49
JavaScript
Artyom, 2014-07-27 17:04:49

Are there ready-made lists of countries and cities for js?

I saw the Country / State list, there are databases that are installed on the server and even a service that provides similar functionality. But in the case of a large audience, there may be problems with exceeding the request limit and the application will lose users.

About the solution.
If there is no technical possibility or desire to organize a server and a database, then it is better to limit yourself to only a list of countries. Otherwise, it is very easy to find a ready-made and complete database of cities by country.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Push Pull, 2014-07-27
@Dracontis

make your own API for receiving, if it will not be very good to shove so much data into js,
​​but here is the data - http://citieslist.ru/

V
Valery, 2014-07-28
@Akuma

Try KLADR: https://kladr-api.ru/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question