Package-level declarations

Types

Link copied to clipboard
data class Anime(val id: Int, val title: String, val mainPicture: Picture? = null, val alternativeTitles: AlternativeTitles? = null, val startDate: LocalDate? = null, val endDate: LocalDate? = null, val synopsis: String? = null, val mean: Float? = null, val rank: Int? = null, val popularity: Int? = null, val numListUsers: Int? = null, val numScoringUsers: Int? = null, val nsfw: Nsfw? = null, val createdAt: Instant? = null, val updatedAt: Instant? = null, val mediaType: MediaType? = null, val status: AnimeStatus? = null, val genres: List<Genre>? = null, val myListStatus: UserAnimeListStatus? = null, val numEpisodes: Int? = null, val startSeason: StartSeason? = null, val broadcast: Broadcast? = null, val source: Source? = null, val averageEpisodeDuration: Int? = null, val rating: Rating? = null, val pictures: List<Picture>? = null, val background: String? = null, val relatedAnime: List<RelatedAnime>? = null, val relatedManga: List<RelatedManga>? = null, val recommendations: List<Recommendation>? = null, val studios: List<Studio>? = null, val statistics: Statistics? = null)

Represents an anime in the MyAnimeList database.

Link copied to clipboard

Represents the optional fields that can be requested when retrieving anime information.

Link copied to clipboard
data class AnimeNode(val id: Int, val title: String, val mainPicture: Picture? = null)

A simplified anime node used in relationships and recommendations.

Link copied to clipboard

The type of anime ranking.

Link copied to clipboard

The airing status of an anime.

Link copied to clipboard
data class Broadcast(val dayOfTheWeek: DayOfWeek? = null, val startTime: String? = null)

Represents the broadcast schedule of an anime.

Link copied to clipboard

The day of the week.

Link copied to clipboard

The media type of an anime.

Link copied to clipboard
data class RankedAnime(val anime: Anime, val rank: Int, val previousRank: Int? = null)

Represents an anime with its ranking information.

Link copied to clipboard
enum Rating : Enum<Rating>

The age rating of an anime.

Link copied to clipboard
data class Recommendation(val node: AnimeNode, val numRecommendations: Int)

Represents a recommendation for this anime.

Link copied to clipboard
data class RelatedAnime(val node: AnimeNode, val relationType: String, val relationTypeFormatted: String)

Represents a relationship between this anime and another anime.

Link copied to clipboard
data class RelatedManga(val node: MangaNode, val relationType: String, val relationTypeFormatted: String)

Represents a relationship between this anime and a manga.

Link copied to clipboard
enum Season : Enum<Season>

The season when an anime started airing.

Link copied to clipboard

Sorting options for seasonal anime.

Link copied to clipboard
enum Source : Enum<Source>

The source material of an anime.

Link copied to clipboard
data class StartSeason(val year: Int, val season: Season)

Represents the starting season of an anime.

Link copied to clipboard
data class Statistics(val status: StatisticsStatus, val numListUsers: Int)

Represents statistics about an anime.

Link copied to clipboard
data class StatisticsStatus(val watching: Int, val completed: Int, val onHold: Int, val dropped: Int, val planToWatch: Int)

Represents the breakdown of list statuses in statistics.

Link copied to clipboard
data class Studio(val id: Int, val name: String)

Represents a production studio.

Link copied to clipboard
data class UserAnimeListItem(val anime: Anime, val listStatus: UserAnimeListStatus? = null)

Represents an item in a user's anime list.

Link copied to clipboard

Sorting options for a user's anime list.

Link copied to clipboard
data class UserAnimeListStatus(val status: UserAnimeListStatusType, val score: Int, val numEpisodesWatched: Int, val isRewatching: Boolean, val updatedAt: Instant, val startDate: LocalDate? = null, val finishDate: LocalDate? = null, val priority: Int? = null, val numTimesRewatched: Int? = null, val rewatchValue: Int? = null, val tags: List<String> = emptyList(), val comments: String? = null)

Represents the status of an anime in a user's list.

Link copied to clipboard

The status of an anime in a user's list.