Python SDK for the Zalo Bot API
Project description
WIP: Python SDK for the ZaloBot API
Installation
For uv-astral
uv add zalobot_python
For pip
pip install zalobot_python
Usage
import asyncio
from zalobot_python import ZaloBot, BotInfo
bot = ZaloBot(BOT_TOKEN="<BOT TOKEN>")
async def main():
bot_info: BotInfo = await bot.getMe()
print(f"Bot ID: {bot_info.id}")
print(f"Bot Name: {bot_info.display_name}")
asyncio.run(main())
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
zalobot_python-0.1.0.tar.gz
(2.4 kB
view details)
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 zalobot_python-0.1.0.tar.gz.
File metadata
- Download URL: zalobot_python-0.1.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53c13d175350bea6cbb17b0ac1fd3d297f8cc4ba08f0c7f8c29795143c2eae21
|
|
| MD5 |
012407c1b91c5647fcf67743ec3a6363
|
|
| BLAKE2b-256 |
ee6a5a68dd66d2dc882a880eb3947c065be9ae880b54597758285ee739045b4e
|
File details
Details for the file zalobot_python-0.1.0-py3-none-any.whl.
File metadata
- Download URL: zalobot_python-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d7f2482c935427eaf28b3510421a44dc55473754c42db260373b835081fcd7e
|
|
| MD5 |
394780c82b6ed56ae0a4659c06d85cab
|
|
| BLAKE2b-256 |
acc2fd586923f0bef9341cc219e1a6a51f0057d50f77a6a446d3b6d1a401f92a
|