Skip to main content

Reverse Caller Identity

Project description

https://travis-ci.org/scottphilip/caller-lookup.svg?branch=master

Caller Lookup

Wrapper for TrueCaller

Installation Instructions

pip install CallerLookup

Usage

with CallerLookup(account_email="username@gmail.com",
                  account_password="password",
                  account_otp_secret="secret") as caller_lookup:

    result = caller_lookup.search("0202-456-1111", int_dial_code="1")
    print(str(result))

Output:

{
    "IS_VALID": True,
    "SCORE": 80.0,
    "RESULT": "SUCCESS",
    "REGION_DIAL_CODE": "1",
    "ADDRESS": "1600PennsylvaniaAveNW,
    TheWhiteHouse,
    Downtown,
    Washington,
    DC20006",
    "NUMBER_E164": "+12024561111",
    "REGION": "US",
    "NUMBER_NATIONAL": "(202)456-1111",
    "TIME_TAKEN": 0.701,
    "NAME": "WhiteHouse"
}

Dependencies

PyPI Packages:

  • GoogleToken
  • phonenumbers
  • cryptography
  • appdirs
  • requests
  • python-dateutil

Testing

Tested on Python:

  • 2.7
  • 3.6

Credits

Scott Philip

Berlin, Germany

Licence

GNU General Public License (Version 3, 29 June 2007)

CallerLookup Copyright © 2017 Scott Philip

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
CallerLookup-1.2.94.tar.gz (28.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page