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 details)
Built Distribution
File details
Details for the file OpenBudgetAPI-1.0.1.tar.gz
.
File metadata
- Download URL: OpenBudgetAPI-1.0.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 781e649f069f93f37f233f6715e66078a73a2354d755379e0c18b4b85fa72100 |
|
MD5 | b5242e6843c7340f5c3f9e4b62513ee2 |
|
BLAKE2b-256 | b2c5d5bcca5c08f2bf6ccb45a2e00f9abe772648dc1a73db34d47e23beffb649 |
File details
Details for the file OpenBudgetAPI-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: OpenBudgetAPI-1.0.1-py3-none-any.whl
- Upload date:
- Size: 1.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 789962e1408bbbd6cf66fd90ff4772f6011b61ae4d43350069c46027fcb7a9c6 |
|
MD5 | 4e926b95af0602a746dbd18460b6da82 |
|
BLAKE2b-256 | e5d109f4b9909238ffdecae8c6fe61d2409588ede5862e36c1e6dc962312a1b2 |