Python API Client 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.
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
- Recharge API 2021-01
- Recharge API 2021-11
- Recharge API Webhook Examples 2021-01
- Recharge API Webhook Examples 2021-11
License
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.9.1.tar.gz
(26.0 kB
view hashes)
Built Distribution
Close
Hashes for recharge_api-1.9.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b100f2692ed2b853c800c62f9d88b294453b4e9905997cfd528241fbb603c9bc |
|
MD5 | fb2b0aa19293a33ac5698cd51632f544 |
|
BLAKE2b-256 | 96da49a24255c55d7ef63ab2dd8dfb9bafa051d8fea09e3b9c0e05f7c47d1084 |