APIHolder

object APIHolder

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Context.filterProviderByPreferredMedia(hasHomePageIsRequired: Boolean = true): List<MainAPI>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun getCaptchaToken(url: String, key: String, referer: String? = null): String?

Gets the website captcha token discovered originally by https://github.com/ahmedgamal17 optimized by https://github.com/justfoolingaround

Link copied to clipboard
Link copied to clipboard
suspend fun getTracker(titles: List<String>, types: Set<TrackerType>?, year: Int?): Tracker?

backwards compatibility, use getTracker4 instead

suspend fun getTracker(titles: List<String>, types: Set<TrackerType>?, year: Int?, lessAccurate: Boolean): Tracker?

Get anime tracker information based on title, year and type. Both titles are attempted to be matched with both Romaji and English title. Uses the anilist api.

Link copied to clipboard
fun initAll()
Link copied to clipboard
Link copied to clipboard