Skip to main content

The official API SDK for botliy.online

Project description

Botliy Python SDK

The official API SDK for botliy.online to easily communicate with our platform using Python.

Installation

pip install botliy

Basic Usage

from botliy import Botliy

# Initialize the client
client = Botliy(
    api_token="your_api_token", 
    bot_id="your_bot_id",
    webhook_secret="your_optional_webhook_secret"
)

# Post Bot Stats
client.post_stats(server_count=1500, shard_count=1)

# Check user vote
response = client.check_vote("user_discord_id")
if response.get("voted") == 1:
    print("User cast a vote!")

t\x00r\x00i\x00g\x00g\x00e\x00r\x00 \x00 \x00

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

botliysdk-1.0.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

botliysdk-1.0.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file botliysdk-1.0.0.tar.gz.

File metadata

  • Download URL: botliysdk-1.0.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for botliysdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b0bb9490826b3a216cd282f7499d4e675aec7e195aaa2779ee199a4fe6d64807
MD5 119333cd8c156517ee2af4e38fdedcae
BLAKE2b-256 9a2249fd25f9b26242f5bb4f7595ad731fa9aa0b037910f654ab8ca354050ddb

See more details on using hashes here.

File details

Details for the file botliysdk-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: botliysdk-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for botliysdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 42cba6e45ac591ac86015d8b3e8e8bacb3e10bc88655b9001eccf1a657d7d2f1
MD5 71852b07a6b09a6e0a44f849dabb2c5f
BLAKE2b-256 f90020ebbd7697f7cb964abb64d27c5d00839bb9ff0b63cca7fd7de04f19cbd9

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