An open API service indexing awesome lists of open source software.

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

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