A Simple Python Script that uses requests and json module to fetch ip details using the IP Geolocation API.
Requirements :
-
Install python version 3.
For Windows download it from official python site and install.
For Linux(Debian) : sudo apt-get install python3
-
pip3 script will get install while installing python3 in Windows.
For Linux(Debian) you'll need to install pip3 seperately :
sudo apt-get install python3-pip
-
Install requests library, if you encounter problems related to requests.
Installing requests :
pip3 install requests
-
Run the program with
python ip-trace.py