Skip to main content

Cliente Python para ToDus (mensajería cubana) — chat, grupos, archivos, stickers y más

Project description

📱 toDus-API

PyPI Python Tests Publish Docs License

Cliente Python para ToDus — la plataforma de mensajería instantánea cubana.

📖 LEER LA DOCUMENTACIÓN COMPLETA AQUÍ 📖


⚡ ¿Qué es toDus-API?

Es una librería moderna, asíncrona y orientada a eventos para interactuar con la red de ToDus. Te permite crear bots interactivos, manejar grupos y canales, enviar contenido multimedia y ver o publicar historias, todo usando Python puro.

Cobertura del protocolo: 100% de las funciones de la app oficial.


📦 Instalación

pip install todus-API

🚀 Uso Rápido (Tu primer bot)

from todus import ToDusClient

# 1. Configura tus credenciales
client = ToDusClient("5350000000", token="tu_token_aqui")

# 2. Crea manejadores de eventos (handlers)
@client.on_message
def responder_mensajes(client: ToDusClient, msg):
    if not msg.is_own and msg.text:
        client.send_text_message(msg.sender, f"¡Hola! Recibí: {msg.text}")

# 3. Ponlo a escuchar
print("Bot en ejecución...")
client.run()

📚 Documentación y Recursos

Toda la información detallada sobre autenticación, subida de archivos, historias, canales, grupos, bloqueos y más la encontrarás en nuestro sitio web oficial de documentación:

👉 https://eljoker63.github.io/toDus-API


Desarrollado con ❤️ por ElJoker63.

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

todus_api-1.5.6.tar.gz (44.3 kB view details)

Uploaded Source

Built Distribution

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

todus_api-1.5.6-py3-none-any.whl (46.4 kB view details)

Uploaded Python 3

File details

Details for the file todus_api-1.5.6.tar.gz.

File metadata

  • Download URL: todus_api-1.5.6.tar.gz
  • Upload date:
  • Size: 44.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for todus_api-1.5.6.tar.gz
Algorithm Hash digest
SHA256 e5fea227dc4fad26d904ab25a5dbb695060f9311b9cfa5e509f1f861df41e7d2
MD5 60a47a70ac0114d4f73d121fbe3fa816
BLAKE2b-256 7498031c07af2622d80bbafc83df1119f9739701c1b00afecbca96053427908a

See more details on using hashes here.

File details

Details for the file todus_api-1.5.6-py3-none-any.whl.

File metadata

  • Download URL: todus_api-1.5.6-py3-none-any.whl
  • Upload date:
  • Size: 46.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for todus_api-1.5.6-py3-none-any.whl
Algorithm Hash digest
SHA256 996098ea95b94139642a9f00dcb5a0f969d64ee968fe9efcb7147e465b974c9c
MD5 758b5ad3c702a942e61d964a023214c9
BLAKE2b-256 42318f5faa7e0a5c53d94c082343fdb32b5eb8539b9acf0d471dd332668a0f6b

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