Model Reference

Most of the specialized object types have a corresponding wrapper functions.

FeaturedContainer

The FeaturedContainer object is a simple static featured container struct.

Required Fields

NameTypeDescription
featured[AnimeLink]The featured anime links
latest[AnimeLink]Links to the latest (last updated) anime on this server

BasicFeaturedContainer

The BasicFeaturedContainer object is a simple static featured container struct.

Required Fields

NameTypeDescription
featured[AnimeLink]The featured anime links
latest[AnimeLink]Links to the latest (last updated) anime on this server

Anime

The Anime object represents a collection of information about the AnimeLink, the streaming servers and episodes, as well as the references to the tracking contexts of the AnimeLink.

Required Fields

NameTypeDescription
linkAnimeLinkThe AnimeLink struct for all possible links
descriptionStringThe description of an anime
on[Anime.ServerIdentifier: String]The array of servers available of an anime
episodes[Anime.ServerIdentifier: EpisodeLinksCollection]The array of lists of episodes

Optional Fields

NameTypeDescription
aliasStringAnother name for the anime
additionalAttributes[Anime.AttributeKey: Any]provide additional information for Anime struct
episodesAttributes[EpisodeLink: Anime.AdditionalEpisodeLinkInformation]provide additional information for EpisodeLink struct

The AnimeLink object is a struct container for all possible links.

Required Fields

NameTypeDescription
titleStringThe title of an anime
linkURLThe link to the anime
imageURLThe link to the anime image
sourceSourceThe source of the anime

Episode

The Episode object is a struct that wraps information of an anime episode.

Required Fields

NameTypeDescription
linkEpisodeLinkThe EpisodeLink information of an episode
targetURLThe link to the anime episode
parentAnimeThe parent Anime struct

Optional Fields

NameTypeDescription
refererStringThe HTTP referer header to identify where a user is visiting from
userInfo[String: Any]Additional userInfo information

The EpisodeLink object is a codable stuct that wraps information of an episode for the Anime.

Required Fields

NameTypeDescription
identifierAnime.EpisodeIdentifierAn identifier of the episode
nameStringThe name of the episode
serverAnime.ServerIdentifierThe array of servers available of an anime
parentAnimeLinkThe parent Anime struct

AdditionalEpisodeLinkInformation

The AdditionalEpisodeLinkInformation object contains a set of optional information to the EpisodeLink. It is attached to the Anime object to provide additional information for EpisodeLink struct.

Required Fields

NameTypeDescription
parentEpisodeLinkThe parent EpisodeLink struct

Optional Fields

NameTypeDescription
synopsisStringAn alternate name of the anime episode
airDateStringThe air date of the anime episode
seasonStringThe season of when the anime episode was released
episodeNumbersIntThe episode number of the anime episode
titleStringThe episode title of the anime episode