Оболочка для использования 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('Гродно'))
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
BelarusBank-1.1.0.tar.gz
(2.8 kB
view hashes)