MalClient
in package
Class MalClient
Table of Contents
Properties
- $httpClient : HttpClientInterface
- $httpClientWrapper : HttpClientWrapper
Methods
- __construct() : mixed
- MalClient constructor.
- getAnime() : Anime
- getAnimeCharactersAndStaff() : AnimeCharactersAndStaff
- getAnimeEpisode() : AnimeEpisode
- getAnimeEpisodes() : Episodes
- getAnimeForum() : array<string|int, mixed>
- getAnimeGenre() : AnimeGenre
- getAnimeGenres() : AnimeGenreList
- getAnimeMoreInfo() : string|null
- getAnimePictures() : array<string|int, mixed>
- getAnimeRecentlyUpdatedByUsers() : array<string|int, mixed>
- getAnimeRecommendations() : array<string|int, mixed>
- getAnimeReviews() : AnimeReviews
- getAnimeSearch() : AnimeSearch
- getAnimeSearchAlt() : AnimeSearch
- getAnimeStats() : AnimeStats
- getAnimeVideos() : AnimeVideos
- getAnimeVideosEpisodes() : AnimeVideosEpisodes
- getCharacter() : Character
- getCharacterPictures() : array<string|int, mixed>
- getCharacterSearch() : CharacterSearch
- getClub() : Club
- getClubUsers() : UserList
- getMagazine() : Magazine
- getMagazines() : MagazineList
- getManga() : Manga
- getMangaCharacters() : array<string|int, CharacterListItem>
- getMangaForum() : array<string|int, mixed>
- getMangaGenre() : MangaGenre
- getMangaGenres() : MangaGenreList
- getMangaMoreInfo() : string|null
- getMangaPictures() : array<string|int, mixed>
- getMangaRecentlyUpdatedByUsers() : array<string|int, mixed>
- getMangaRecommendations() : array<string|int, mixed>
- getMangaReviews() : MangaReviews
- getMangaSearch() : MangaSearch
- getMangaStats() : MangaStats
- getNews() : array<string|int, mixed>
- getNewsByTag() : NewsList
- getNewsList() : ResourceNewsList
- getNewsSearch() : NewsList
- getNewsTags() : array<string|int, mixed>
- getPerson() : Person
- getPersonPictures() : array<string|int, Picture>
- getPersonSearch() : PersonSearch
- getPopularEpisodes() : Episodes
- getPopularPromotionalVideos() : PromotionalVideos
- getProducer() : Producer
- getProducers() : ProducerList
- getRecentEpisodes() : Episodes
- getRecentNews() : NewsList
- getRecentOnlineUsers() : array<string|int, mixed>
- getRecentPromotionalVideos() : PromotionalVideos
- getRecentRecommendations() : array<string|int, mixed>
- getReviews() : Reviews
- getSchedule() : Schedule
- getSeasonal() : Seasonal
- getSeasonList() : array<string|int, mixed>
- getTopAnime() : array<string|int, TopAnimeListItem>
- getTopCharacters() : array<string|int, TopCharacterListItem>
- getTopManga() : array<string|int, TopMangaListItem>
- getTopPeople() : array<string|int, TopPersonListItem>
- getUserAnimeList() : array<string|int, mixed>
- getUserClubs() : array<string|int, mixed>
- getUserFriends() : Friends
- getUserHistory() : array<string|int, mixed>
- getUserMangaList() : array<string|int, mixed>
- getUsernameById() : UserMetaBasic
- getUserProfile() : Profile
- getUserRecommendations() : UserRecommendations
- getUserReviews() : UserReviews
- getUserSearch() : UserSearch
Properties
$httpClient
protected
HttpClientInterface
$httpClient
$httpClientWrapper
protected
HttpClientWrapper
$httpClientWrapper
Methods
__construct()
MalClient constructor.
public
__construct([HttpClientInterface|null $httpClient = null ]) : mixed
Parameters
- $httpClient : HttpClientInterface|null = null
Tags
getAnime()
public
getAnime(AnimeRequest $request) : Anime
Parameters
- $request : AnimeRequest
Tags
Return values
AnimegetAnimeCharactersAndStaff()
public
getAnimeCharactersAndStaff(AnimeCharactersAndStaffRequest $request) : AnimeCharactersAndStaff
Parameters
- $request : AnimeCharactersAndStaffRequest
Tags
Return values
AnimeCharactersAndStaffgetAnimeEpisode()
public
getAnimeEpisode(AnimeEpisodeRequest $request) : AnimeEpisode
Parameters
- $request : AnimeEpisodeRequest
Tags
Return values
AnimeEpisodegetAnimeEpisodes()
public
getAnimeEpisodes(AnimeEpisodesRequest $request) : Episodes
Parameters
- $request : AnimeEpisodesRequest
Tags
Return values
EpisodesgetAnimeForum()
public
getAnimeForum(AnimeForumRequest $request) : array<string|int, mixed>
Parameters
- $request : AnimeForumRequest
Tags
Return values
array<string|int, mixed>getAnimeGenre()
public
getAnimeGenre(AnimeGenreRequest $request) : AnimeGenre
Parameters
- $request : AnimeGenreRequest
Tags
Return values
AnimeGenregetAnimeGenres()
public
getAnimeGenres(AnimeGenresRequest $request) : AnimeGenreList
Parameters
- $request : AnimeGenresRequest
Tags
Return values
AnimeGenreListgetAnimeMoreInfo()
public
getAnimeMoreInfo(AnimeMoreInfoRequest $request) : string|null
Parameters
- $request : AnimeMoreInfoRequest
Tags
Return values
string|nullgetAnimePictures()
public
getAnimePictures(AnimePicturesRequest $request) : array<string|int, mixed>
Parameters
- $request : AnimePicturesRequest
Tags
Return values
array<string|int, mixed>getAnimeRecentlyUpdatedByUsers()
public
getAnimeRecentlyUpdatedByUsers(AnimeRecentlyUpdatedByUsersRequest $request) : array<string|int, mixed>
Parameters
- $request : AnimeRecentlyUpdatedByUsersRequest
Tags
Return values
array<string|int, mixed>getAnimeRecommendations()
public
getAnimeRecommendations(AnimeRecommendationsRequest $request) : array<string|int, mixed>
Parameters
- $request : AnimeRecommendationsRequest
Tags
Return values
array<string|int, mixed>getAnimeReviews()
public
getAnimeReviews(AnimeReviewsRequest $request) : AnimeReviews
Parameters
- $request : AnimeReviewsRequest
Tags
Return values
AnimeReviewsgetAnimeSearch()
public
getAnimeSearch(AnimeSearchRequest $request) : AnimeSearch
Parameters
- $request : AnimeSearchRequest
Tags
Return values
AnimeSearchgetAnimeSearchAlt()
public
getAnimeSearchAlt(AnimeSearchRequest $request) : AnimeSearch
Parameters
- $request : AnimeSearchRequest
Tags
Return values
AnimeSearchgetAnimeStats()
public
getAnimeStats(AnimeStatsRequest $request) : AnimeStats
Parameters
- $request : AnimeStatsRequest
Tags
Return values
AnimeStatsgetAnimeVideos()
public
getAnimeVideos(AnimeVideosRequest $request) : AnimeVideos
Parameters
- $request : AnimeVideosRequest
Tags
Return values
AnimeVideosgetAnimeVideosEpisodes()
public
getAnimeVideosEpisodes(AnimeVideosEpisodesRequest $request) : AnimeVideosEpisodes
Parameters
- $request : AnimeVideosEpisodesRequest
Tags
Return values
AnimeVideosEpisodesgetCharacter()
public
getCharacter(CharacterRequest $request) : Character
Parameters
- $request : CharacterRequest
Tags
Return values
CharactergetCharacterPictures()
public
getCharacterPictures(CharacterPicturesRequest $request) : array<string|int, mixed>
Parameters
- $request : CharacterPicturesRequest
Tags
Return values
array<string|int, mixed>getCharacterSearch()
public
getCharacterSearch(CharacterSearchRequest $request) : CharacterSearch
Parameters
- $request : CharacterSearchRequest
Tags
Return values
CharacterSearchgetClub()
public
getClub(ClubRequest $request) : Club
Parameters
- $request : ClubRequest
Tags
Return values
ClubgetClubUsers()
public
getClubUsers(UserListRequest $request) : UserList
Parameters
- $request : UserListRequest
Tags
Return values
UserListgetMagazine()
public
getMagazine(MagazineRequest $request) : Magazine
Parameters
- $request : MagazineRequest
Tags
Return values
MagazinegetMagazines()
public
getMagazines(MagazinesRequest $request) : MagazineList
Parameters
- $request : MagazinesRequest
Tags
Return values
MagazineListgetManga()
public
getManga(MangaRequest $request) : Manga
Parameters
- $request : MangaRequest
Tags
Return values
MangagetMangaCharacters()
public
getMangaCharacters(MangaCharactersRequest $request) : array<string|int, CharacterListItem>
Parameters
- $request : MangaCharactersRequest
Tags
Return values
array<string|int, CharacterListItem>getMangaForum()
public
getMangaForum(MangaForumRequest $request) : array<string|int, mixed>
Parameters
- $request : MangaForumRequest
Tags
Return values
array<string|int, mixed>getMangaGenre()
public
getMangaGenre(MangaGenreRequest $request) : MangaGenre
Parameters
- $request : MangaGenreRequest
Tags
Return values
MangaGenregetMangaGenres()
public
getMangaGenres(MangaGenresRequest $request) : MangaGenreList
Parameters
- $request : MangaGenresRequest
Tags
Return values
MangaGenreListgetMangaMoreInfo()
public
getMangaMoreInfo(MangaMoreInfoRequest $request) : string|null
Parameters
- $request : MangaMoreInfoRequest
Tags
Return values
string|nullgetMangaPictures()
public
getMangaPictures(MangaPicturesRequest $request) : array<string|int, mixed>
Parameters
- $request : MangaPicturesRequest
Tags
Return values
array<string|int, mixed>getMangaRecentlyUpdatedByUsers()
public
getMangaRecentlyUpdatedByUsers(MangaRecentlyUpdatedByUsersRequest $request) : array<string|int, mixed>
Parameters
- $request : MangaRecentlyUpdatedByUsersRequest
Tags
Return values
array<string|int, mixed>getMangaRecommendations()
public
getMangaRecommendations(MangaRecommendationsRequest $request) : array<string|int, mixed>
Parameters
- $request : MangaRecommendationsRequest
Tags
Return values
array<string|int, mixed>getMangaReviews()
public
getMangaReviews(MangaReviewsRequest $request) : MangaReviews
Parameters
- $request : MangaReviewsRequest
Tags
Return values
MangaReviewsgetMangaSearch()
public
getMangaSearch(MangaSearchRequest $request) : MangaSearch
Parameters
- $request : MangaSearchRequest
Tags
Return values
MangaSearchgetMangaStats()
public
getMangaStats(MangaStatsRequest $request) : MangaStats
Parameters
- $request : MangaStatsRequest
Tags
Return values
MangaStatsgetNews()
public
getNews(NewsRequest $request) : array<string|int, mixed>
Parameters
- $request : NewsRequest
Tags
Return values
array<string|int, mixed>getNewsByTag()
public
getNewsByTag(NewsByTagRequest $request) : NewsList
Parameters
- $request : NewsByTagRequest
Tags
Return values
NewsListgetNewsList()
public
getNewsList(RequestInterface $request) : ResourceNewsList
Parameters
- $request : RequestInterface
Tags
Return values
ResourceNewsListgetNewsSearch()
public
getNewsSearch(NewsByTagRequest $request) : NewsList
Parameters
- $request : NewsByTagRequest
Tags
Return values
NewsListgetNewsTags()
public
getNewsTags(NewsTagsRequest $request) : array<string|int, mixed>
Parameters
- $request : NewsTagsRequest
Tags
Return values
array<string|int, mixed>getPerson()
public
getPerson(PersonRequest $request) : Person
Parameters
- $request : PersonRequest
Tags
Return values
PersongetPersonPictures()
public
getPersonPictures(PersonPicturesRequest $request) : array<string|int, Picture>
Parameters
- $request : PersonPicturesRequest
Tags
Return values
array<string|int, Picture>getPersonSearch()
public
getPersonSearch(PersonSearchRequest $request) : PersonSearch
Parameters
- $request : PersonSearchRequest
Tags
Return values
PersonSearchgetPopularEpisodes()
public
getPopularEpisodes(PopularEpisodesRequest $request) : Episodes
Parameters
- $request : PopularEpisodesRequest
Tags
Return values
EpisodesgetPopularPromotionalVideos()
public
getPopularPromotionalVideos(PopularPromotionalVideosRequest $request) : PromotionalVideos
Parameters
- $request : PopularPromotionalVideosRequest
Tags
Return values
PromotionalVideosgetProducer()
public
getProducer(ProducerRequest $request) : Producer
Parameters
- $request : ProducerRequest
Tags
Return values
ProducergetProducers()
public
getProducers(ProducersRequest $request) : ProducerList
Parameters
- $request : ProducersRequest
Tags
Return values
ProducerListgetRecentEpisodes()
public
getRecentEpisodes(RecentEpisodesRequest $request) : Episodes
Parameters
- $request : RecentEpisodesRequest
Tags
Return values
EpisodesgetRecentNews()
public
getRecentNews(RecentNewsRequest $request) : NewsList
Parameters
- $request : RecentNewsRequest
Tags
Return values
NewsListgetRecentOnlineUsers()
public
getRecentOnlineUsers(RecentlyOnlineUsersRequest $request) : array<string|int, mixed>
Parameters
- $request : RecentlyOnlineUsersRequest
Tags
Return values
array<string|int, mixed>getRecentPromotionalVideos()
public
getRecentPromotionalVideos(RecentPromotionalVideosRequest $request) : PromotionalVideos
Parameters
- $request : RecentPromotionalVideosRequest
Tags
Return values
PromotionalVideosgetRecentRecommendations()
public
getRecentRecommendations(RecentRecommendationsRequest $request) : array<string|int, mixed>
Parameters
- $request : RecentRecommendationsRequest
Tags
Return values
array<string|int, mixed>getReviews()
public
getReviews(ReviewsRequest $request) : Reviews
Parameters
- $request : ReviewsRequest
Tags
Return values
ReviewsgetSchedule()
public
getSchedule(ScheduleRequest $request) : Schedule
Parameters
- $request : ScheduleRequest
Tags
Return values
SchedulegetSeasonal()
public
getSeasonal(SeasonalRequest $request) : Seasonal
Parameters
- $request : SeasonalRequest
Tags
Return values
SeasonalgetSeasonList()
public
getSeasonList(SeasonListRequest $request) : array<string|int, mixed>
Parameters
- $request : SeasonListRequest
Tags
Return values
array<string|int, mixed>getTopAnime()
public
getTopAnime(TopAnimeRequest $request) : array<string|int, TopAnimeListItem>
Parameters
- $request : TopAnimeRequest
Tags
Return values
array<string|int, TopAnimeListItem>getTopCharacters()
public
getTopCharacters(TopCharactersRequest $request) : array<string|int, TopCharacterListItem>
Parameters
- $request : TopCharactersRequest
Tags
Return values
array<string|int, TopCharacterListItem>getTopManga()
public
getTopManga(TopMangaRequest $request) : array<string|int, TopMangaListItem>
Parameters
- $request : TopMangaRequest
Tags
Return values
array<string|int, TopMangaListItem>getTopPeople()
public
getTopPeople(TopPeopleRequest $request) : array<string|int, TopPersonListItem>
Parameters
- $request : TopPeopleRequest
Tags
Return values
array<string|int, TopPersonListItem>getUserAnimeList()
public
getUserAnimeList(UserAnimeListRequest $request) : array<string|int, mixed>
Parameters
- $request : UserAnimeListRequest
Tags
Return values
array<string|int, mixed>getUserClubs()
public
getUserClubs(UserClubsRequest $request) : array<string|int, mixed>
Parameters
- $request : UserClubsRequest
Tags
Return values
array<string|int, mixed>getUserFriends()
public
getUserFriends(UserFriendsRequest $request) : Friends
Parameters
- $request : UserFriendsRequest
Tags
Return values
FriendsgetUserHistory()
public
getUserHistory(UserHistoryRequest $request) : array<string|int, mixed>
Parameters
- $request : UserHistoryRequest
Tags
Return values
array<string|int, mixed>getUserMangaList()
public
getUserMangaList(UserMangaListRequest $request) : array<string|int, mixed>
Parameters
- $request : UserMangaListRequest
Tags
Return values
array<string|int, mixed>getUsernameById()
public
getUsernameById(UsernameByIdRequest $request) : UserMetaBasic
Parameters
- $request : UsernameByIdRequest
Tags
Return values
UserMetaBasicgetUserProfile()
public
getUserProfile(UserProfileRequest $request) : Profile
Parameters
- $request : UserProfileRequest
Tags
Return values
ProfilegetUserRecommendations()
public
getUserRecommendations(UserRecommendationsRequest $request) : UserRecommendations
Parameters
- $request : UserRecommendationsRequest
Tags
Return values
UserRecommendationsgetUserReviews()
public
getUserReviews(UserReviewsRequest $request) : UserReviews
Parameters
- $request : UserReviewsRequest
Tags
Return values
UserReviewsgetUserSearch()
public
getUserSearch(UserSearchRequest $request) : UserSearch
Parameters
- $request : UserSearchRequest