GoekhanDev / flask-geolocation

A Free Local/offline geolocation API with accurate information and fast response.

Repository from Github https://github.comGoekhanDev/flask-geolocationRepository from Github https://github.comGoekhanDev/flask-geolocation

flask-geolocation

A Free Local/offline geolocation API with accurate information and fast response.

Requirements

pip install -r requirements.txt

API

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.

Database

The current implementation uses the free GeoLite2 City database from MaxMind.

A License Key is required which is obtainable free at Maxmind.



Buy Me A Coffee

About

A Free Local/offline geolocation API with accurate information and fast response.


Languages

Language:Python 100.0%