Skip to main content

Telegram number checker

Project description

Logo

Telegram Number Checker(Analyze)

Python Version License

IRbots provides a Telegram number status-checking service that lets you verify your target numbers on Telegram and determine whether they are banned, fresh, or already have an active session.

This is a clean and minimal Python wrapper for the irbots.com Telegram number status API, supporting both synchronous and asynchronous usage.

Usage/Examples

  pip install Tgchecker --upgrade

Sync Example

from Tgchecker import TgChecker

client = TgChecker(api_key="YOUR_API_KEY")
result = client.check_sync(["+12345678901", "+989121234567"])
print(result.data)

Async Example

import asyncio
from Tgchecker import TgChecker

async def main():
    client = TgChecker(api_key="YOUR_API_KEY")
    result = await client.check_async(["+12345678901"])
    print(result.data)

asyncio.run(main())

output/Examples

  {"+12345678901": "session", "+989121234567": "ban"}

API Reference

check numbers

  GET http://api.irbots.com/?key={your_api_key}&target=checker&numbers=1,2,3,4

Reponse

json Type Description
Time taken string Time the API took to return response
data string Numbers and their statuses
errors string The numbers that check was not successful
status string Status of the request

Example

  {
  "Time taken": 0.23,
  "data": {
    "+14343540268": "ban",
    "+989175834924": "session"
  },
  "errors": 0,
  "status": "ok"
}

Authors

License

MIT

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

tgchecker-0.3.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

tgchecker-0.3.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file tgchecker-0.3.0.tar.gz.

File metadata

  • Download URL: tgchecker-0.3.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for tgchecker-0.3.0.tar.gz
Algorithm Hash digest
SHA256 daa4c68e3be51b3a10b44f2ad022c7950a12a7caedf6b4b49e02bd8da7773cdb
MD5 03d787a60098da068fc35f8ac54bb38f
BLAKE2b-256 fd93400abdfc6f1ed8ebbd541050b331bd9fd25f5c8d6cc06db5d7d30c9bd81f

See more details on using hashes here.

File details

Details for the file tgchecker-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: tgchecker-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for tgchecker-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8fb1caa34399578e65c333e0879c345f7b09f96c3cd394a3870b0df61f489474
MD5 9e5206ead6fae24b4835f9efcbdb1617
BLAKE2b-256 1bac604fd680993e512ea61897354f01c614ef4eeac90433d97f57280941440e

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