Cliente Python para ToDus (mensajería cubana) — chat, grupos, archivos, stickers y más
Project description
📱 toDus-API
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
- ToDus oficial: ToDus Web
- PyPI: toDus-API
- Changelog: CHANGELOG.md
- Contribuir: CONTRIBUTING.md
Desarrollado con ❤️ por ElJoker63.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file todus_api-1.6.0.tar.gz.
File metadata
- Download URL: todus_api-1.6.0.tar.gz
- Upload date:
- Size: 51.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c53381a3d416a034e3b907884ccae6c736473389b9dd2054695093e1abf98ba
|
|
| MD5 |
2a032544c122823d70c6e748c45de32a
|
|
| BLAKE2b-256 |
de149de408f5504e68aef945c62c5f16e7e224432f65083036ffd2fe9337753f
|
File details
Details for the file todus_api-1.6.0-py3-none-any.whl.
File metadata
- Download URL: todus_api-1.6.0-py3-none-any.whl
- Upload date:
- Size: 54.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3efd045346cece277c13271cabee743e66ac7e13985177167385ca7c0d5d302
|
|
| MD5 |
e9964336747a3c6641341704fd80a91a
|
|
| BLAKE2b-256 |
4d230e9a8de97ef6437883b8a4806a41a63e0774ea64308516380cc4ea4cbc93
|