Skip to main content

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


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.21.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file pykeksikapi-0.21.tar.gz.

File metadata

  • Download URL: pykeksikapi-0.21.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

Hashes for pykeksikapi-0.21.tar.gz
Algorithm Hash digest
SHA256 00af8a921da7e965e9843f1c55d3e356e9c84c17ef7df8ed0da6327abab8ba86
MD5 edde05ab25cc752dd8ca1b441dc2c73a
BLAKE2b-256 304f5f12f6b6dde46ad9f2f816de9746bfc36983b1428cf8823496b435beba3e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page