Ani List Api
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class AniListTitleHolder(val title: AniListApi.Title?, val isFavourite: Boolean?, val id: Int?, val progress: Int?, val episodes: Int?, val score: Int?, val type: AniListApi.Companion.AniListStatusType?)
Link copied to clipboard
Link copied to clipboard
data class AniListViewer(val id: Int?, val name: String?, val avatar: AniListApi.AniListAvatar?, val favourites: AniListApi.AniListFavourites?)
Link copied to clipboard
data class Character(val name: AniListApi.CharacterName?, val age: String?, val image: AniListApi.CharacterImage?)
Link copied to clipboard
data class CharacterConnection(val edges: List<AniListApi.CharacterEdge>?, val nodes: List<AniListApi.Character>?)
Link copied to clipboard
data class CharacterEdge(val id: Int?, val role: String?, val name: String?, val voiceActors: List<AniListApi.Staff>?, val favouriteOrder: Int?, val media: List<AniListApi.SeasonMedia>?, val node: AniListApi.Character?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class Entries(val status: String?, val completedAt: AniListApi.CompletedAt, val startedAt: AniListApi.StartedAt, val updatedAt: Int, val progress: Int, val score: Int, val private: Boolean, val media: AniListApi.Media)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class GetDataMedia(val isFavourite: Boolean?, val episodes: Int?, val title: AniListApi.Title?, val mediaListEntry: AniListApi.GetDataMediaListEntry?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class GetSearchMedia(val id: Int, val idMal: Int?, val seasonYear: Int, val title: AniListApi.GetSearchTitle, val startDate: AniListApi.StartedAt, val averageScore: Int?, val meanScore: Int?, val bannerImage: String?, val trailer: AniListApi.TrailerObject?, val nextAiringEpisode: AniListApi.SeasonNextAiringEpisode?, val recommendations: AniListApi.Recommendations?, val relations: AniListApi.SeasonEdges?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class Media(val id: Int, val idMal: Int?, val season: String?, val seasonYear: Int, val format: String?, val episodes: Int, val title: AniListApi.Title, val description: String?, val coverImage: AniListApi.CoverImage, val synonyms: List<String>, val nextAiringEpisode: AniListApi.SeasonNextAiringEpisode?)
Link copied to clipboard
data class MediaCoverImage(val extraLarge: String?, val large: String?, val medium: String?, val color: String?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Used to query a saved MediaItem on the list to get the id for removal
Link copied to clipboard
data class MediaRecommendation(val id: Int, val title: AniListApi.Title?, val idMal: Int?, val coverImage: AniListApi.CoverImage?, val averageScore: Int?)
Link copied to clipboard
data class MediaTitle(val romaji: String?, val english: String?, val native: String?, val userPreferred: String?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class RecommendationConnection(val edges: List<AniListApi.RecommendationEdge> = emptyList(), val nodes: List<AniListApi.Recommendation> = emptyList())
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class SeasonMedia(val id: Int?, val title: AniListApi.MediaTitle?, val idMal: Int?, val format: String?, val nextAiringEpisode: AniListApi.SeasonNextAiringEpisode?, val relations: AniListApi.SeasonEdges?, val coverImage: AniListApi.MediaCoverImage?, val duration: Int?, val episodes: Int?, val genres: List<String>?, val synonyms: List<String>?, val averageScore: Int?, val isAdult: Boolean?, val trailer: AniListApi.MediaTrailer?, val description: String?, val characters: AniListApi.CharacterConnection?, val recommendations: AniListApi.RecommendationConnection?)
Link copied to clipboard
Link copied to clipboard
data class SeasonNode(val id: Int, val format: String?, val title: AniListApi.Title?, val idMal: Int?, val coverImage: AniListApi.CoverImage?, val averageScore: Int?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Set this to true if the user updates something on the list like watch status or score
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Allows certain providers to open pages from library links.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
-1 -> None 0 -> Watching 1 -> Completed 2 -> OnHold 3 -> Dropped 4 -> PlanToWatch 5 -> ReWatching
Link copied to clipboard
Link copied to clipboard