-
-
Save AnikHasibul/06f20bb5e0c464be840c9964024522b9 to your computer and use it in GitHub Desktop.
Python3 script to grab a true caller entity. -.-
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat true.py | |
import urllib.request | |
import json | |
number = input("Phone number.\n(with country code): +") | |
data = urllib.request.urlopen("https://search5.truecaller.com/v2/search?q="+number+"&countryCode=&type=4&locAddr=&placement=SEARCHRESULTS,HISTORY,DETAILS&adId=&clientId=1&myNumber=lS59d72f4d1aefae62ba0c1979l_Dl7_DEj9CPstICL1dRnD®isterId=645710775").read() | |
parsed = json.loads(data) | |
print(json.dumps(parsed["data"], indent=4, sort_keys=True)) |
Hey @AnikHasibul , I can't seem to find any documentation for how to access Truecaller's search API. Could you possibly point me to a resource, please? Thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Where can I get the token from?