/country-from-IP-lookup

🏴‍☠️ Find the country that IP is registered in.

Primary LanguagePython

country-from-IP-lookup

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/.

Prerequisites

Install requests library:

pip3 install requests

Make sure you have Python3.

Run

python3 ipLookup.py <ip>

For example:

python3 ipLookup.py 8.8.8.8