OpenBudget.uz uchun Asinxron kutubxona!!!
Project description
OpenBudget
pip install OpenBudgetAPI -U
OpenBudget.uz tizimining Ovoz berish xizmatini ishlatish uchun yordamchi.
Foydalanishni boshlash uchun OpenBudget classidan obyekt olamiz va ushbu obyektdan kerakli so'rovlarni yuborib foydalanishimiz mumkin bo'ladi.
Mavjud so'rovlar:
- Telefon nomerga kod yuborish.
- Kelgan kodni tasdiqlash.
Namuna:
from asyncio import get_event_loop
from openbudget import OpenBudget
async def main():
openbudget = OpenBudget(phone='99899#######', application='######')
data: dict = await openbudget.send_code()
if data.get('token'):
code: str = input('******')
response: dict = await openbudget.vote(token=data.get('token'), code=code)
print(response)
await openbudget.close()
if __name__ == '__main__':
get_event_loop().run_until_complete(main())
Diqqat eslatma!
Siz ushbu yordamchi dasturdan foydalanishda barcha javobgarlikni o'zingizga olasiz, ushbu dastur ishlab chiquvchisi sizning harakatlaringizga javobgar emas.
🔗 Manzili: https://openbudget.uz
💻 Dasturchi: https://t.me/IbrohimBultakov
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
OpenBudgetAPI-1.0.1.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for OpenBudgetAPI-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 789962e1408bbbd6cf66fd90ff4772f6011b61ae4d43350069c46027fcb7a9c6 |
|
MD5 | 4e926b95af0602a746dbd18460b6da82 |
|
BLAKE2b-256 | e5d109f4b9909238ffdecae8c6fe61d2409588ede5862e36c1e6dc962312a1b2 |