Skip to main content

Оболочка для использования BelarusBankAPI на Python

Project description

BelarusBankAPI

Оболочка для использования BelarusBankAPI на Python


Quick Start

from BelarusBank import BelBankAPI

def main(city: str):
    bank = BelBankAPI()
    print(bank.get_infobox(city))

if __name__ == '__main__':
    main('Минск')

Asyncio Method

import asyncio
from BelarusBank import AIOBelBankAPI

async def main(city: str):
    bank = AIOBelBankAPI()
    gems = await bank.get_gems(city)
    print(gems)

if __name__ == '__main__':
    loop = asyncio.get_event_loop()
    loop.run_until_complete(main('Гродно'))

by BARL

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

BelarusBank-1.1.0.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file BelarusBank-1.1.0.tar.gz.

File metadata

  • Download URL: BelarusBank-1.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.6

File hashes

Hashes for BelarusBank-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c32fec9250d5b053906e5c09ecd3c470293c649dd227427883621d42c846d042
MD5 195a9936ac27d51086600942e42398c8
BLAKE2b-256 8397edb0f04f34868d976c23840c7ff74109581141ad5010b458b6cc5d457765

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