Skip to main content

Reverse Caller Identity

Project description

https://travis-ci.org/scottphilip/caller-lookup.svg?branch=master https://img.shields.io/pypi/v/CallerLookup.svg https://img.shields.io/pypi/pyversions/CallerLookup.svg

Caller Lookup

Wrapper for TrueCaller

Installation Instructions

pip install CallerLookup

Usage

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

    result = caller_lookup.search(number="0202-456-1111", region_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.

Source Distribution

CallerLookup-1.2.93.tar.gz (28.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page