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.1.tar.gz
(2.5 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.1.tar.gz.
File metadata
- Download URL: zalobot_python-0.1.1.tar.gz
- Upload date:
- Size: 2.5 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 |
b868705db9236a66bc26f1cc3218a618e97c44b38502349ce05234153bae0d06
|
|
| MD5 |
660db8ef365944a6e2e3383a465660cd
|
|
| BLAKE2b-256 |
45e5a1b899f5b635af30f792b4121db85a25628f613cd59ade63f972cff7511a
|
File details
Details for the file zalobot_python-0.1.1-py3-none-any.whl.
File metadata
- Download URL: zalobot_python-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.1 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 |
c14cdfdca03dc5e6a0cf6fa8918a291bcc78d15ee32d521f7648b17237e2d013
|
|
| MD5 |
0f33272eb2c0be73f4a7e048b296ec01
|
|
| BLAKE2b-256 |
f9ab057bfed877dedea64a1ce8664b6e58b58787864cc913a8e8c3f041e7f226
|