Lib for loading AlfaBank orders
Project description
alfa-orders
Lib for loading AlfaBank orders from https://engine.paymentgate.ru
Usage:
import datetime as dt
from alfa_orders.api import AlfaService
username, password = ("**********", "**********")
service = AlfaService(username, password)
# from_date, to_date should be in UTC+3
from_date, to_date = dt.datetime(2019, 9, 1), dt.datetime(2019, 10, 1)
transactions = list(service.get_transactions(from_date, to_date))
refunds = list(service.get_refunds(from_date, to_date))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
alfa-orders-0.4.0.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for alfa_orders-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff331c9fb0ab3f28e011b56d4f021f1980629a09bcb6dd246de7c9dd392f6fee |
|
MD5 | 7e9f7cb075bffd1196c18af4bbf12948 |
|
BLAKE2b-256 | ac17cc958ef5a29bc9c78eb6e5d099e6bff6518ef8baa7611630b018338bd999 |