- Installierbares Package mit pyproject.toml - Client-Klasse mit Sync, Async (mit Polling), Webhook, Verify, Download - Typisierte Exception-Hierarchie - Webhook-Signatur-Verifikation (HMAC-SHA-256) - Pytest-Suite + Quickstart und Webhook-Receiver-Beispiel
37 lines
949 B
Python
37 lines
949 B
Python
"""hightrusted CAPTURE — Python SDK.
|
|
|
|
Forensische Web-Captures mit qualifiziertem Zeitstempel nach RFC 3161 / eIDAS Art. 41.
|
|
|
|
Quickstart:
|
|
>>> from hightrusted_capture import Client
|
|
>>> client = Client(api_key="ht_live_...")
|
|
>>> capture = client.capture(url="https://example.com")
|
|
>>> print(capture["verify_url"])
|
|
|
|
Dokumentation: https://capture.hightrusted.net/api/docs
|
|
"""
|
|
|
|
from hightrusted_capture.client import Client
|
|
from hightrusted_capture.errors import (
|
|
CaptureNotFoundError,
|
|
HightrustedError,
|
|
InvalidApiKeyError,
|
|
QuotaExceededError,
|
|
RateLimitedError,
|
|
UnreachableUrlError,
|
|
)
|
|
from hightrusted_capture.webhooks import verify_webhook_signature
|
|
|
|
__version__ = "0.1.0"
|
|
|
|
__all__ = [
|
|
"Client",
|
|
"HightrustedError",
|
|
"InvalidApiKeyError",
|
|
"QuotaExceededError",
|
|
"RateLimitedError",
|
|
"CaptureNotFoundError",
|
|
"UnreachableUrlError",
|
|
"verify_webhook_signature",
|
|
"__version__",
|
|
]
|