Python API Wrapper for Recharge
Project description
This library makes interacting with the Recharge API dead simple.
Installation
pip install recharge
Usage
from recharge import RechargeAPI
api = RechargeAPI(access_token='XXXXX')
response = api.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
api.Address api.Charge api.Checkout api.Customer api.Order api.Subscription
Methods Available
api.*.create api.*.update api.*.get api.*.list api.Address.apply_discount api.Checkout.charge api.Order.change_date api.Order.delete api.Subscription.cancel api.Subscription.set_next_charge_date
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-1.0.0.tar.gz
(3.6 kB
view hashes)
Built Distribution
recharge-1.0.0-py3.6.egg
(7.0 kB
view hashes)