Skip to main content

Python API Client for Recharge

Project description

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.

Project details


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.17.3.tar.gz (38.7 kB view details)

Uploaded Source

Built Distribution

recharge_api-1.17.3-py3-none-any.whl (75.4 kB view details)

Uploaded Python 3

File details

Details for the file recharge_api-1.17.3.tar.gz.

File metadata

  • Download URL: recharge_api-1.17.3.tar.gz
  • Upload date:
  • Size: 38.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for recharge_api-1.17.3.tar.gz
Algorithm Hash digest
SHA256 3a39c251ac8602fd61f651ee52d755b8e071c8900f238d3d908bab6f5c9cb1aa
MD5 e2124d5bcca857b232bf892bc154bb3b
BLAKE2b-256 fd01a1a5d8ebf56ac3fb869656d72b77aad3d972f0489a17faac75b59923ac38

See more details on using hashes here.

File details

Details for the file recharge_api-1.17.3-py3-none-any.whl.

File metadata

File hashes

Hashes for recharge_api-1.17.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e984ad0573c288a6dccd9dd49ea61707026285a555c514dd8bfc35df24986606
MD5 155e0c3fc9fc2c46d5d35118320d8144
BLAKE2b-256 36ef26800ba9c2c765cc7397a58ddb96fab1269252ed6e6a16087796d4bb7c43

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page