Skip to content

Releases: jikan-me/jikan

v2.16.5

01 May 03:41
Compare
Choose a tag to compare
  • Parser update

v3.0.0-alpha.1

24 Apr 11:08
Compare
Choose a tag to compare
v3.0.0-alpha.1 Pre-release
Pre-release

Notice:

  1. Not intended for use with Jikan REST API v3 or below
  2. Backward incompatible changes are being introduced
  3. Not fully tested
  4. 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 and Pagination 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

18 Apr 04:36
Compare
Choose a tag to compare

v2.16.3

01 Apr 05:13
Compare
Choose a tag to compare

v3.0.0-alpha

24 Mar 22:52
Compare
Choose a tag to compare
v3.0.0-alpha Pre-release
Pre-release

Notice:

  1. Not intended for use with Jikan REST API v3 or below
  2. Backward incompatible changes are being introduced
  3. Not fully tested
  4. More breaking changes upcoming

  • TopReviews refactored to RecentReviews
  • hasNextPage added to RecentReviews
  • 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

16 Feb 18:37
Compare
Choose a tag to compare

v2.16.1

28 Jan 12:58
Compare
Choose a tag to compare
  • Bug fix for parsing issue of user favorites images. MAL can't seem to make up their mind on lazyloading

v2.16.0

26 Jan 23:11
Compare
Choose a tag to compare
  • 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

10 Jan 06:42
Compare
Choose a tag to compare
  • 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 removes v from the end of images, which resulted in a smaller thumbnail

v2.9.0

11 Nov 14:11
Compare
Choose a tag to compare
  • [Anime Episode Details]
$jikan = new \Jikan\MyAnimeList\MalClient();

$animeId = 1;
$episodeNumber = 1;

$animeEpisode = $jikan->getAnimeEpisode(
    new \Jikan\Request\Anime\AnimeEpisodeRequest($animeId, $episodeNumber)
);

echo "Episode Synopsis: " . $animeEpisode->getSynopsis();