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.3.tar.gz (2.7 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.3-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file zalobot_python-0.1.3.tar.gz.

File metadata

  • Download URL: zalobot_python-0.1.3.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

Hashes for zalobot_python-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f0b3d5ca3fa25749e9f4ca7e73a946c1e40710fb5aca7c67da5fbf2370adf426
MD5 bca3c0d72a57ade261132768e6f9827b
BLAKE2b-256 69da2f06c97bab1c572d41adf276d8773f9d34e3715928b046608cb73a524f30

See more details on using hashes here.

File details

Details for the file zalobot_python-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: zalobot_python-0.1.3-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

Hashes for zalobot_python-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8b2e7d4a167873f35c636353c961a5b9b8a7d7f8a747c72e8409d5766aeb122e
MD5 08658b7e431b8aa9c015461674467f1f
BLAKE2b-256 9467dc2e07d7d2810461dc87a021bf13dbaf172967cae1ad8b43fcb55f397592

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