Skip to main content

Python API Client for Recharge

Project description

Recharge API Wrapper

Python PyPI PyPI PyPI - Downloads

Installation

pip install recharge-api

Usage

from recharge import RechargeAPI

client = Recharge(access_token='XXXXX')

response = client.v1.Order.list_({'status': 'QUEUED', 'limit': '250'})

for order in response['orders']:
    print(order['id'])

For more details on the content of the reponses, visit the official recharge API docs.

Resources Available

v1(2021-01)

  • Address
  • Charge
  • Checkout
  • Customer
  • Discount
  • Metafield
  • Notification
  • Onetime
  • Order
  • Product
  • Shop
  • Subscription
  • Webhook
  • Async Batch

v2(2021-11)

  • Address
  • BundleSelection
  • Charge
  • Checkout
  • Collection
  • Customer
  • Discount
  • Metafield
  • Notification
  • Onetime
  • Order
  • Payment Method
  • Plan
  • Retention Strategy
  • Subscription
  • Webhook
  • Async Batch
  • Token
  • Account
  • Event
  • Store

Resources

License

MIT

Acknowledgements

This project is a fork of recharge-api by BuluBox which is no longer available.

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

recharge_api-1.18.1.tar.gz (38.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

recharge_api-1.18.1-py3-none-any.whl (75.5 kB view details)

Uploaded Python 3

File details

Details for the file recharge_api-1.18.1.tar.gz.

File metadata

  • Download URL: recharge_api-1.18.1.tar.gz
  • Upload date:
  • Size: 38.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for recharge_api-1.18.1.tar.gz
Algorithm Hash digest
SHA256 b9124919f814f0fe5924058b647f42d3716b1ab0c4870b4c77b401cc53deb464
MD5 1a448c92d7939d033e87f187aff9a2b6
BLAKE2b-256 1d3f61a9b5c438bd1299e886c8767e77a3a5afde877b2a37fda26d0b0a230c7e

See more details on using hashes here.

File details

Details for the file recharge_api-1.18.1-py3-none-any.whl.

File metadata

  • Download URL: recharge_api-1.18.1-py3-none-any.whl
  • Upload date:
  • Size: 75.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for recharge_api-1.18.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2288ec64a3386c3d40b81055e5b5f743b9b3e75c4479165fc65200478eef329b
MD5 87ed08e6c3c1c6db7dbd6a1b45c62748
BLAKE2b-256 408e364b6cc157344c9b82d2759b7953e3b54263cabae26127a6c1d5ccbbd1f6

See more details on using hashes here.

Supported by

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