8 ms·
Maxmind do APIs for a bunch of language. I've used the python one and it works well (with Lite), but see here their list: https://dev.maxmind.com/geoip/geoip2/
by cryvate1284 6y ago
Maxmind do APIs for a bunch of language. I've used the python one and it works well (with Lite), but see here their list:
https://dev.maxmind.com/geoip/geoip2/web-services/ https://dev.maxmind.com/geoip/geoip2/web-services/
- nerdponx 6y agoI should clarify that I was looking for an "offline" API/library that I can use against a local copy of the Lite database, but this is great stuff too.
- luhn 6y agoNot sure what language you're looking for, but those exist too. Here's a Python one: https://maxminddb.readthedocs.io/en/latest/ https://maxminddb.readthedocs.io/en/latest/
- cryvate1284 6y agoIf you click through one of the links (e.g. Python) you will see it does allow you to do so! https://pypi.org/project/geoip2/ https://pypi.org/project/geoip2/
- stevenicr 6y agoI thought maxmind has some kind of terms change that forced account signup and some other issues 'because of some privacy law' like gdpr - maybe the Cali one? So it has ruined my second favorite wordpress security plugin - and MaxMind not really usable like it once was (?)