Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/kamikazechaser/administrative-divisions-db

Administrative regions as a JSON API over Github/Cloudflare CDN
https://github.com/kamikazechaser/administrative-divisions-db

geocoding geolocation geonames

Last synced: 20 days ago
JSON representation

Administrative regions as a JSON API over Github/Cloudflare CDN

Lists

README

        

# administrative-divisions-db

> Administrative divisons of countries as a JSON API over Github

## Why?

The current alternatives are unreliable:
* Rate limited
* No uptime gurantee
* Require API key and have a quota

## About

This repo automagically serves an "API" over Rawgit (Cloudflare network). No limits and uptime is guranteed. To get the administrative division of a particular country, simply make a GET request to:

```
https://rawcdn.githack.com/kamikazechaser/administrative-divisions-db/master/api/{COUNTRY_CODE}.json

# For example
https://rawcdn.githack.com/kamikazechaser/administrative-divisions-db/master/api/KE.json
```

Data is sourced from [GeoNames](http://www.geonames.org/).

## License

The Unlicense