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-2.0.1.tar.gz (43.2 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-2.0.1-py3-none-any.whl (81.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: recharge_api-2.0.1.tar.gz
  • Upload date:
  • Size: 43.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for recharge_api-2.0.1.tar.gz
Algorithm Hash digest
SHA256 c3d005017f53d6c15a62425004f4ba0cbed8ec6d27637ab4cfd475f540d723d7
MD5 db4955b7d797ec09d710a45943f8f51a
BLAKE2b-256 878ca6a1da5087a299180378d47dd42ba43031a20ad1f5db5c3bb5c7eff42c8a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: recharge_api-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 81.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for recharge_api-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 879d91665617c4859f626a964d13e364d1b0ff8cb4ddd8ddf5765962cfb19e54
MD5 c71c2fc102cc5a6c4d51750025b9c958
BLAKE2b-256 dcef48ad9ca854eae782ab808876fc1a4894f5709099df041561c97c0be426ac

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