ScryfallBaseApi

constructor(config: ScryfallConfig = ScryfallConfig(), engine: HttpClientEngine? = null, logger: (String) -> Unit? = null)

Parameters

config

Configuration options for the API client

engine

Optional custom Ktor HTTP engine

logger

Optional custom logger function for logging HTTP requests/responses. If provided and logging is enabled in config, this logger will be used. If not provided, the default platform logger will be used.