Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Latest commit

 

History

History
30 lines (19 loc) · 985 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 985 Bytes

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