AnimeCatalogueSource

Properties

Link copied to clipboard
abstract val id: Long

Id for the source. Must be unique.

Link copied to clipboard
abstract val lang: String

An ISO 639-1 compliant language code (two letters in lower case).

Link copied to clipboard
abstract val name: String

Name of the source.

Link copied to clipboard
abstract val supportsLatest: Boolean

Whether the source has support for latest updates.

Functions

Link copied to clipboard
abstract fun fetchAnimeDetails(anime: SAnime): Observable<SAnime>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun fetchSearchAnime(page: Int, query: String, filters: AnimeFilterList): Observable<AnimesPage>
Link copied to clipboard
abstract fun fetchVideoList(episode: SEpisode): Observable<List<Video>>
Link copied to clipboard
abstract suspend fun getAnimeDetails(anime: SAnime): SAnime

Get the updated details for a anime.

Link copied to clipboard
abstract suspend fun getEpisodeList(anime: SAnime): List<SEpisode>

Get all the available episodes for a anime.

Link copied to clipboard

Returns the list of filters for the source.

Link copied to clipboard
open suspend fun getLatestUpdates(page: Int): AnimesPage

Get a page with a list of latest anime updates.

Link copied to clipboard
open suspend fun getPopularAnime(page: Int): AnimesPage

Get a page with a list of anime.

Link copied to clipboard
open suspend fun getSearchAnime(page: Int, query: String, filters: AnimeFilterList): AnimesPage

Get a page with a list of anime.

Link copied to clipboard
abstract suspend fun getVideoList(episode: SEpisode): List<Video>

Get the list of videos a episode has.