Skip to main content

Lib for loading AlfaBank orders

Project description


Lib for loading AlfaBank orders from


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)

Uploaded source

Built Distribution

alfa_orders-0.4.0-py3-none-any.whl (9.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page