Hacker News new | ask | show | jobs
by whatl3y 2154 days ago
So this finds the country based on some cloudflare-populated info of an incoming request (which sounds like it solved OP’s problem which is good), but if you want to use MaxMind’s database to find the country of any public IP I built the following a few months back:

https://github.com/Risk3sixty-Labs/geoapi