Skip to main content

📱 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, síncrona y orientada a eventos para interactuar con la red de ToDus. Te permite crear bots interactivos, manejar grupos y canales, enviar contenido multimedia, publicar historias y mucho más, todo usando Python puro.

Cobertura del protocolo: 100% de las funciones de la app oficial (inspeccionada desde el código fuente Android).


📦 Instalación

pip install todus-API

🚀 Uso Rápido (Tu primer bot)

from todus import ToDusClient2

# 1. Configura tus credenciales
client = ToDusClient2("5350000000", password="tu_password")
client.login()

# 2. Crea un callback para los mensajes
def responder_mensajes(msg):
    if msg.get("body"):
        print(f"Recibido: {msg['body']}")
        client.send_message(msg['from'], f"¡Hola! Recibí: {msg['body']}")

# 3. Empieza a escuchar
print("Bot en ejecución...")
client.listen_messages(responder_mensajes)

📚 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.

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.6.1.tar.gz (61.5 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.6.1-py3-none-any.whl (63.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: todus_api-1.6.1.tar.gz
  • Upload date:
  • Size: 61.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for todus_api-1.6.1.tar.gz
Algorithm Hash digest
SHA256 e7be0e4172ddf5dcb9d9aeceed235b1288ed190525c9d1f2843a09321e61245e
MD5 d78a49390901f01343421ae989c5d59d
BLAKE2b-256 2bbf5ede8e1b4bba28da4f8ba8cc16ae8d123cc976f60ebbb9bd527049d78b2c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: todus_api-1.6.1-py3-none-any.whl
  • Upload date:
  • Size: 63.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for todus_api-1.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7706e03e7ebb6b5b1f27452be9a795bb8af7d45560a38d775919d08c85bd97a5
MD5 f19a4a2d5099bd4544d4fb9935cdd438
BLAKE2b-256 7a18e16298f6cec11e25acfa22634c4ed32295f38e0f0b80078a111b5347d45d

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 Sentry Error logging StatusPage Status page