Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infotool.py

Overview

This project retrieves the public IP address and geographical location of the user using Python. The script fetches IP-related data, such as city, region, country, and coordinates, using an API.

Features

Get the public IP address of the user

Retrieve location details (city, region, country, latitude, longitude)

Simple and lightweight implementation

Requirements

Ensure you have Python installed (Python 3.x recommended). Required dependencies are listed in requirements.txt.

Installation

Clone this repository:

git clone https://github.com/TUSHAR91066/scripts.git cd infotool.py

Install dependencies:

pip install -r requirements.txt

Usage

Run the script to get IP and location details:

python infotool.py

Example Output

Public IP: 123.45.67.89 City: New York Region: NY Country: United States Latitude: 40.7128 Longitude: -74.0060

Dependencies

The required libraries are listed in requirements.txt, which may include:

requests

License

This project is licensed under the MIT License.

Contributions

Feel free to contribute by opening issues or submitting pull requests!

Contact

For any queries, contact tusharsharmalandtoearth@gmail.com.

About

This just a basic python script that will help you to find the ip addhress and much more with api of info.io

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages