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

Uploaded Source

File details

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

File metadata

  • Download URL: pykeksikapi-0.20.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.20.tar.gz
Algorithm Hash digest
SHA256 d238545af7993a91e90f19790e9b18a1b8d7161db5da3fdcd00832ccb3fdac2d
MD5 fcbc7a99d8d68e5c401bf12b2dac7365
BLAKE2b-256 1c7a8f9c098903b0c41dadd12e6e8fb62cdf0916b73f791d30329384e9c2c0fe

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