Skip to main content

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("https://api.justpaid.io", "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


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.0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

justpaid-0.1.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file justpaid-0.1.0.tar.gz.

File metadata

  • Download URL: justpaid-0.1.0.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

Hashes for justpaid-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1d7c177556ca37a35e9fdb682ed7f19ad1caa0e484bf2df959f6ade513f27a68
MD5 3198fee69e900af9f3365dc0505910be
BLAKE2b-256 0ccc54d961cd841020aa1bcf41a83a4250448f2634336d265516eae4a8aba8bd

See more details on using hashes here.

File details

Details for the file justpaid-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: justpaid-0.1.0-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

Hashes for justpaid-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f66261100799516ddd09b115aedb44486342b70f8f4a834931189f4b9ef4e48a
MD5 739eac4392e68126655d5b394a808833
BLAKE2b-256 c47d027ad74b090cd0651dc7c263b33fead412f1ee88d41004f75891a04f14ff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page