A Python SDK for the JustPaid API
Project description
JustPaid API Python SDK
This SDK provides a simple interface to interact with the JustPaid API for usage-based billing.
Installation
pip install justpaid
Quick Start
from justpaid import JustPaidAPI
# Initialize the API client
api = JustPaidAPI(api_token="your_api_token_here")
# Get billable items
items = api.get_billable_items()
print(items)
for more examples, see the examples directory.
Features
- Retrieve billable items
- Ingest usage events
- Batch ingest multiple usage events
Documentation
For detailed API documentation and examples, see the docs directory.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
justpaid-0.1.1.tar.gz
(7.7 kB
view details)
Built Distribution
File details
Details for the file justpaid-0.1.1.tar.gz
.
File metadata
- Download URL: justpaid-0.1.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8b994b8d21e665200e4a2b22654c5fd427a29fe9de6c4951ef6f627a8436b79 |
|
MD5 | 07dda71ba29fd0ae671e7bc026f40e32 |
|
BLAKE2b-256 | 52d9808d6d78739cff7004fe3ceefb194759885e7fa7ba47b29870856a0b5014 |
File details
Details for the file justpaid-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: justpaid-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a510ebcd9e3c29acca1b0d12c97b0b9cd913e09d334f41b338ac601549d13aa |
|
MD5 | 5aff6fea84ea82b50b3c52e9d1770399 |
|
BLAKE2b-256 | fbe3111359dbc72d55899c38cc66d5ac30ae3c4d003c08e245775407e8655add |