This library is needed for working with api.keksik.io. It provides convenient tools for processing the API of this website.
Project description
pykeksikapi
Для начала импортируем и инициализируем экземпляр класса:
from pykeksikapi import KeksikAPI
keksik = KeksikAPI(token='your_keksik_token', group_id='your_id_group')
Пример получения списка донатов сообщества, сортировка по сумме доната:
await keksik.donates.get(sort='amount')
Пример получения текущего баланса кексика:
outcome = await keksik.other.balance()
print(outcome.balance) # Покажет текущий баланс кексика
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
pykeksikapi-0.22.tar.gz
(5.1 kB
view details)
File details
Details for the file pykeksikapi-0.22.tar.gz
.
File metadata
- Download URL: pykeksikapi-0.22.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0875aa656fa6c4610b18edcad806b6ed4d4905bcfe5c5d3d8f2168421c68698 |
|
MD5 | 046e7d682256ae376dde890651aa847d |
|
BLAKE2b-256 | 79198fda65964487b59af1acc3f0da2fce3d78090c62feafe5ef0684b20d409f |