Metadata-Version: 2.4
Name: timeback-webhooks
Version: 0.2.1b20260313233319
Summary: Timeback Webhooks client for managing webhook registrations and filters
Project-URL: Homepage, https://developer.timeback.com
Project-URL: Documentation, https://docs.timeback.com
Project-URL: Repository, https://github.com/superbuilders/timeback-dev-python
Author-email: Timeback <dev@timeback.dev>
License-Expression: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Typing :: Typed
Requires-Python: >=3.12
Requires-Dist: pydantic>=2.0
Requires-Dist: timeback-common>=0.1.0
Description-Content-Type: text/markdown

# timeback-webhooks

Timeback Webhooks client for managing webhook registrations and filters.

## Installation

```bash
pip install timeback-webhooks
```

## Usage

```python
from timeback_webhooks import WebhooksClient

client = WebhooksClient(
    env="staging",
    client_id="your-client-id",
    client_secret="your-client-secret",
)

# Create a webhook
webhook = await client.webhooks.create({
    "name": "My Webhook",
    "targetUrl": "https://myapp.example.com/events",
    "secret": "my-shared-secret",
    "active": True,
})

# Add a filter
filter = await client.webhook_filters.create({
    "webhookId": webhook.id,
    "filterKey": "type",
    "filterValue": "ActivityEvent",
    "filterType": "string",
    "filterOperator": "eq",
    "active": True,
})
```
