IP Geolocation API is a free service for locating your visitors in real-time with detailed country information.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
data
static
templates
.gitignore
LICENSE
Makefile
Pipfile
Pipfile.lock
Procfile
README.md
app.json
app.py
middleware.py
release.py

README.md

IP Geolocation API

IP Geolocation API is a free service for geocoding requests.

Deploy

Request geocoding is done via CloudFlare IP Geolocation to which additional information about the geolocated country is provided.

Stack

IP Geolocation API is built upon Starlette to achieve high throughput. The current setup can asyncronously handle thousands of requests per second with very low system requirements.

Libraries used

Development

Install packages

pipenv install

Running the server

gunicorn app:app -k uvicorn.workers.UvicornWorker --reload

Contributing

Thanks for your interest in the project! All pull requests are welcome from developers of all skill levels. To get started, simply fork the master branch on GitHub to your personal account and then clone the fork into your development environment.

Madis Väin (madisvain on Github, Twitter) is the original creator of the IP Geolocation API framework.

License

MIT