Skip to main content

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.

Files for alfa-orders, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size alfa_orders-0.2.0-py3-none-any.whl (17.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size alfa-orders-0.2.0.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page