Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnimeParser ¶
type AnimeParser struct { parser.BaseParser ID int Data model.Anime }
AnimeParser is parser for MyAnimeList anime information. Example: https://myanimelist.net/anime/1
func InitAnimeParser ¶
func InitAnimeParser(config config.Config, id int) (animeParser AnimeParser, err error)
InitAnimeParser to initiate all fields and data of AnimeParser.
type CharacterParser ¶
type CharacterParser struct { parser.BaseParser ID int Data []model.Character }
CharacterParser is parser for MyAnimeList anime character list. Example: https://myanimelist.net/anime/1/Cowboy_Bebop/characters
func InitCharacterParser ¶
func InitCharacterParser(config config.Config, id int) (character CharacterParser, err error)
InitCharacterParser to initiate all fields and data of CharacterParser.
type EpisodeParser ¶
EpisodeParser is parser for MyAnimeList anime episode list. Example: https://myanimelist.net/anime/1/Cowboy_Bebop/episode
func InitEpisodeParser ¶
func InitEpisodeParser(config config.Config, id int, page ...int) (episode EpisodeParser, err error)
InitEpisodeParser to initiate all fields and data of EpisodeParser.
type PictureParser ¶
type PictureParser struct { parser.BaseParser ID int Data []string }
PictureParser is parser for MyAnimeList anime picture list. Example: https://myanimelist.net/anime/1/Cowboy_Bebop/pics
func InitPictureParser ¶
func InitPictureParser(config config.Config, id int) (picture PictureParser, err error)
InitPictureParser to initiate all fields and data of PictureParser.
type RecommendationParser ¶
type RecommendationParser struct { parser.BaseParser ID int Data []model.Recommendation }
RecommendationParser is parser for MyAnimeList anime recommendation information. Example: https://myanimelist.net/anime/1/Cowboy_Bebop/userrecs
func InitRecommendationParser ¶
func InitRecommendationParser(config config.Config, id int) (recommendation RecommendationParser, err error)
InitRecommendationParser to initiate all fields and data of RecommendationParser.
type ReviewParser ¶
ReviewParser is parser for MyAnimeList anime review list. Example: https://myanimelist.net/anime/1/Cowboy_Bebop/reviews
func InitReviewParser ¶
InitReviewParser to initiate all fields and data of ReviewParser.
type StaffParser ¶
type StaffParser struct { parser.BaseParser ID int Data []model.Staff }
StaffParser is parser for MyAnimeList anime staff list. Example: https://myanimelist.net/anime/1/Cowboy_Bebop/characters
func InitStaffParser ¶
func InitStaffParser(config config.Config, id int) (staff StaffParser, err error)
InitStaffParser to initiate all fields and data of StaffParser.
type StatsParser ¶
StatsParser is parser for MyAnimeList anime stats information. Example: https://myanimelist.net/anime/1/Cowboy_Bebop/stats
func InitStatsParser ¶
InitStatsParser to initiate all fields and data of StatsParser.
type VideoParser ¶
VideoParser is parser for MyAnimeList anime video list. Example: https://myanimelist.net/anime/1/Cowboy_Bebop/video
func InitVideoParser ¶
InitVideoParser to initiate all fields and data of VideoParser.