# all-countries-and-cities-json

A list of all world countries and cities stored in JSON format. **Contains only ASCII-names** sorted in alphabetical order.

## Example

```json
{
  "Afghanistan": [
    "Herat",
    "Kabul",
    "Kandahar",
    ...
  ],
  "Albania": [
    "Elbasan",
    "Petran",
    "Pogradec",
    ...
  ],
  ...
}
```

## Usage

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      |

## Agreement

This data is provided "as is" without warranty or any representation of accuracy, timeliness or completeness.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
