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.6.3.tar.gz (25.0 kB view hashes)

Uploaded Source

Built Distribution

recharge_api-1.6.3-py3-none-any.whl (44.8 kB view hashes)

Uploaded Python 3

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