Skip to content

Implement an API-based GeoIP lookup

Antoine Albertelli requested to merge geoip-api into master

As an alternative to the current IP database middleware, which is relatively inaccurate in its free version, we want to try using an API for IP information lookups, as they are less expensive for the amount of queries we want to do.

We start with ipinfo.io, as they offer 50k requests for free on their starting plan.

Merge request reports

Loading