Documentation ¶
Index ¶
- type MalService
- func (m *MalService) AdvSearchAnime(queryObj searchModel.Query) (search.AnimeParser, error)
- func (m *MalService) AdvSearchManga(queryObj searchModel.Query) (search.MangaParser, error)
- func (m *MalService) GetAnime(id int) (anime.AnimeParser, error)
- func (m *MalService) GetAnimeCharacter(id int) (anime.CharacterParser, error)
- func (m *MalService) GetAnimeEpisode(id int, page ...int) (anime.EpisodeParser, error)
- func (m *MalService) GetAnimePicture(id int) (anime.PictureParser, error)
- func (m *MalService) GetAnimeRecommendation(id int) (anime.RecommendationParser, error)
- func (m *MalService) GetAnimeReview(id int, page ...int) (anime.ReviewParser, error)
- func (m *MalService) GetAnimeStaff(id int) (anime.StaffParser, error)
- func (m *MalService) GetAnimeStats(id int, page ...int) (anime.StatsParser, error)
- func (m *MalService) GetAnimeVideo(id int, page ...int) (anime.VideoParser, error)
- func (m *MalService) GetAnimeWithGenre(id int, page ...int) (genre.AnimeParser, error)
- func (m *MalService) GetCharacter(id int) (character.CharacterParser, error)
- func (m *MalService) GetCharacterPicture(id int) (character.PictureParser, error)
- func (m *MalService) GetGenres(gType string) (genre.GenresParser, error)
- func (m *MalService) GetMagazine(id int, page ...int) (magazine.MagazineParser, error)
- func (m *MalService) GetMagazines() (magazine.MagazinesParser, error)
- func (m *MalService) GetManga(id int) (manga.MangaParser, error)
- func (m *MalService) GetMangaCharacter(id int) (manga.CharacterParser, error)
- func (m *MalService) GetMangaPicture(id int) (manga.PictureParser, error)
- func (m *MalService) GetMangaRecommendation(id int) (manga.RecommendationParser, error)
- func (m *MalService) GetMangaReview(id int, page ...int) (manga.ReviewParser, error)
- func (m *MalService) GetMangaStats(id int, page ...int) (manga.StatsParser, error)
- func (m *MalService) GetMangaWithGenre(id int, page ...int) (genre.MangaParser, error)
- func (m *MalService) GetPeople(id int) (people.PeopleParser, error)
- func (m *MalService) GetPeoplePicture(id int) (people.PeoplePictureParser, error)
- func (m *MalService) GetProducer(id int, page ...int) (producer.ProducerParser, error)
- func (m *MalService) GetProducers() (producer.ProducersParser, error)
- func (m *MalService) GetRecommendation(rType string, id1 int, id2 int) (recommendation.RecommendationParser, error)
- func (m *MalService) GetRecommendations(rType string, page ...int) (recommendation.RecommendationsParser, error)
- func (m *MalService) GetReview(id int) (review.ReviewParser, error)
- func (m *MalService) GetReviews(params ...interface{}) (review.ReviewsParser, error)
- func (m *MalService) GetSeason(params ...interface{}) (season.SeasonParser, error)
- func (m *MalService) GetTopAnime(params ...int) (top.AnimeParser, error)
- func (m *MalService) GetTopCharacter(page ...int) (top.CharacterParser, error)
- func (m *MalService) GetTopManga(params ...int) (top.MangaParser, error)
- func (m *MalService) GetTopPeople(page ...int) (top.PeopleParser, error)
- func (m *MalService) GetUser(username string) (user.UserParser, error)
- func (m *MalService) GetUserFriend(username string, page ...int) (user.UserFriendParser, error)
- func (m *MalService) GetUserHistory(username string, historyType ...string) (user.UserHistoryParser, error)
- func (m *MalService) GetUserRecommendation(username string, page ...int) (user.RecommendationParser, error)
- func (m *MalService) GetUserReview(username string, page ...int) (user.ReviewParser, error)
- func (m *MalService) SearchAnime(query string, page ...int) (search.AnimeParser, error)
- func (m *MalService) SearchCharacter(query string, page ...int) (search.CharacterParser, error)
- func (m *MalService) SearchManga(query string, page ...int) (search.MangaParser, error)
- func (m *MalService) SearchPeople(query string, page ...int) (search.PeopleParser, error)
- func (m *MalService) SearchUser(query string, page ...int) (search.UserParser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MalService ¶
MalService for all go-malscraper service.
func Default ¶
func Default() *MalService
Default creates new MalService object with default config.
func New ¶
func New(malConfig config.Config) *MalService
New creates new MalService object with user set config.
func (*MalService) AdvSearchAnime ¶
func (m *MalService) AdvSearchAnime(queryObj searchModel.Query) (search.AnimeParser, error)
AdvSearchAnime to advanced search anime.
func (*MalService) AdvSearchManga ¶
func (m *MalService) AdvSearchManga(queryObj searchModel.Query) (search.MangaParser, error)
AdvSearchManga to advanced search manga.
func (*MalService) GetAnime ¶
func (m *MalService) GetAnime(id int) (anime.AnimeParser, error)
GetAnime to get anime information.
func (*MalService) GetAnimeCharacter ¶
func (m *MalService) GetAnimeCharacter(id int) (anime.CharacterParser, error)
GetAnimeCharacter to get anime's character list.
func (*MalService) GetAnimeEpisode ¶
func (m *MalService) GetAnimeEpisode(id int, page ...int) (anime.EpisodeParser, error)
GetAnimeEpisode to get anime's episode list.
func (*MalService) GetAnimePicture ¶
func (m *MalService) GetAnimePicture(id int) (anime.PictureParser, error)
GetAnimePicture to get anime's picture list.
func (*MalService) GetAnimeRecommendation ¶
func (m *MalService) GetAnimeRecommendation(id int) (anime.RecommendationParser, error)
GetAnimeRecommendation to get anime's recommendation list.
func (*MalService) GetAnimeReview ¶
func (m *MalService) GetAnimeReview(id int, page ...int) (anime.ReviewParser, error)
GetAnimeReview to get anime's review list.
func (*MalService) GetAnimeStaff ¶
func (m *MalService) GetAnimeStaff(id int) (anime.StaffParser, error)
GetAnimeStaff to get anime's staff list.
func (*MalService) GetAnimeStats ¶
func (m *MalService) GetAnimeStats(id int, page ...int) (anime.StatsParser, error)
GetAnimeStats to get anime's stats information.
func (*MalService) GetAnimeVideo ¶
func (m *MalService) GetAnimeVideo(id int, page ...int) (anime.VideoParser, error)
GetAnimeVideo to get anime's video list.
func (*MalService) GetAnimeWithGenre ¶
func (m *MalService) GetAnimeWithGenre(id int, page ...int) (genre.AnimeParser, error)
GetAnimeWithGenre to get anime list having specific genre.
func (*MalService) GetCharacter ¶
func (m *MalService) GetCharacter(id int) (character.CharacterParser, error)
GetCharacter to get character information.
func (*MalService) GetCharacterPicture ¶
func (m *MalService) GetCharacterPicture(id int) (character.PictureParser, error)
GetCharacterPicture to get character's picture list.
func (*MalService) GetGenres ¶
func (m *MalService) GetGenres(gType string) (genre.GenresParser, error)
GetGenres to get all anime & manga genres.
func (*MalService) GetMagazine ¶
func (m *MalService) GetMagazine(id int, page ...int) (magazine.MagazineParser, error)
GetMagazine to get magazine's manga list.
func (*MalService) GetMagazines ¶
func (m *MalService) GetMagazines() (magazine.MagazinesParser, error)
GetMagazines to get all magazines, and serializations.
func (*MalService) GetManga ¶
func (m *MalService) GetManga(id int) (manga.MangaParser, error)
GetManga to get manga information.
func (*MalService) GetMangaCharacter ¶
func (m *MalService) GetMangaCharacter(id int) (manga.CharacterParser, error)
GetMangaCharacter to get manga's character list.
func (*MalService) GetMangaPicture ¶
func (m *MalService) GetMangaPicture(id int) (manga.PictureParser, error)
GetMangaPicture to get manga's picture list.
func (*MalService) GetMangaRecommendation ¶
func (m *MalService) GetMangaRecommendation(id int) (manga.RecommendationParser, error)
GetMangaRecommendation to get manga's recommendation list.
func (*MalService) GetMangaReview ¶
func (m *MalService) GetMangaReview(id int, page ...int) (manga.ReviewParser, error)
GetMangaReview to get manga's review list.
func (*MalService) GetMangaStats ¶
func (m *MalService) GetMangaStats(id int, page ...int) (manga.StatsParser, error)
GetMangaStats to get manga's stats information.
func (*MalService) GetMangaWithGenre ¶
func (m *MalService) GetMangaWithGenre(id int, page ...int) (genre.MangaParser, error)
GetMangaWithGenre to get manga list having specific genre.
func (*MalService) GetPeople ¶
func (m *MalService) GetPeople(id int) (people.PeopleParser, error)
GetPeople to get people information.
func (*MalService) GetPeoplePicture ¶
func (m *MalService) GetPeoplePicture(id int) (people.PeoplePictureParser, error)
GetPeoplePicture to get people's pictures list.
func (*MalService) GetProducer ¶
func (m *MalService) GetProducer(id int, page ...int) (producer.ProducerParser, error)
GetProducer to get producer's anime list.
func (*MalService) GetProducers ¶
func (m *MalService) GetProducers() (producer.ProducersParser, error)
GetProducers to get all producers, studios, and licensors.
func (*MalService) GetRecommendation ¶
func (m *MalService) GetRecommendation(rType string, id1 int, id2 int) (recommendation.RecommendationParser, error)
GetRecommendation to get anime & manga's recommendation.
func (*MalService) GetRecommendations ¶
func (m *MalService) GetRecommendations(rType string, page ...int) (recommendation.RecommendationsParser, error)
GetRecommendations to get anime & manga recommendation list.
func (*MalService) GetReview ¶
func (m *MalService) GetReview(id int) (review.ReviewParser, error)
GetReview to get anime/manga review.
func (*MalService) GetReviews ¶
func (m *MalService) GetReviews(params ...interface{}) (review.ReviewsParser, error)
GetReviews to get anime/manga review list.
func (*MalService) GetSeason ¶
func (m *MalService) GetSeason(params ...interface{}) (season.SeasonParser, error)
GetSeason to get seasonal anime list.
func (*MalService) GetTopAnime ¶
func (m *MalService) GetTopAnime(params ...int) (top.AnimeParser, error)
GetTopAnime to get top anime list.
func (*MalService) GetTopCharacter ¶
func (m *MalService) GetTopCharacter(page ...int) (top.CharacterParser, error)
GetTopCharacter to get top character list.
func (*MalService) GetTopManga ¶
func (m *MalService) GetTopManga(params ...int) (top.MangaParser, error)
GetTopManga to get top manga list.
func (*MalService) GetTopPeople ¶
func (m *MalService) GetTopPeople(page ...int) (top.PeopleParser, error)
GetTopPeople to get top people list.
func (*MalService) GetUser ¶
func (m *MalService) GetUser(username string) (user.UserParser, error)
GetUser to get user profile information.
func (*MalService) GetUserFriend ¶
func (m *MalService) GetUserFriend(username string, page ...int) (user.UserFriendParser, error)
GetUserFriend to get user friend list.
func (*MalService) GetUserHistory ¶
func (m *MalService) GetUserHistory(username string, historyType ...string) (user.UserHistoryParser, error)
GetUserHistory to get user history list.
func (*MalService) GetUserRecommendation ¶
func (m *MalService) GetUserRecommendation(username string, page ...int) (user.RecommendationParser, error)
GetUserRecommendation to get user recommendation list.
func (*MalService) GetUserReview ¶
func (m *MalService) GetUserReview(username string, page ...int) (user.ReviewParser, error)
GetUserReview to get user review list.
func (*MalService) SearchAnime ¶
func (m *MalService) SearchAnime(query string, page ...int) (search.AnimeParser, error)
SearchAnime to simple search anime.
func (*MalService) SearchCharacter ¶
func (m *MalService) SearchCharacter(query string, page ...int) (search.CharacterParser, error)
SearchCharacter to search character.
func (*MalService) SearchManga ¶
func (m *MalService) SearchManga(query string, page ...int) (search.MangaParser, error)
SearchManga to simple search manga.
func (*MalService) SearchPeople ¶
func (m *MalService) SearchPeople(query string, page ...int) (search.PeopleParser, error)
SearchPeople to search character.
func (*MalService) SearchUser ¶
func (m *MalService) SearchUser(query string, page ...int) (search.UserParser, error)
SearchUser to search user.