Skip to content

pajato/argus-tmdb-client

Repository files navigation

argus-tmdb-client

TMDB PoweredBy Logo

license: LGPL v3 build: passing codecov: 100

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"

About

Kotlin multi-platform client for Android and iOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages