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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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