Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zalobot_python-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

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

Hashes for zalobot_python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 53c13d175350bea6cbb17b0ac1fd3d297f8cc4ba08f0c7f8c29795143c2eae21
MD5 012407c1b91c5647fcf67743ec3a6363
BLAKE2b-256 ee6a5a68dd66d2dc882a880eb3947c065be9ae880b54597758285ee739045b4e

See more details on using hashes here.

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

Hashes for zalobot_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d7f2482c935427eaf28b3510421a44dc55473754c42db260373b835081fcd7e
MD5 394780c82b6ed56ae0a4659c06d85cab
BLAKE2b-256 acc2fd586923f0bef9341cc219e1a6a51f0057d50f77a6a446d3b6d1a401f92a

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