A simple Python tool to fetch IP address information using the ipdata.co API.
Supports random User-Agent generation, IPv4/IPv6 validation, and threat detection info.
- Validate IPv4 and IPv6 addresses
- Query IP geolocation and threat data
- Random User-Agent headers
- Supports both CLI arguments and interactive input
- Colorized terminal output
- Python 3.6+
requests
Install dependencies:
pip install -r requirements.txt
pkg install python -y
pkg install git -y
git clone https://github.com/anbuinfosec/ipdata
python main.py -i 8.8.8.8
python main.py
.
├── main.py # Entry script with CLI support
├── function.py # Core logic and reusable functions
├── color.py # ANSI color codes
├── key.txt # Your ipdata API key (Python format)
└── README.md # Project documentation