Documentation ¶
Index ¶
- func New(cleanImg, cleanVid bool, l service.Logger) service.API
- type Parser
- func (p *Parser) GetAnime(id int) (*model.Anime, int, error)
- func (p *Parser) GetAnimeArticle(id int) ([]model.ArticleItem, int, error)
- func (p *Parser) GetAnimeCharacter(id int) ([]model.CharacterItem, int, error)
- func (p *Parser) GetAnimeClub(id int) ([]model.ClubItem, int, error)
- func (p *Parser) GetAnimeEpisode(id int, page int) ([]model.Episode, int, error)
- func (p *Parser) GetAnimeMoreInfo(id int) (string, int, error)
- func (p *Parser) GetAnimeNews(id int) ([]model.NewsItem, int, error)
- func (p *Parser) GetAnimePicture(id int) ([]string, int, error)
- func (p *Parser) GetAnimeRecommendation(id int) ([]model.Recommendation, int, error)
- func (p *Parser) GetAnimeReview(id int, page int) ([]model.Review, int, error)
- func (p *Parser) GetAnimeStaff(id int) ([]model.Role, int, error)
- func (p *Parser) GetAnimeStats(id int) (*model.Stats, int, error)
- func (p *Parser) GetAnimeVideo(id int, page int) (*model.Video, int, error)
- func (p *Parser) GetAnimeWithGenre(id int, page int) ([]model.AnimeItem, int, error)
- func (p *Parser) GetArticle(id int) (*model.Article, int, error)
- func (p *Parser) GetArticleTag() ([]model.ArticleTagItem, int, error)
- func (p *Parser) GetArticles(page int, tag string) ([]model.ArticleItem, int, error)
- func (p *Parser) GetCharacter(id int) (*model.Character, int, error)
- func (p *Parser) GetCharacterArticle(id int) ([]model.ArticleItem, int, error)
- func (p *Parser) GetCharacterClub(id int) ([]model.ClubItem, int, error)
- func (p *Parser) GetCharacterOgraphy(t string, id int) ([]model.Role, int, error)
- func (p *Parser) GetCharacterPicture(id int) ([]string, int, error)
- func (p *Parser) GetCharacterVA(id int) ([]model.Role, int, error)
- func (p *Parser) GetClub(id int) (*model.Club, int, error)
- func (p *Parser) GetClubMember(id int, page int) ([]model.ClubMember, int, error)
- func (p *Parser) GetClubPicture(id int) ([]string, int, error)
- func (p *Parser) GetClubRelated(id int) (*model.ClubRelated, int, error)
- func (p *Parser) GetClubs(page int) ([]model.ClubSearch, int, error)
- func (p *Parser) GetGenres(t string) ([]model.ItemCount, int, error)
- func (p *Parser) GetMagazine(id int, page int) ([]model.MangaItem, int, error)
- func (p *Parser) GetMagazines() ([]model.ItemCount, int, error)
- func (p *Parser) GetManga(id int) (*model.Manga, int, error)
- func (p *Parser) GetMangaArticle(id int) ([]model.ArticleItem, int, error)
- func (p *Parser) GetMangaCharacter(id int) ([]model.Role, int, error)
- func (p *Parser) GetMangaClub(id int) ([]model.ClubItem, int, error)
- func (p *Parser) GetMangaMoreInfo(id int) (string, int, error)
- func (p *Parser) GetMangaNews(id int) ([]model.NewsItem, int, error)
- func (p *Parser) GetMangaPicture(id int) ([]string, int, error)
- func (p *Parser) GetMangaRecommendation(id int) ([]model.Recommendation, int, error)
- func (p *Parser) GetMangaReview(id int, page int) ([]model.Review, int, error)
- func (p *Parser) GetMangaStats(id int) (*model.Stats, int, error)
- func (p *Parser) GetMangaWithGenre(id int, page int) ([]model.MangaItem, int, error)
- func (p *Parser) GetNews(id int) (*model.News, int, error)
- func (p *Parser) GetNewsList(page int, tag string) ([]model.NewsItem, int, error)
- func (p *Parser) GetNewsTag() (*model.NewsTag, int, error)
- func (p *Parser) GetPeople(id int) (*model.People, int, error)
- func (p *Parser) GetPeopleArticle(id int) ([]model.ArticleItem, int, error)
- func (p *Parser) GetPeopleCharacter(id int) ([]model.PeopleCharacter, int, error)
- func (p *Parser) GetPeopleManga(id int) ([]model.Role, int, error)
- func (p *Parser) GetPeopleNews(id int) ([]model.NewsItem, int, error)
- func (p *Parser) GetPeoplePicture(id int) ([]string, int, error)
- func (p *Parser) GetPeopleStaff(id int) ([]model.Role, int, error)
- func (p *Parser) GetProducer(id int, page int) ([]model.AnimeItem, int, error)
- func (p *Parser) GetProducers() ([]model.ItemCount, int, error)
- func (p *Parser) GetRecommendation(rType string, id1, id2 int) (*model.Recommendation, int, error)
- func (p *Parser) GetRecommendations(t string, page int) ([]model.Recommendation, int, error)
- func (p *Parser) GetReview(id int) (*model.Review, int, error)
- func (p *Parser) GetReviews(t string, page int) ([]model.Review, int, error)
- func (p *Parser) GetSeason(season string, year int) ([]model.AnimeItem, int, error)
- func (p *Parser) GetTopAnime(t int, page int) ([]model.TopAnime, int, error)
- func (p *Parser) GetTopCharacter(page int) ([]model.TopCharacter, int, error)
- func (p *Parser) GetTopManga(t int, page int) ([]model.TopManga, int, error)
- func (p *Parser) GetTopPeople(page int) ([]model.TopPeople, int, error)
- func (p *Parser) GetUser(user string) (*model.User, int, error)
- func (p *Parser) GetUserAnime(query model.UserListQuery) ([]model.UserAnime, int, error)
- func (p *Parser) GetUserClub(user string) ([]model.Item, int, error)
- func (p *Parser) GetUserFavorite(user string) (*model.UserFavorite, int, error)
- func (p *Parser) GetUserFriend(user string, page int) ([]model.UserFriend, int, error)
- func (p *Parser) GetUserHistory(user string, t string) ([]model.UserHistory, int, error)
- func (p *Parser) GetUserManga(query model.UserListQuery) ([]model.UserManga, int, error)
- func (p *Parser) GetUserRecommendation(user string, page int) ([]model.Recommendation, int, error)
- func (p *Parser) GetUserReview(user string, page int) ([]model.Review, int, error)
- func (p *Parser) GetUserStats(user string) (*model.UserStats, int, error)
- func (p *Parser) SearchAnime(query model.Query) ([]model.AnimeSearch, int, error)
- func (p *Parser) SearchCharacter(name string, page int) ([]model.CharacterSearch, int, error)
- func (p *Parser) SearchClub(query model.ClubQuery) ([]model.ClubSearch, int, error)
- func (p *Parser) SearchManga(query model.Query) ([]model.MangaSearch, int, error)
- func (p *Parser) SearchPeople(name string, page int) ([]model.PeopleSearch, int, error)
- func (p *Parser) SearchUser(query model.UserQuery) ([]model.UserSearch, int, error)
- type Requester
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser parse MyAnimeList web amd convert to easy-to-use data.
func (*Parser) GetAnimeArticle ¶
GetAnimeArticle to get anime featured article list.
func (*Parser) GetAnimeCharacter ¶
GetAnimeCharacter to get anime charater list.
func (*Parser) GetAnimeClub ¶
GetAnimeClub to get anime club list.
func (*Parser) GetAnimeEpisode ¶
GetAnimeEpisode to get anime episode list.
func (*Parser) GetAnimeMoreInfo ¶
GetAnimeMoreInfo to get anime more info.
func (*Parser) GetAnimeNews ¶
GetAnimeNews to get anime recommendation list.
func (*Parser) GetAnimePicture ¶
GetAnimePicture to get anime picture list.
func (*Parser) GetAnimeRecommendation ¶
GetAnimeRecommendation to get anime recommendation list.
func (*Parser) GetAnimeReview ¶
GetAnimeReview to get anime review list.
func (*Parser) GetAnimeStaff ¶
GetAnimeStaff to get anime staff list.
func (*Parser) GetAnimeStats ¶
GetAnimeStats to get anime stats.
func (*Parser) GetAnimeVideo ¶
GetAnimeVideo to get anime video list.
func (*Parser) GetAnimeWithGenre ¶
GetAnimeWithGenre to get anime list with specific genre.
func (*Parser) GetArticle ¶
GetArticle to get featured article detail information.
func (*Parser) GetArticleTag ¶
func (p *Parser) GetArticleTag() ([]model.ArticleTagItem, int, error)
GetArticleTag to get featured article tag list.
func (*Parser) GetArticles ¶
GetArticles to get featured article list.
func (*Parser) GetCharacter ¶
GetCharacter to get character details.
func (*Parser) GetCharacterArticle ¶
GetCharacterArticle to get character featured article list.
func (*Parser) GetCharacterClub ¶
GetCharacterClub to get character club list.
func (*Parser) GetCharacterOgraphy ¶
GetCharacterOgraphy to get character animeography/mangaography list.
func (*Parser) GetCharacterPicture ¶
GetCharacterPicture to get character picture list.
func (*Parser) GetCharacterVA ¶ added in v1.2.0
GetCharacterVA to get character voice actor list.
func (*Parser) GetClubMember ¶
GetClubMember to get club member list.
func (*Parser) GetClubPicture ¶
GetClubPicture to get club picture list.
func (*Parser) GetClubRelated ¶
GetClubRelated to get club related list.
func (*Parser) GetMagazine ¶
GetMagazine to get magazine manga list.
func (*Parser) GetMagazines ¶
GetMagazines to get manga magazine/serialization list.
func (*Parser) GetMangaArticle ¶
GetMangaArticle to get manga featured article list.
func (*Parser) GetMangaCharacter ¶
GetMangaCharacter to get manga character list.
func (*Parser) GetMangaClub ¶
GetMangaClub to get manga club list.
func (*Parser) GetMangaMoreInfo ¶
GetMangaMoreInfo to get manga more info.
func (*Parser) GetMangaNews ¶
GetMangaNews to get manga news list.
func (*Parser) GetMangaPicture ¶
GetMangaPicture to get manga picture list.
func (*Parser) GetMangaRecommendation ¶
GetMangaRecommendation to get manga recommendation list.
func (*Parser) GetMangaReview ¶
GetMangaReview to get manga review list.
func (*Parser) GetMangaStats ¶
GetMangaStats to get manga stats list.
func (*Parser) GetMangaWithGenre ¶
GetMangaWithGenre to get manga list with specific genre.
func (*Parser) GetNewsList ¶
GetNewsList to get news list.
func (*Parser) GetNewsTag ¶
GetNewsTag to get news tag list.
func (*Parser) GetPeopleArticle ¶
GetPeopleArticle to get people featured article list.
func (*Parser) GetPeopleCharacter ¶
GetPeopleCharacter to get people anime character list.
func (*Parser) GetPeopleManga ¶
GetPeopleManga to get people published manga list.
func (*Parser) GetPeopleNews ¶
GetPeopleNews to get people news list.
func (*Parser) GetPeoplePicture ¶
GetPeoplePicture to get people picture list.
func (*Parser) GetPeopleStaff ¶
GetPeopleStaff to get people anime staff list.
func (*Parser) GetProducer ¶
GetProducer to get producer anime list.
func (*Parser) GetProducers ¶
GetProducers to get anime producer/studio/licensor list.
func (*Parser) GetRecommendation ¶
GetRecommendation to get recommendation details.
func (*Parser) GetRecommendations ¶
GetRecommendations to get anime/manga recommendation list.
func (*Parser) GetReviews ¶
GetReviews to get anime/manga/best review list.
func (*Parser) GetTopAnime ¶
GetTopAnime to get top anime list.
func (*Parser) GetTopCharacter ¶
GetTopCharacter to get top character list.
func (*Parser) GetTopManga ¶
GetTopManga to get top manga list.
func (*Parser) GetTopPeople ¶
GetTopPeople to get top people list.
func (*Parser) GetUserAnime ¶
GetUserAnime to get user anime list.
func (*Parser) GetUserClub ¶
GetUserClub to get user club list.
func (*Parser) GetUserFavorite ¶
GetUserFavorite to get user favorite list.
func (*Parser) GetUserFriend ¶
GetUserFriend to get user friend list.
func (*Parser) GetUserHistory ¶
GetUserHistory to get user history list.
func (*Parser) GetUserManga ¶
GetUserManga to get user manga list.
func (*Parser) GetUserRecommendation ¶
GetUserRecommendation to get user recommendation list.
func (*Parser) GetUserReview ¶
GetUserReview to get user review list.
func (*Parser) GetUserStats ¶
GetUserStats to get user stats details.
func (*Parser) SearchAnime ¶
SearchAnime to search anime.
func (*Parser) SearchCharacter ¶
SearchCharacter to search character.
func (*Parser) SearchClub ¶
SearchClub to search club.
func (*Parser) SearchManga ¶
SearchManga to search manga.
func (*Parser) SearchPeople ¶
SearchPeople to search people.
func (*Parser) SearchUser ¶
SearchUser to search user.