A Free Local/offline geolocation API with accurate information and fast response.
pip install -r requirements.txt
The API has only one endpoint to retrive geolocation information.
Example:
curl localhost/api/geolocation?ip=8.8.8.8
Returns the geolocation information of 8.8.8.8.
The current implementation uses the free GeoLite2 City database from MaxMind.
A License Key is required which is obtainable free at Maxmind.