StandaloneTmdbClient

A factory used to create TmdbClient instances that don't require any surrounding framework.

Functions

Link copied to clipboard
@JvmName(name = "WithApiKeyProvider")
operator fun invoke(apiKeyProvider: TmdbApiKeyProvider): TmdbClient

Creates a new TmdbClient that authenticates all requests using the API key provided by the specified TmdbApiKeyProvider.

@JvmName(name = "WithApiKey")
operator fun invoke(apiKey: String): TmdbClient

Creates a new TmdbClient that authenticates all requests using the provided API key.