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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
botliy-1.0.0.tar.gz
(2.6 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 botliy-1.0.0.tar.gz.
File metadata
- Download URL: botliy-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40689bb6533bc3c62153ba712a32395e0e1c9b01af551efc0b7d30f5fc477364
|
|
| MD5 |
6384adfd9fad92451e4bf8b0b7b70dc1
|
|
| BLAKE2b-256 |
5301353d995ae2d4ba6f3a1579f921dc5a534b57018da47f2e9a6f4474592a7a
|
File details
Details for the file botliy-1.0.0-py3-none-any.whl.
File metadata
- Download URL: botliy-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5bbdfed207269f2282c975604a1a40c1131ffb81d79ce1d6093bff3fcfa02a3
|
|
| MD5 |
d1b7e0459c499f8167820bee96b1b234
|
|
| BLAKE2b-256 |
4ccdaf50e990baaaf4e207ab3782de5eaa006790be56813361633b1c8c4f1247
|