Project description
1 |
pip install trunofficial |
Command-line Usage
1 2 3 4 5 6 7 8 9 10 11 |
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 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
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) |