Skip to main content

Installation

Requirements: Python 3.10+. Single dependency: httpx.

Configuration

Tracking Events

Fluent Builder

The actor() method starts a fluent chain. Call .track() at the end to send.

With Resource Object

Full Builder Example

PendingEvent Methods

Raw Tracking

For full control, pass a payload dict directly:

Batch Ingestion

Maximum 100 events per batch.

Querying Events

from_date and to_date map to the API’s from and to parameters. Python reserves from as a keyword.

Available Filters

Retrieving a Single Event

Verification

Viewer Tokens

Alerts

Exports

Anchors

Error Handling

The SDK raises ImmutableError for API failures:

Django Integration

FastAPI Integration

Flask Integration