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.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)[https://developer.rechargepayments.com].
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
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
Release history Release notifications | RSS feed
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.0.tar.gz
(24.5 kB
view hashes)
Built Distribution
Close
Hashes for recharge_api-1.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be9b6e56db3d9b6e9962f22b4a2adb0f0f26d70623e035136660cf789cd068b6 |
|
MD5 | e9d1af70c75b8cfbe3582be038e06eb5 |
|
BLAKE2b-256 | 571124336a389c5f099aaa06514486e7abd462b181a8493cb1a07bd0fc91d97a |