# JustPaid API Python SDK
This SDK provides a simple interface to interact with the JustPaid API for usage-based billing.
## Installation
```bash
pip install justpaid
```
## Quick Start
```python
from justpaid import JustPaidAPI
# Initialize the API client
api = JustPaidAPI("https://api.justpaid.io", "your_api_token_here")
# Get billable items
items = api.get_billable_items()
print(items)
```
for more examples, see the [examples](examples/) directory.
## Features
- Retrieve billable items
- Ingest usage events
- Batch ingest multiple usage events
## Documentation
For detailed API documentation and examples, see the [docs](https://docs.justpaid.io/api-reference/) directory.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
Raw data
{
"_id": null,
"home_page": "https://github.com/loopfour/justpaid-python-sdk",
"name": "justpaid",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "JustPaid Development",
"author_email": "engineering@justpaid.io",
"download_url": "https://files.pythonhosted.org/packages/0c/cc/54d961cd841020aa1bcf41a83a4250448f2634336d265516eae4a8aba8bd/justpaid-0.1.0.tar.gz",
"platform": null,
"description": "# JustPaid API Python SDK\n\nThis SDK provides a simple interface to interact with the JustPaid API for usage-based billing.\n\n## Installation\n\n```bash\npip install justpaid\n```\n\n## Quick Start\n\n```python\nfrom justpaid import JustPaidAPI\n\n# Initialize the API client\napi = JustPaidAPI(\"https://api.justpaid.io\", \"your_api_token_here\")\n\n# Get billable items\nitems = api.get_billable_items()\n\nprint(items)\n```\n\nfor more examples, see the [examples](examples/) directory.\n\n## Features\n\n- Retrieve billable items\n- Ingest usage events\n- Batch ingest multiple usage events\n\n\n## Documentation\n\nFor detailed API documentation and examples, see the [docs](https://docs.justpaid.io/api-reference/) directory.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n",
"bugtrack_url": null,
"license": null,
"summary": "A Python SDK for the JustPaid API",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/loopfour/justpaid-python-sdk"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c47d027ad74b090cd0651dc7c263b33fead412f1ee88d41004f75891a04f14ff",
"md5": "739eac4392e68126655d5b394a808833",
"sha256": "f66261100799516ddd09b115aedb44486342b70f8f4a834931189f4b9ef4e48a"
},
"downloads": -1,
"filename": "justpaid-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "739eac4392e68126655d5b394a808833",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 8275,
"upload_time": "2024-08-29T04:44:59",
"upload_time_iso_8601": "2024-08-29T04:44:59.721519Z",
"url": "https://files.pythonhosted.org/packages/c4/7d/027ad74b090cd0651dc7c263b33fead412f1ee88d41004f75891a04f14ff/justpaid-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0ccc54d961cd841020aa1bcf41a83a4250448f2634336d265516eae4a8aba8bd",
"md5": "3198fee69e900af9f3365dc0505910be",
"sha256": "1d7c177556ca37a35e9fdb682ed7f19ad1caa0e484bf2df959f6ade513f27a68"
},
"downloads": -1,
"filename": "justpaid-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "3198fee69e900af9f3365dc0505910be",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 7676,
"upload_time": "2024-08-29T04:45:01",
"upload_time_iso_8601": "2024-08-29T04:45:01.809407Z",
"url": "https://files.pythonhosted.org/packages/0c/cc/54d961cd841020aa1bcf41a83a4250448f2634336d265516eae4a8aba8bd/justpaid-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-29 04:45:01",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "loopfour",
"github_project": "justpaid-python-sdk",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "justpaid"
}