Skip to main content

Basic Configuration

Import CorsaClient and configure it with your API URL and token:

Configuration Options

Custom Headers and Timeout

Async Client

For async applications, use AsyncCorsaClient:

Context Managers

Both clients support context managers for automatic cleanup:

Direct Module Access

For full control over the HTTP response (status code, headers, raw body), use the generated API modules directly with the underlying AuthenticatedClient: