Skip to main content

A simple Ordway API wrapper.

Project description

Ordway

Ordway is a simple API wrapper for Ordway. It's currently in pre-alpha stage, so be wary if you decide to use this in production. Please report any issues you encounter.

Installation

The easiest way to install ordway is via pip.

pip install ordway

Quickstart

from ordway import OrdwayClient

ordway = OrdwayClient(
    email="EMAIL",
    user_token="USER_TOKEN",
    api_key="API_KEY",
    company="COMPANY",
)

for payment in ordway.payments.all():
    print(payment)

for subscription in ordway.subscriptions.list(
    page = 1, 
    filters = { "updated_date>": "2020-01-01" }, 
    sort="updated_date", 
    ascending=False
):
    print(subscription)

print(ordway.customers.get(id="CUST-01"))

Documentation

TODO

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

ordway-0.2.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

ordway-0.2.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file ordway-0.2.0.tar.gz.

File metadata

  • Download URL: ordway-0.2.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2

File hashes

Hashes for ordway-0.2.0.tar.gz
Algorithm Hash digest
SHA256 abe6899203dbe72f001c62dae0f6fe4f6da6a363c1af3d2d449c282c23499486
MD5 8ea11b2884512fcd6dc6ca0f8f456eef
BLAKE2b-256 d8611a5708734ff2942a2540a08978d70805afbf18d5a757373f3f71b9ca87b9

See more details on using hashes here.

File details

Details for the file ordway-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ordway-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2

File hashes

Hashes for ordway-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e4df24d34a67c1afa5967106abd7c3b9794473dde1ba9398bede8d59c6ccf48
MD5 430884a26ef9536135ab02f1b5cd63f3
BLAKE2b-256 3f0794450f2e8e4375d5f1df13751d5b6642b79314b0d49f6702c12ecc9b0f0a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page