Python 3 Truecaller API Web Scraping to Get Information of Mobile Number in Command Line

Python 3 Truecaller API Web Scraping to Get Information of Mobile Number in Command Line

Hello Everyone, In this tutorial, we are going to learn Python 3 Truecaller API Web Scraping to Get Information of Mobile Number in Command Line.

Python 3 Truecaller API Web Scraping

It is very easy and simple to follow these steps with me. You need Python and PyCharm IDE on your PC (or you can use one of your IDEs).

Needed

First, you need to install, type command in your terminal “pip install trunofficial”.

Command-line Usage

usage: trunofficial [-h] [-c COUNTRYCODE] [NUMBER [NUMBER ...]]

Unofficial API to the Truecaller phone number search.

positional arguments:
  NUMBER                phone numbers to lookup on Truecaller

optional arguments:
  -h, --help            show this help message and exit
  -c COUNTRYCODE, --countrycode COUNTRYCODE
                        prioritize search by country
import trunofficial

owner = trunofficial.search('2024561111')
print(owner.name)

mobile = owner.phone
print(mobile.number)
print(mobile.countrycode)
print(mobile.carrier)

house = owner.address
print(house.city)
print(house.timezone)

Conclusion

Here we clearly understood the Python 3 Truecaller API Web Scraping to Get Information of Mobile Number in Command Line. If you want to learn salesforce and Double Verify. Please check the below links.

Related Posts

Tech Posts

How to Connect Apple TV To College Wi-Fi?