"""
Pixwell - Official Python SDK for Pixwell Screenshot API

Example usage:
    from pixwell import Pixwell

    client = Pixwell(api_key="your-api-key")

    # Capture a screenshot
    screenshot = client.screenshot(
        url="https://example.com",
        width=1920,
        height=1080,
        format="png"
    )

    # Save to file
    with open("screenshot.png", "wb") as f:
        f.write(screenshot.data)
"""

from .client import Pixwell, AsyncPixwell
from .exceptions import (
    PixwellError,
    AuthenticationError,
    RateLimitError,
    ValidationError,
    CaptureError,
    NetworkError,
)
from .types import (
    ScreenshotOptions,
    ScreenshotResponse,
    BatchOptions,
    BatchResponse,
    BatchResultItem,
    UsageResponse,
)

__version__ = "1.0.0"
__all__ = [
    # Client
    "Pixwell",
    "AsyncPixwell",
    # Exceptions
    "PixwellError",
    "AuthenticationError",
    "RateLimitError",
    "ValidationError",
    "CaptureError",
    "NetworkError",
    # Types
    "ScreenshotOptions",
    "ScreenshotResponse",
    "BatchOptions",
    "BatchResponse",
    "BatchResultItem",
    "UsageResponse",
]
