Documentation
¶
Index ¶
Constants ¶
View Source
const ( AnimeListStatusWatching = 1 AnimeListStatusCompleted = 2 AnimeListStatusPlanned = 6 AnimeListStatusHold = 3 AnimeListStatusDropped = 4 )
AnimeListStatus values for anime list items
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Anime ¶
type Anime struct {
ID string
URL string
Title string
EnglishTitle string
JapaneseTitle string
Image string
Synonyms []string
Synopsis string
Rating string
SynopsisSource string
Status string
Source string
StartDate string
EndDate string
EpisodeCount int
EpisodeLength int
Genres []string
Studios []*Producer
Producers []*Producer
Licensors []*Producer
Characters []*AnimeCharacter
}
Anime represents an anime on MyAnimeList.
type AnimeCharacter ¶
AnimeCharacter represents a character connection on MyAnimeList anime.
type AnimeList ¶
type AnimeList []*AnimeListItem
AnimeList is just a slice of anime list items.
func GetAnimeList ¶
GetAnimeList returns the user's anime list.
type AnimeListItem ¶
type AnimeListItem struct {
AnimeID int `json:"anime_id"`
AnimeTitle string `json:"anime_title"`
Status int `json:"status"`
Score int `json:"score"`
IsRewatching bool `json:"is_rewatching"`
NumWatchedEpisodes int `json:"num_watched_episodes"`
}
AnimeListItem represents a single list item.
type Character ¶
type Character struct {
ID string
URL string
Image string
Name string
JapaneseName string
Description string
Spoilers []string
}
Character represents a character on MyAnimeList.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.