Skip to content

Releases: GLEF1X/glQiwiApi

Stable release 0.2.18

25 Apr 17:29
Compare
Choose a tag to compare

➕ Fixed critical bug, connected with wrong work of YooMoneyAPI

Stable release 0.2.17

25 Apr 10:07
Compare
Choose a tag to compare

☑️ Fixed bug connected with invalid exceptions

☑️ Code review and small refactors were done

Stable release 0.2.16

24 Apr 17:30
Compare
Choose a tag to compare

☑️ 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

Stable release 0.2.14

21 Apr 21:09
Compare
Choose a tag to compare

☑️ Some bug fixes, connected to wrong work QiwiMaps and sync adapter. Now it's working stable.

☑️ Some changes with cache, rename from SimpleCache to Storage. Change methods.

☑️ Add stub file basics.pyi for sync adapter and other utility functions.

Beta release 0.2.13

20 Apr 13:21
8a6f620
Compare
Choose a tag to compare

☑️ Add sync calls coverage

from glQiwiApi import sync, QiwiWrapper

wallet = QiwiWrapper(
    api_access_token='TOKEN',
    phone_number='+number',
    without_context=True  # pass on without_context variable
)


def main():
    print(sync(wallet.get_balance))


main()

☑️ Add QIWI Terminal Maps API coverage by QiwiMaps class

☑️ Finally, pydantic models were added for YooMoney.

☑️ Deprecated useless parameter public_p2p from QiwiWrapper

Stable release 0.2.12

13 Apr 18:48
Compare
Choose a tag to compare

☑️ Add support for python 3.7

☑️ Add SimpleCache class for query caching(feature in beta)

  • ➕ This makes it possible to improve the performance of API queries example

☑️ In 0.2.12 it's easy to integrate glQiwiApi to telegram bots using aiogram

☑️ Some bug fixes and reformat code, add __slots__ to API

☑️ Also add orjson support, but it`s optional

Beta release 0.2.11

06 Apr 18:02
Compare
Choose a tag to compare

➕ Some bug fixes, changed structure of API


➕ Added docs

Beta release 0.2.1

04 Apr 14:57
Compare
Choose a tag to compare

☑️Add pydantic models for QiwiWrapper

  • ➕This speeds up the api by almost 10%
  • ➕This makes it possible to get absolutely any object from the api answer.

☑️ Some fixes with aiohttp parser, add __aenter__ and __aexit__ dunder methods

  • ➕ In 0.2.1 api use only 1 client session to reach the endpoint
  • ➕ This gives x3 performance for the api

☑️ Add new methods to yoo_money and qiwi api

☑️ Add custom exceptions for different status codes

  • ➕ This gives your code more granularity
  • ➕ In 0.2.1 u can handle exceptions and get json representation of errors
from glQiwiApi import QiwiWrapper
# Pass the async with context
w = QiwiWrapper(without_context=True)

☑️Another features

  • Token parameters are now optional in 0.2.1, but you must to pass on they to work with api
  • Custom check the Bill object, but you can use the old version if you like it
from glQiwiApi import QiwiWrapper
async def main():
    async with QiwiWrapper(secret_p2p='my_p2p') as w:
        w.public_p2p = 'my_public_p2p'
        bill = await w.create_p2p_bill(amount=1)
        # new version
        new_status = await bill.check()
        # old version
        old_status = (await w.check_p2p_bill_status(bill.bill_id))== 'PAID'

Stable release 0.1.9

02 Apr 17:30
Compare
Choose a tag to compare

Bugfixes and modified parser for json data