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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alfa-orders-0.4.0.tar.gz.
File metadata
- Download URL: alfa-orders-0.4.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.2 CPython/3.7.1 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d161191ef842c8b0fc4796028ee4b205c0ef1f22a38e427da3f9acf9eb5cc9a7
|
|
| MD5 |
3e672609c1e21a724a306b12f73daa5c
|
|
| BLAKE2b-256 |
c69d8d0ac8b47ffa55ba84f34dc28ef051da32d4f12f6cd3bbce092a43536533
|
File details
Details for the file alfa_orders-0.4.0-py3-none-any.whl.
File metadata
- Download URL: alfa_orders-0.4.0-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.2 CPython/3.7.1 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff331c9fb0ab3f28e011b56d4f021f1980629a09bcb6dd246de7c9dd392f6fee
|
|
| MD5 |
7e9f7cb075bffd1196c18af4bbf12948
|
|
| BLAKE2b-256 |
ac17cc958ef5a29bc9c78eb6e5d099e6bff6518ef8baa7611630b018338bd999
|