all-countries-and-cities-json
Version:
Countries and their largest cities json list
50 lines (36 loc) • 1.54 kB
Markdown
A list of all world countries and cities stored in JSON format. **Contains only ASCII-names** sorted in alphabetical order.
```json
{
"Afghanistan": [
"Herat",
"Kabul",
"Kandahar",
...
],
"Albania": [
"Elbasan",
"Petran",
"Pogradec",
...
],
...
}
```
You can use `git clone` command to obtain a local copy of this repository:
```
$ git clone https://github.com/meMo-Minsk/all-countries-and-cities-json.git
```
Or you can simply [download zip](https://github.com/meMo-Minsk/all-countries-and-cities-json/archive/master.zip) archive.
Also you can grab any raw file directly from GitHub servers:
| Description | File name | File size |
|----------------------------------------|---------------------------------------------------------|-----------|
| Uncompressed JSON file | [countries.json](countries.json?raw=true) | 1.4M |
| Minified JSON file | [countries.min.json](countries.min.json?raw=true) | 1.0M |
| Minified and gzip-compressed JSON file | [countries.min.json.gz](countries.min.json.gz?raw=true) | 330K |
This data is provided "as is" without warranty or any representation of accuracy, timeliness or completeness.
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.