
commonMain.app.moviebase.provider.omdb.Omdb.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of movie-providers-js Show documentation
Show all versions of movie-providers-js Show documentation
Kotlin Multiplatform library to access several Movie Providers.
package app.moviebase.provider.omdb
import app.moviebase.provider.core.remote.HttpClientFactory
import app.moviebase.provider.core.remote.StreamingLogLevel
import app.moviebase.provider.omdb.api.OmdbApi
import io.ktor.client.*
class Omdb(
apiKey: String,
logLevel: StreamingLogLevel = StreamingLogLevel.NONE
) {
private val client: HttpClient = HttpClientFactory.build(logLevel)
val api = OmdbApi(apiKey, client)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy