Skip to main content

Python client for True Checker API

Project description

True Checker for Python

Python client library for True Checker API

How to install

pip install truechecker

How to use

# import TrueChecker
from truechecker import TrueChecker


# create an instance (poss your Telegram bot token here)
checker = TrueChecker("your_bot_token")


# prepare a file with users ids
# you should use string path, pathlib.Path object or io.BaseFile
file_path = "downloads/users.csv"


# send request to create a new job
job = await checker.check_profile(file_path)
print("Job created. ID:", job.id)


# get the status of job
job = await checker.get_job_status(job.id)
print("Job state:", job.state)
print("Job progress:", job.progress)


# if the job is done, let's get the profile
profile = await checker.get_profile("my_bot_username")
print("Bot profile:", profile)


# if you need to cancel the job
job = await checker.cancel_job(job.id)
print("Job state:", job.state)  # Cancelled


# Don't forget to close checker on your app's on_shutdown
await checker.close()

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

truechecker-2021.4.7.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

truechecker-2021.4.7-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file truechecker-2021.4.7.tar.gz.

File metadata

  • Download URL: truechecker-2021.4.7.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.8.9 Linux/4.19.0-10-amd64

File hashes

Hashes for truechecker-2021.4.7.tar.gz
Algorithm Hash digest
SHA256 494738550ef9207b221a01d30743ebf0483218bbd18f863aef6606d63da7b74d
MD5 fc6fb7f7a969245227f8b0617d24d7a1
BLAKE2b-256 235917e198ac9dc53b4e42586ca99e9af90dfd66f84f5fc8191256100fae295a

See more details on using hashes here.

File details

Details for the file truechecker-2021.4.7-py3-none-any.whl.

File metadata

  • Download URL: truechecker-2021.4.7-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.8.9 Linux/4.19.0-10-amd64

File hashes

Hashes for truechecker-2021.4.7-py3-none-any.whl
Algorithm Hash digest
SHA256 63afbb6d0fa3b9564bcdd64ced685d0db17b0e5558794de1205a6bd977af04c2
MD5 6c9d836f35551edaca3510ba27d5eecd
BLAKE2b-256 cafa396c53c36c34d7f79e3d344011d81bfee091e24e6a5074ed2412287e6001

See more details on using hashes here.

Supported by

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