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

License

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.0.1.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

ordway-0.0.1-py2.py3-none-any.whl (8.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: ordway-0.0.1.tar.gz
  • Upload date:
  • Size: 6.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/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

File hashes

Hashes for ordway-0.0.1.tar.gz
Algorithm Hash digest
SHA256 77a523c0d80e8cd28a0ab9f9eb6e0dc4e7a41ee120509744bcde743a0ba524db
MD5 367046692a6d7e920d455c851ae3a6bc
BLAKE2b-256 8a1bf841e0632b215d57afac2f82c80e9b6d04947d548c0039a99ea34f389d2b

See more details on using hashes here.

File details

Details for the file ordway-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: ordway-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

File hashes

Hashes for ordway-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6b6eae4b33f739c638c781c57ed6ac5ab53e6d8f59dd01f1bc742fd225365e7e
MD5 ba8c5cbf5fe0377858065d033365a2ca
BLAKE2b-256 99f4aa16f9a3af3cd55faeb7d52bef70cf56e1498dd5255defeb2abacb317482

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