A command-line interface (CLI) tool to retrieve IP information from various APIs, including ipinfo.io, ipapi.co, AbuseIPDB, and VirusTotal.
The IP Information Checker is a Python script designed to retrieve detailed information about IP addresses from various free and reputable sources. The tool supports multiple services including ipinfo.io, ipapi.co, AbuseIPDB, and VirusTotal. It features a menu-driven interface, supports asynchronous API calls.
- Validate IP address format
- Check IP information using multiple free APIs
- Asynchronous API requests for improved performance
- Logging of errors
- Retry mechanism for failed API calls
- Command-line argument support
- Install Poetry:
pip install poetry
- Clone the repository:
git clone https://github.com/akshayjain-1/ip_checker.git
- Navigate to the project directory:
cd ip_checker
- Install dependencies:
poetry install
- Set up environment variables for API keys:
export ABUSEIPDB_API_KEY="your_abuseipdb_api_key" export VIRUSTOTAL_API_KEY="your_virustotal_api_key"
poetry run python ip_checker.py <IP_ADDRESS>
- Add support for more APIs
- Implement a caching mechanism to reduce API calls
- Ability to export results to CSV
- Ability to provide multiple IP address in a single command