Enter an IP address and find the country that IP is registered in.
Data is provided by The JSON Geolocation web service API by https://www.geoplugin.com/.
Install requests library:
pip3 install requests
Make sure you have Python3.
python3 ipLookup.py <ip>
For example:
python3 ipLookup.py 8.8.8.8