Skip to content
This function interacts with JIKAN(MAL) as well as AniList API!

$trendingAnime

Syntax

$trendingAnime[api]

Usage

OptionTypeOptionalExample
apiStringfalseSpecify mal for MAL trending and anilist for AniList trending

Use like: $trendingAnime[mal/anilist]

Example

$trendingAnime[mal] // Returns top 10 trending anime from MAL
$trendingAnime[AniList] // Returns top 10 trending anime from AniList