# Recharge API Wrapper
[![Python](https://img.shields.io/pypi/pyversions/recharge-api.svg)](https://badge.fury.io/py/recharge-api)
[![PyPI](https://badge.fury.io/py/recharge-api.svg)](https://badge.fury.io/py/recharge-api)
[![PyPI](https://github.com/ChemicalLuck/recharge-api/actions/workflows/python-publish.yml/badge.svg)](https://github.com/ChemicalLuck/recharge-api/actions/workflows/python-publish.yml)
![PyPI - Downloads](https://img.shields.io/pypi/dm/recharge-api)
## Installation
```bash
pip install recharge-api
```
## Usage
```python
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](https://developer.rechargepayments.com).
## 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
- [Recharge API 2021-01](https://developer.rechargepayments.com/2021-01/)
- [Recharge API 2021-11](https://developer.rechargepayments.com/2021-11/)
- [Recharge API Webhook Examples 2021-01](https://docs.getrecharge.com/docs/webhook-payload-examples)
- [Recharge API Webhook Examples 2021-11](https://docs.getrecharge.com/docs/webhooks-examples-2021-11)
## License
[MIT](LICENSE)
## Acknowledgements
This project is a fork of recharge-api by BuluBox which is no longer available.
Raw data
{
"_id": null,
"home_page": null,
"name": "recharge-api",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": "ChemicalLuck <j.tebbett@outlook.com>",
"download_url": "https://files.pythonhosted.org/packages/d6/d2/0fe31a4069060f324063cab33f6ca9a786dc899087e5427e9e204a196f47/recharge_api-1.6.3.tar.gz",
"platform": null,
"description": "# Recharge API Wrapper\n\n[![Python](https://img.shields.io/pypi/pyversions/recharge-api.svg)](https://badge.fury.io/py/recharge-api)\n[![PyPI](https://badge.fury.io/py/recharge-api.svg)](https://badge.fury.io/py/recharge-api)\n[![PyPI](https://github.com/ChemicalLuck/recharge-api/actions/workflows/python-publish.yml/badge.svg)](https://github.com/ChemicalLuck/recharge-api/actions/workflows/python-publish.yml)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/recharge-api)\n\n## Installation\n\n```bash\npip install recharge-api\n```\n\n## Usage\n\n```python\nfrom recharge import RechargeAPI\n\nclient = Recharge(access_token='XXXXX')\n\nresponse = client.v1.Order.list({'status': 'QUEUED', 'limit': '250'})\n\nfor order in response['orders']:\n print(order['id'])\n```\n\nFor more details on the content of the reponses, visit the [official recharge API docs](https://developer.rechargepayments.com).\n\n## Resources Available\n### v1(2021-01)\n- Address\n- Charge\n- Checkout\n- Customer\n- Discount\n- Metafield\n- Notification\n- Onetime\n- Order\n- Product\n- Shop\n- Subscription\n- Webhook\n- Async Batch\n### v2(2021-11)\n- Address\n- BundleSelection\n- Charge\n- Checkout\n- Collection\n- Customer\n- Discount\n- Metafield\n- Notification\n- Onetime\n- Order\n- Payment Method\n- Plan\n- Retention Strategy\n- Subscription\n- Webhook\n- Async Batch\n- Token\n- Account\n- Event\n- Store\n\n## Resources\n\n- [Recharge API 2021-01](https://developer.rechargepayments.com/2021-01/)\n- [Recharge API 2021-11](https://developer.rechargepayments.com/2021-11/)\n- [Recharge API Webhook Examples 2021-01](https://docs.getrecharge.com/docs/webhook-payload-examples)\n- [Recharge API Webhook Examples 2021-11](https://docs.getrecharge.com/docs/webhooks-examples-2021-11)\n\n## License\n\n[MIT](LICENSE)\n\n## Acknowledgements\n\nThis project is a fork of recharge-api by BuluBox which is no longer available.\n",
"bugtrack_url": null,
"license": null,
"summary": "Python API Client for Recharge",
"version": "1.6.3",
"project_urls": {
"Homepage": "http://github.com/ChemicalLuck/recharge-api"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b8f2a36d295858de894f7e2450f857f8c38e6287723f618e3b02a7fcc5ed60f3",
"md5": "16f5a0d7cdabd28355fca0ccf62ef422",
"sha256": "dd52648edc749697c5f1acca43beb2446ae687d9f45a2e2add74fe962e3d9539"
},
"downloads": -1,
"filename": "recharge_api-1.6.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "16f5a0d7cdabd28355fca0ccf62ef422",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 44809,
"upload_time": "2024-05-10T14:15:26",
"upload_time_iso_8601": "2024-05-10T14:15:26.711992Z",
"url": "https://files.pythonhosted.org/packages/b8/f2/a36d295858de894f7e2450f857f8c38e6287723f618e3b02a7fcc5ed60f3/recharge_api-1.6.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d6d20fe31a4069060f324063cab33f6ca9a786dc899087e5427e9e204a196f47",
"md5": "83bbca1890fc1da7b2196a41b223705c",
"sha256": "782ab98743035590b9011081eb9a2e53f8e3d3f1d2677540de763c9e0097d73d"
},
"downloads": -1,
"filename": "recharge_api-1.6.3.tar.gz",
"has_sig": false,
"md5_digest": "83bbca1890fc1da7b2196a41b223705c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 24990,
"upload_time": "2024-05-10T14:15:28",
"upload_time_iso_8601": "2024-05-10T14:15:28.362904Z",
"url": "https://files.pythonhosted.org/packages/d6/d2/0fe31a4069060f324063cab33f6ca9a786dc899087e5427e9e204a196f47/recharge_api-1.6.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-10 14:15:28",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ChemicalLuck",
"github_project": "recharge-api",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "certifi",
"specs": [
[
"==",
"2024.2.2"
]
]
},
{
"name": "charset-normalizer",
"specs": [
[
"==",
"3.3.2"
]
]
},
{
"name": "idna",
"specs": [
[
"==",
"3.7"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.31.0"
]
]
},
{
"name": "urllib3",
"specs": [
[
"==",
"2.2.1"
]
]
}
],
"lcname": "recharge-api"
}