Script that queries the GEOIP2 Precision Demo by Maxmind from the commandline. Not fully tested.