Skip to content

Stable release 0.2.16

Compare
Choose a tag to compare
@GLEF1X GLEF1X released this 24 Apr 17:30

☑️ Added webhooks and handlers. More docs: here.

from glQiwiApi import QiwiWrapper, types

wallet = QiwiWrapper(
    api_access_token='TOKEN',
    secret_p2p='SECRET_P2P'
)


@wallet.bill_handler()
async def handle_event(event: types.Notification):
    print(event)


wallet.start_webhook(port=80)

☑️ Added QIWI API methods to register, delete and configure webhook: bind_webhook, get_webhook_secret_key, get_current_webhook, change_webhook_secret and other.

☑️ Deleted unnecessar dependency aiosocks