https://github.com/thesoftwarewizard/pylocator
IP-Based Geolocation with Python
https://github.com/thesoftwarewizard/pylocator
Last synced: about 1 year ago
JSON representation
IP-Based Geolocation with Python
- Host: GitHub
- URL: https://github.com/thesoftwarewizard/pylocator
- Owner: TheSoftwareWizard
- Created: 2024-05-30T23:14:08.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-30T23:14:46.000Z (about 2 years ago)
- Last Synced: 2025-03-30T22:29:46.250Z (about 1 year ago)
- Language: Python
- Size: 0 Bytes
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IP-Based Geolocation with Python
This Python program allows you to obtain the approximate geolocation of an IP address using the ipstack API.
## Features:
- Prompts the user for an IP address.
- Queries geolocation data using the ipstack API.
- Displays location data in the console.
- Opens Google Maps with the coordinates.
## Requirements:
- Python 3
- `requests` library
## Usage:
1. Clone the repository.
2. Obtain an API key from ipstack.
3. Configure the API key in the code.
4. Run the script and provide an IP address when prompted.
## Installation:
```bash
pip install requests