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-2.0.6.tar.gz
(43.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file recharge_api-2.0.6.tar.gz.
File metadata
- Download URL: recharge_api-2.0.6.tar.gz
- Upload date:
- Size: 43.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a562d86e7cc9e76e123753b689daa8f5ff9820768df8f1c1a7add14d075ddc3b
|
|
| MD5 |
96ca59bcef60596e18b914233c39c1fd
|
|
| BLAKE2b-256 |
d972d8194699c331322e00aa50d1b165690a63cdb9ea7639fe91aacb66c58707
|
File details
Details for the file recharge_api-2.0.6-py3-none-any.whl.
File metadata
- Download URL: recharge_api-2.0.6-py3-none-any.whl
- Upload date:
- Size: 80.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e4057afb81d25b956548dedc49136750ee47388c04b2bd887eacf72bdfca3e5
|
|
| MD5 |
1f3bdfe773c2245cfaf0eebb61f4bcca
|
|
| BLAKE2b-256 |
404364f3a07b92a3e5c9be525e9c0cde678f65324673c477efd38fb75f65d21f
|