what if the newAPI is not supported

perform an IP-to-location with the support of maxmind