Releases: jikan-me/jikan
Releases · jikan-me/jikan
v2.16.5
- Parser update
v3.0.0-alpha.1
Notice:
- Not intended for use with Jikan REST API v3 or below
- Backward incompatible changes are being introduced
- Not fully tested
- More breaking changes upcoming
-
Added Youtube Meta Information where instead of just embed URLs
- Youtube ID
- URL
- Embed URL
- Image
- Default, Small, Medium, High & Maximum Image URLs
-
Added WIP experimental
Results
andPagination
models for listings -
Added User Reviews #256
$username = 'nekomata1037';
$page = 1;
$data = $jikan->getUserReviews(
new \Jikan\Request\User\UserReviewsRequest($username, $page)
);
- Added Anime Watch Episodes & Promos #254
// Popular Episodes
$data = $jikan->getPopularEpisodes(
new \Jikan\Request\Watch\PopularEpisodesRequest()
);
// Popular Promotional Videos
$data = $jikan->getPopularPromotionalVideos(
new \Jikan\Request\Watch\PopularPromotionalVideosRequest()
);
// Recent Episodes
$data = $jikan->getRecentEpisodes(
new \Jikan\Request\Watch\RecentEpisodesRequest()
);
// Recent Promotional Videos
$page = 1;
$data = $jikan->getRecentPromotionalVideos(
new \Jikan\Request\Watch\RecentPromotionalVideosRequest($page);
);
- Added User Recommendations #257
$username = 'nekomata1037';
$page = 1;
$data = $jikan->getUserRecommendations(
new \Jikan\Request\User\UserRecommendationsRequest($username, $page)
);
- Added User Clubs #258
$username = 'nekomata1037';
$data = $jikan->getUserClubs(
new \Jikan\Request\User\UserClubsRequest($username)
);
v2.16.4
v2.16.3
v3.0.0-alpha
Notice:
- Not intended for use with Jikan REST API v3 or below
- Backward incompatible changes are being introduced
- Not fully tested
- More breaking changes upcoming
TopReviews
refactored toRecentReviews
hasNextPage
added toRecentReviews
- Added Recent Recommendations (Anime + Manga) #253
/**
* Type Constants
* Anime: \Jikan\Helper\Constants::RECENT_RECOMMENDATION_ANIME
* Manga: \Jikan\Helper\Constants::RECENT_RECOMMENDATION_MANGA
*/
$type = \Jikan\Helper\Constants::RECENT_RECOMMENDATION_MANGA;
$page = 1;
$data = $jikan->getRecentRecommendations(
new \Jikan\Request\Recommendations\RecentRecommendationsRequest($type, $page)
);
- Added User Search #255
$query = "Nekomata";
$page = 1;
$users = $jikan->getUserSearch(
(new \Jikan\Request\Search\UserSearchRequest($query, $page))
->setMinAge(0)
->setMaxAge(99)
->setLocation('Pakistan')
->setGender(
/**
* Gender Constants
* Male: \Jikan\Helper\Constants::SEARCH_USER_GENDER_MALE
* Female: \Jikan\Helper\Constants::SEARCH_USER_GENDER_FEMALE
* Non-Binary: \Jikan\Helper\Constants::SEARCH_USER_GENDER_NONBINARY
* Any: \Jikan\Helper\Constants::SEARCH_USER_GENDER_ANY
*/
\Jikan\Helper\Constants::SEARCH_USER_GENDER_MALE
)
);
- Added Recently Online Users #255
$users = $jikan->getRecentlyOnlineUsers(
new \Jikan\Request\User\RecentlyOnlineUsersRequest()
);
- Added Misc: Get User By ID #255
// Returns username & user profile URL only
$user = $jikan->getUsernameById(
new \Jikan\Request\User\UsernameByIdRequest(4901676)
);
echo $user->getUsername(); // Nekomata1037
echo $user->getUrl(); // https://myanimelist.net/profile/Nekomata1037
v2.16.2
v2.16.1
- Bug fix for parsing issue of user favorites images. MAL can't seem to make up their mind on lazyloading
v2.16.0
- Added Top Reviews(Anime, Manga & Best Voted (includes both)) parsing #251
/**
* Type Constants
* Anime: \Jikan\Helper\Constants::TOP_REVIEW_ANIME
* Manga: \Jikan\Helper\Constants::TOP_REVIEW_MANGA
* Best Voted (Anime + Manga): \Jikan\Helper\Constants::TOP_REVIEW_BEST_VOTED
*/
$type = \Jikan\Helper\Constants::TOP_REVIEW_ANIME;
$page = 1;
$topReviews = $jikan->getTopReviews(
new \Jikan\Request\Top\TopReviewsRequest($type, $page)
);
v2.15.0
- Added Producer List parsing
$producers = $jikan->getProducers(
new \Jikan\Request\Producer\ProducersRequest()
);
- Added Magazine List parsing
$magazines = $jikan->getMagazines(
new \Jikan\Request\Magazine\MagazinesRequest()
);
- Added Anime Genre List parsing
$genres = $jikan->getAnimeGenres(
new \Jikan\Request\Genre\AnimeGenresRequest()
);
- Added Manga Genre List parsing
$genres = $jikan->getMangaGenres(
new \Jikan\Request\Genre\MangaGenresRequest()
);
- Parser bug fixes
- Improved image quality parsing for some requests
\Jikan\Helper\Parser::parseImageQuality($imageUrl)
now removesv
from the end of images, which resulted in a smaller thumbnail
v2.9.0
- [Anime Episode Details]
- Added feature request jikan#229
$jikan = new \Jikan\MyAnimeList\MalClient();
$animeId = 1;
$episodeNumber = 1;
$animeEpisode = $jikan->getAnimeEpisode(
new \Jikan\Request\Anime\AnimeEpisodeRequest($animeId, $episodeNumber)
);
echo "Episode Synopsis: " . $animeEpisode->getSynopsis();
- [User Profile]
- Added
userId
property jikan-rest#74
- Added