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.19.3.tar.gz (38.9 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.19.3-py3-none-any.whl (75.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: recharge_api-1.19.3.tar.gz
  • Upload date:
  • Size: 38.9 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.19.3.tar.gz
Algorithm Hash digest
SHA256 89f56ddaf3935768ebed8349499bf72a593f076a762c7642dffbc689f1cb663c
MD5 59670dde872562112788957fc7d2d577
BLAKE2b-256 e874ffee7a4090781920b2d6cb47850675b959347552d7e77c7c2020ace4bc2c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: recharge_api-1.19.3-py3-none-any.whl
  • Upload date:
  • Size: 75.6 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.19.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c27ca4a3f505030831c0d319e3c10ee4c0eee61f82f524ed3e6e443b79e7d469
MD5 9e7c5f9d723740cfe6045ec9c69d3766
BLAKE2b-256 37bd516af5dc797b507e5aadda863366ef5392b9b2583d7a6a61d47b9ea92992

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