semvec/pypi-packages huggingface dataset:
vaultik-api-client 1.1.0
Official Python client for Vaultik AI Authentication API
Requires Python: >=3.8

# vaultik-api-client

Official Python client for Vaultik AI Authentication API.

## Installation

```bash
pip install vaultik-api-client
```

## Quick Start (Images-only)

```python
from vaultik import VaultikClient

client = VaultikClient(api_key='vaultik_...')

# Analyze product (images only); optionally skip photo challenges
result = client.analyze(
    image_paths=['watch1.jpg', 'watch2.jpg'],
    metadata=None,
    skip_photo_challenges=True
)

print(f"Certificate ID: {result['certificateId']}")
```

## Features

- ✅ Type hints throughout
- ✅ Streaming (SSE) helper
- ✅ Automatic polling
- ✅ Photo challenge handling
- ✅ Progress callbacks
- ✅ Comprehensive error handling
- ✅ Python 3.8+

## Streaming (SSE)

```python
def handle_msg(evt):
    print('event:', evt.get('event'), 'data:', evt.get('data'))

client.stream_job(job_id='your_job_id', on_message=handle_msg)
```

## Documentation

Full documentation: https://app.vaultik.com/dashboard/developer/docs

## License

MIT