anime

package
Version: v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 ClubParser added in v0.5.0

type ClubParser struct {
	parser.BaseParser
	ID   int
	Data []model.Club
}

ClubParser is parser for MyAnimeList anime clubs list. Example: https://myanimelist.net/anime/1/Cowboy_Bebop/clubs

func InitClubParser added in v0.5.0

func InitClubParser(config config.Config, id int) (club ClubParser, err error)

InitClubParser to initiate all fields and data of ClubParser.

type DetailParser added in v0.5.0

type DetailParser struct {
	parser.BaseParser
	ID   int
	Data model.Anime
}

DetailParser is parser for MyAnimeList anime information. Example: https://myanimelist.net/anime/1

func InitDetailParser added in v0.5.0

func InitDetailParser(config config.Config, id int) (detail DetailParser, err error)

InitDetailParser to initiate all fields and data of DetailParser.

type EpisodeParser

type EpisodeParser struct {
	parser.BaseParser
	ID   int
	Page int
	Data []model.Episode
}

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 FeaturedParser added in v0.5.0

type FeaturedParser struct {
	parser.BaseParser
	ID   int
	Data []model.Featured
}

FeaturedParser is parser for MyAnimeList anime featured list. Example: https://myanimelist.net/anime/1/Cowboy_Bebop/featured

func InitFeaturedParser added in v0.5.0

func InitFeaturedParser(config config.Config, id int) (featured FeaturedParser, err error)

InitFeaturedParser to initiate all fields and data of FeaturedParser.

type MoreInfoParser added in v0.4.0

type MoreInfoParser struct {
	parser.BaseParser
	ID   int
	Data string
}

MoreInfoParser is parser for MyAnimeList anime more info. Example: https://myanimelist.net/anime/1/Cowboy_Bebop/moreinfo

func InitMoreInfoParser added in v0.4.0

func InitMoreInfoParser(config config.Config, id int) (more MoreInfoParser, err error)

InitMoreInfoParser to initiate all fields and data of MoreInfoParser.

type NewsParser added in v0.4.0

type NewsParser struct {
	parser.BaseParser
	ID   int
	Data []model.News
}

NewsParser is parser for MyAnimeList anime news list. Example: https://myanimelist.net/anime/1/Cowboy_Bebop/news

func InitNewsParser added in v0.4.0

func InitNewsParser(config config.Config, id int) (news NewsParser, err error)

InitNewsParser to initiate all fields and data of NewsParser.

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

type ReviewParser struct {
	parser.BaseParser
	ID   int
	Page int
	Data []model.Review
}

ReviewParser is parser for MyAnimeList anime review list. Example: https://myanimelist.net/anime/1/Cowboy_Bebop/reviews

func InitReviewParser

func InitReviewParser(config config.Config, id int, page ...int) (review ReviewParser, err error)

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

type StatsParser struct {
	parser.BaseParser
	ID   int
	Page int
	Data model.Stats
}

StatsParser is parser for MyAnimeList anime stats information. Example: https://myanimelist.net/anime/1/Cowboy_Bebop/stats

func InitStatsParser

func InitStatsParser(config config.Config, id int, page ...int) (stats StatsParser, err error)

InitStatsParser to initiate all fields and data of StatsParser.

type VideoParser

type VideoParser struct {
	parser.BaseParser
	ID   int
	Page int
	Data model.Video
}

VideoParser is parser for MyAnimeList anime video list. Example: https://myanimelist.net/anime/1/Cowboy_Bebop/video

func InitVideoParser

func InitVideoParser(config config.Config, id int, page ...int) (video VideoParser, err error)

InitVideoParser to initiate all fields and data of VideoParser.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL