getTracker

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

backwards compatibility, use getTracker4 instead


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

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.

Parameters

titles

uses first index to search, but if you have multiple titles and want extra guarantee to match you can also have that

types

Optional parameter to narrow down the scope to Movies, TV, etc. See TrackerType.getTypes()

year

Optional parameter to only get anime with a specific year