This tool fetches the geographical location and service provider of a phone number and plots that location on a map using the Folium library.
To make this tool work, several Python modules need to be installed. They provide functionalities like parsing phone numbers, geocoding, and map generation.
phonenumbers
folium
opencage
You can install these modules using: pip install phonenumbers folium opencage
- Phone Number Parsing: Detects the location and service provider associated with a given phone number.
- Geocoding: Converts a location name to its corresponding latitude and longitude using the OpenCage Geocoding API.
- Map Generation: Creates an interactive map marking the location.
- Clone the Repository: git clone
- Install Required Modules:pip install phonenumbers folium opencage
- Setup API Key: Save your OpenCage API key as an environment variable or modify the code to read it from a secure location.
- Run the main script: python Tracker.py
- Input the phone number with the country code when prompted.
- If valid, the script will display the location and service provider. It will also generate an HTML file (
Location.html
) containing the map with the marked location.
Contributions, bug reports, and pull requests are welcome on GitHub at https://github.com/Bisalkumar/Phone-Number-Tracker.git
. This project intends to be a safe, welcoming space for collaboration.
This project is licensed under the MIT License - see the LICENSE.md
file for details.
- Thanks to the developers of
phonenumbers
,folium
, andopencage
for providing these excellent tools.