Skip to main content

Python API client for the Alma Installments API

Project description


Travis Build Status PyPI

Python API Client for the Alma API


pip install alma-client


from alma import Client

alma_client = Client(api_key="sk_test..")
payments = alma_client.payments.fetch_all()

for p in payments:
    print(f"{}: Paiement en {len(p.payment_plan)} fois")

payment_data = {
    "purchase_amount": 10000,
    "return_url": "",
    "shipping_address": {
        "first_name": "Martin",
        "last_name": "Dupond",
        "line1": "1 rue de Rivoli",
        "postal_code": "75004",
        "city": "Paris"

eligibility = alma_client.payments.eligibility(payment_data)
if eligibility.eligible:


1.1.0 (2020-03-25)

  • Add support for Python 3.5+

1.0.1 (2020-03-24)

  • Automatically detects the API mode from the api_key.

1.0.0 (2020-03-24)

  • Create a Python client for Alma
  • Handle Order entity for Payment
  • Handle the refund endpoint
  • Handle pagination for orders
  • Handle the send-sms API for payments.

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 alma-client, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size alma_client-1.1.0-py3-none-any.whl (14.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size alma-client-1.1.0.tar.gz (11.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page