Skip to content

kamikazechaser/administrative-divisions-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

License

The Unlicense

About

Administrative regions as a JSON API over Github/Cloudflare CDN

Topics

Resources

License

Stars

Watchers

Forks