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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

recharge_api-1.20.0-py3-none-any.whl (75.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: recharge_api-1.20.0.tar.gz
  • Upload date:
  • Size: 39.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for recharge_api-1.20.0.tar.gz
Algorithm Hash digest
SHA256 70b69a88a4bada3bb84bb9446d2244d2aef2b8e4c0aa66ee6a58e7e6cf13140f
MD5 cee1903ec11a54fcbdf6ef4ea3de24e5
BLAKE2b-256 d0b3bc46ef0c765970ab82c1548579640a76280ffb00a6c78202d46a1f95137c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: recharge_api-1.20.0-py3-none-any.whl
  • Upload date:
  • Size: 75.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for recharge_api-1.20.0-py3-none-any.whl
Algorithm Hash digest
SHA256 63c8b6e627c712b76d173ff4392c54c0ad02e715741aafb7236fa49c73c2084d
MD5 c42d42d5f9f6a8efaefb69e7ef9a30fc
BLAKE2b-256 33e4e67097cdaecd34a64b3f51f36bead43c431576dcfbf7c7cf4e088e4db892

See more details on using hashes here.

Supported by

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