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-2.0.5.tar.gz (43.5 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-2.0.5-py3-none-any.whl (80.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: recharge_api-2.0.5.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

Hashes for recharge_api-2.0.5.tar.gz
Algorithm Hash digest
SHA256 ddb9485cfc3a7ef1eb39e995796ac25ad9a180a71e7eae688ececb5f6998efc1
MD5 3325cf6235b6c3d22646c4e7178701af
BLAKE2b-256 f4751bdfec46bf8876523bec1bbb4316469d78d567f1036c81a35ba9231f098e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: recharge_api-2.0.5-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

Hashes for recharge_api-2.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 55e7736021872470f9505c7c4b3cff6c01324432695186954b4cf573bd3158f1
MD5 7b7ab31f266e3a045cd905826095b2d7
BLAKE2b-256 602d13949d1408e75a57e2c0a480dfd4dc4edb38707dfe865f019ff73b4fad67

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