Track mobile number using Python
- Python3
- pip3
- IDE preferably Spyder/Vscode/Jupyter Notebook
- phonenumbers
- geocoder
- folium
- pycountry
- phone_iso3166
Name: phonenumbers Version: 8.13.0 Summary: Python version of Google's common library for parsing, formatting, storing and validating international phone numbers. Home-page: https://github.com/daviddrysdale/python-phonenumbers Author: David Drysdale Author-email: dmd@lurklurk.org License: Apache License 2.0
Name: geocoder Version: 1.38.1 Summary: Geocoder is a simple and consistent geocoding library. Home-page: https://github.com/DenisCarriere/geocoder Author: Denis Carriere Author-email: carriere.denis@gmail.com License: The MIT License
Name: folium Version: 0.13.0 Summary: Make beautiful maps with Leaflet.js & Python Home-page: https://github.com/python-visualization/folium Author: Rob Story Author-email: wrobstory@gmail.com License: MIT
Name: pycountry Version: 22.3.5 Summary: ISO country, subdivision, language, currency and script definitions and their translations Home-page: https://github.com/flyingcircusio/pycountry Author: Christian Theune Author-email: ct@flyingcircus.io License: LGPL 2.1
Name: phone-iso3166 Version: 0.4.1 Summary: Phonenumber to Country (ISO 3166-1) mapping Home-page: UNKNOWN Author: Author-email: License: MIT
head over to https://opencagedata.com/ for a new api key, create an account to get a Geocoding key
in the numberLocation.py file before running, replace the empty value of the key variable on line 4 with the new key you obtained from https://opencagedata.com/
do this only if the code did not run sucessfully at first
Open myNumber.py
and edit the "number" variable value on line 1 with the number you want to track and save and run the numberLocation.py .
after doing this, open the directory of the python file and you would see a new html file that was created when the python file was executed
The html file contains the map location of the number for better visualisation.