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))
Release files for alfa-orders 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| alfa-orders-0.4.0.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| alfa_orders-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.8 kB
Release files / alfa-orders-0.4.0.tar.gz
| Download URL | alfa-orders-0.4.0.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d161191ef842c8b0fc4796028ee4b205c0ef1f22a38e427da3f9acf9eb5cc9a7
|
|
BLAKE2b-256 checksum How to use checksums |
c69d8d0ac8b47ffa55ba84f34dc28ef051da32d4f12f6cd3bbce092a43536533
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.2 CPython/3.7.1 Windows/10
|
Release files / alfa_orders-0.4.0-py3-none-any.whl
| Download URL | alfa_orders-0.4.0-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff331c9fb0ab3f28e011b56d4f021f1980629a09bcb6dd246de7c9dd392f6fee
|
|
BLAKE2b-256 checksum How to use checksums |
ac17cc958ef5a29bc9c78eb6e5d099e6bff6518ef8baa7611630b018338bd999
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.2 CPython/3.7.1 Windows/10
|