https://github.com/anbuinfosec/ipdata
A simple Python tool to fetch IP address information using the ipdata.co API.
https://github.com/anbuinfosec/ipdata
anbuinfosec ip-data ip-information ip-track ipdata ipinfo trackdown
Last synced: 3 months ago
JSON representation
A simple Python tool to fetch IP address information using the ipdata.co API.
- Host: GitHub
- URL: https://github.com/anbuinfosec/ipdata
- Owner: anbuinfosec
- Created: 2025-05-10T08:42:05.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-05-10T08:43:30.000Z (5 months ago)
- Last Synced: 2025-06-06T04:08:24.416Z (4 months ago)
- Topics: anbuinfosec, ip-data, ip-information, ip-track, ipdata, ipinfo, trackdown
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IP Info Checker
A simple Python tool to fetch IP address information using the [ipdata.co](https://ipdata.co) API.
Supports random User-Agent generation, IPv4/IPv6 validation, and threat detection info.---
## Features
- 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---
## Requirements
- Python 3.6+
- `requests`Install dependencies:
```bash
pip install -r requirements.txt
````---
## Install
```bash
pkg install python -y
pkg install git -y
git clone https://github.com/anbuinfosec/ipdata
```## Usage
### Command Line
```bash
python main.py -i 8.8.8.8
```### Interactive
```bash
python main.py
```---
## File Structure
```
.
├── 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
```