commonMain.app.moviebase.tmdb.api.TmdbCompaniesApi.kt Maven / Gradle / Ivy
package app.moviebase.tmdb.api
import app.moviebase.tmdb.model.TmdbCompanyDetail
import app.moviebase.tmdb.remote.endPointV3
import io.ktor.client.*
import io.ktor.client.request.*
class TmdbCompaniesApi(private val client: HttpClient) {
suspend fun getDetails(companyId: Int): TmdbCompanyDetail = client.get {
endPointV3("company", companyId.toString())
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy