Skip to content

Quick Start

Once you have installed the Konigle Python SDK, you can get started with the following steps.

Setup

The SDK requires an API key for authentication. You can obtain an API key from Konigle admin Settings > Developer Settings.

Basic Usage

Here's a simple example of using the SDK:

import konigle

client = konigle.Client(api_key="your-api-key")

# List a set of images
images = client.images.list(page=1, page_size=10)

Error Handling

The SDK provides comprehensive error handling:

from konigle import KonigleError, Client

try:
    client = Client(api_key="your-api-key")
    # Your API calls here
except KonigleError as e:
    print(f"API Error: {e}")

Next Steps