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(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


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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: justpaid-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 85535652818c55b719d431ad05f75c6c1834e6d4174387e7a1460c9ad000ee6f
MD5 2745f256946db6f6bc8a5db3fd8a9320
BLAKE2b-256 9603d08d39444f10a47d930231e5eb94887531eafb87193f9f0035b5971662e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: justpaid-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6d36c36e5e57a58eaa38b29bf2ca34a41d8e02ff7d055df770b0d8802eb99677
MD5 878afea20ebd1b094550bc49dedcc815
BLAKE2b-256 cbee580083e34414f8c962604d1744636b907afa2b7d8f2cf6213aca4da72fa2

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