argus-tmdb-client

Kotlin Multiplatform Argus Client

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

com.pajato.argus
ArtifactId

ArtifactId

argus-tmdb-client
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

pom
Description

Description

argus-tmdb-client
Kotlin Multiplatform Argus Client
Project URL

Project URL

https://github.com/pajato/argus-tmdb-client
Project Organization

Project Organization

Pajato Technologies LLC
Source Code Management

Source Code Management

https://github.com/pajato/argus-tmdb-client

Download argus-tmdb-client

How to add to project

<!-- https://jarcasting.com/artifacts/com.pajato.argus/argus-tmdb-client/ -->
<dependency>
    <groupId>com.pajato.argus</groupId>
    <artifactId>argus-tmdb-client</artifactId>
    <version>0.1.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.pajato.argus/argus-tmdb-client/
implementation 'com.pajato.argus:argus-tmdb-client:0.1.0'
// https://jarcasting.com/artifacts/com.pajato.argus/argus-tmdb-client/
implementation ("com.pajato.argus:argus-tmdb-client:0.1.0")
'com.pajato.argus:argus-tmdb-client:pom:0.1.0'
<dependency org="com.pajato.argus" name="argus-tmdb-client" rev="0.1.0">
  <artifact name="argus-tmdb-client" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.pajato.argus', module='argus-tmdb-client', version='0.1.0')
)
libraryDependencies += "com.pajato.argus" % "argus-tmdb-client" % "0.1.0"
[com.pajato.argus/argus-tmdb-client "0.1.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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"

com.pajato.argus

Versions

Version
0.1.0
0.0.2