argus-tmdb-client
Overview
A multi-platform Kotlin library providing dataset access to The Movie Database (tmdb) for Android and iOS devices.
API
const val BASE_URL = "https://tmdb.pajato.com"
/** Access the reference (first) page returning a TmdbData object of type T1 or TmdbError.*/
fun <T1: TmdbData> getFirstPage(type: KClass<T1>, pageSize: Int, baseUrl: String = BASE_URL): Page<TmdbData>
/** Access the next page returning a TmdbData object of type T1 or TmdbError.*/
fun <T1: TmdbData> getNextPage(type: KClass<T1>, pageSize: Int): Page<TmdbData>
/** Access the previous page returning a TmdbData object of type T1 or TmdbError.*/
fun <T1: TmdbData> getPrevPage(type: KClass<T1>, pageSize: Int, page: Page<T1>): Page<TmdbData>
Version 0.1.0 is available via jcenter or Maven Central using: "com.pajato.argus:argus-tmdb-client:0.1.0"