.__ .__ _____ |__|_____ |__| _____/ ____\____ | \____ \| |/ \ __\/ _ \ | | |_> > | | \ | ( <_> ) |__| __/|__|___| /__| \____/ |__| \/ by@tunisj
A simple script to interact with ipinfo.io api
You'll need an IPinfo API access token, which you can get by singing up for a free account at https://ipinfo.io/signup.
The free plan is limited to 1,000 requests a day, and doesn't include some of the data fields such as IP type and company data. This script will output ipaddress, location, city, region, country, and organization to output.csv.
pip install ipinfo
>>> python ./getipinfo.py
Short Form | Long Form | Description |
---|---|---|
-i | --input | List of IP Addresses to use |
-o | --output | Save the results to output file |
-h | --help | Show the help message and exit |
-v | --version | Show program's version number and exit |