ritiek / trunofficial

[NOT WORKING ANYMORE!] Unofficial API to the Truecaller phone number search
MIT License
16 stars 7 forks source link

Getting HTTP Error 401: Unauthorized #15

Open anirudhbagri opened 5 years ago

anirudhbagri commented 5 years ago

I am getting HTTP Error 401: Unauthorized error when trying to search any number.

apakrash commented 5 years ago

getting the same issue

karimQasem commented 5 years ago

Because this API URL truecaller is not working

pavelaizen commented 5 years ago

raise IOError, ('http error', errcode, errmsg, headers) IOError: ('http error', 401, 'Unauthorized', <httplib.HTTPMessage instance at 0x1082fbfc8>)

Any workaround?

ritiek commented 5 years ago

This tool doesn't work anymore since Truecaller updated their endpoints. However, I haven't tried but someone posted the updated values in this Gist: https://gist.github.com/AnikHasibul/06f20bb5e0c464be840c9964024522b9. Good luck!

Assassinaseem commented 5 years ago

@ritiek IS it possible to process multiple phone numbers at once ?? By giving numbers in a text/csv file ??

ritiek commented 5 years ago

@Assassinaseem I don't think Truecaller allows to search for multiple phone numbers with a single API request. So, the best you could do is write a small script that would read the phone numbers from a file and process them one-by-one.

Assassinaseem commented 5 years ago

@ritiek where to get truecaller ID (RnD&registerId=64571***") like your's do you know link to register and get one ?