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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: todus_api-1.5.7.tar.gz
  • Upload date:
  • Size: 44.6 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.7.tar.gz
Algorithm Hash digest
SHA256 959fa021f2ae902cf1062009272c437780eef53b04cc8005ba2f81e9c14a7b30
MD5 36d7b5d02cf154b0940db2a85d055543
BLAKE2b-256 239d7225f7c2c2999696088fe99b3861663ffda7d8dc4443777ae06451b7e72e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: todus_api-1.5.7-py3-none-any.whl
  • Upload date:
  • Size: 46.5 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b683732e8aa94286022e702e92956118e2043d52d4c4b6be6fb9afda1bc0853a
MD5 e0b3b467443ccd1c73a4f6e4d642f13b
BLAKE2b-256 c4e405feed317917a7ca837790f32afc6fc03ae358ffda916160eab0522c5f85

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