Skip to content

A Python library for interacting with the Recharge REST API. Supports versions 2021-01 and 2021-11.

License

Notifications You must be signed in to change notification settings

ChemicalLuck/recharge-api-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Python library for interacting with the Recharge REST API. Supports versions 2021-01 and 2021-11.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published