This is a simple toolkit for retrieving IP information using the ipinfo.io API.
Features
- Gets country, city, and timezone information for a given IP address.
- Shows ISP and organization details.
- Optional export to a json file.
-
Clone the repository:
git clone https://github.com/yourusername/Ip-Info-Toolkit.git
-
Navigate to the project directory:
cd Ip-Info-Toolkit -
Install the required dependencies:
pip install -r requirements.txt
-
Run the script:
python ip_info_toolkit.py
-
Follow the prompts to enter an IP address or domain name.
-
View the retrieved information in the console or in the
ip_info.jsonfile if you choose to export it.
$ python ip_info_toolkit.py
Enter an IP address or domain name: 8.8.8.8
IP Address: 8.8.8.8
Country: United States
Region: California
City: Mountain View
ZIP: 94043
Latitude: 37.386
Longitude: -122.0838
ISP: Google LLC
Organization: Google LLC
AS: AS15169 Google LLC
Proxy/VPN: No
Mobile Network: No
Hosting Provider: No