Skip to main content
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

Metadata

Release files for CallerLookup 1.2.94

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for CallerLookup 1.2.94
File Size Uploaded Provenance
CallerLookup-1.2.94.tar.gz 28.2 kB Without provenance Details

Release files / CallerLookup-1.2.94.tar.gz

Download URL CallerLookup-1.2.94.tar.gz
Size 28.2 kB
Tags Source
SHA-256 checksum
How to use checksums
377a3b5507a1797c070c4b2bd566d45dee5a2e274786fa0fc477faa0bd1ff1de
BLAKE2b-256 checksum
How to use checksums
d187f0c138e415b5e4ad940694cb45afc27a5a2eab1a9d5cd559539b42160d07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for CallerLookup 1.2.94

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page