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 hashes)

Uploaded Source

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