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.2.tar.gz
(2.7 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.2.tar.gz.
File metadata
- Download URL: zalobot_python-0.1.2.tar.gz
- Upload date:
- Size: 2.7 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 |
f91c448ea8bf60d0342261eab3bcf24291262eac296852389cae3b43e2855e93
|
|
| MD5 |
19116a3d10e0d4f654e290aa6d397e2f
|
|
| BLAKE2b-256 |
0eabc228eff37d65d80448045cdb9adecc8db88d7d6e725d38969b0b703853df
|
File details
Details for the file zalobot_python-0.1.2-py3-none-any.whl.
File metadata
- Download URL: zalobot_python-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.3 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 |
144e00d570a4691f77e1218239556d7f49dd8f18a8ca58d932ef0b3545e09ec0
|
|
| MD5 |
0cab2fecee6852edd1ba8ffe34135c55
|
|
| BLAKE2b-256 |
9b87e45c15665f479c9d6f338e2a1e26e8461deab419a1944b3db0fb52f01ffd
|