> ## Documentation Index
> Fetch the complete documentation index at: https://docs.justpaid.io/llms.txt
> Use this file to discover all available pages before exploring further.

> This SDK provides a simple interface to interact with the JustPaid API for usage-based billing.

# JustPaid API SDK

### Features

* Retrieve billable items

* Ingest usage events

* Batch ingest multiple usage events asynchronously

```
pip install justpaid
```

### Quick Start

```
from justpaid import JustPaidAPI

print(justpaid.__version__) # Should print "0.x.x"

# Initialize the API client
api = JustPaidAPI(api_token="your_api_token_here")

# Get billable items by customer_id
items = api.get_billable_items(customer_id="customer-123")

# Or get billable items by external_customer_id
items = api.get_billable_items(external_customer_id="ext-customer-123")

print(items)
```

###
