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
- Host: GitHub
- URL: https://github.com/kamikazechaser/administrative-divisions-db
- Owner: kamikazechaser
- License: unlicense
- Created: 2021-02-02T19:15:10.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-19T09:05:08.000Z (over 1 year ago)
- Last Synced: 2023-09-24T22:28:54.124Z (8 months ago)
- Topics: geocoding, geolocation, geonames
- Language: JavaScript
- Homepage:
- Size: 167 KB
- Stars: 10
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- public-apis - administrative-divisons-db
- public-apis - administrative-divisons-db
- fucking-public-apis - administrative-divisons-db
- public-apis - administrative-divisons-db
- public-apis - administrative-divisons-db
- public-apis - administrative-divisons-db
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