Skip to main content

Python API Wrapper for Recharge

Project description

Recharge API Wrapper

Installation

pip install recharge-api

Usage

from recharge import RechargeAPI

client = Recharge(access_token='XXXXX')

response = client.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)[https://developer.rechargepayments.com].

Resources Available

  • Addresses
  • Charges
  • Checkouts
  • Customers
  • Discounts
  • Metafields
  • Notifications
  • Onetimes
  • Orders
  • Products
  • Shop
  • Subscriptions
  • Webhooks
  • Async Batches

License

MIT. See LICENSE for more details.

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

Uploaded Source

Built Distribution

recharge_api-1.5.0-py3-none-any.whl (20.7 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