PHP code example of detain / phlix-plugin-myanimelist
1. Go to this page and download the library: Download detain/phlix-plugin-myanimelist library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
detain / phlix-plugin-myanimelist example snippets
[
'title' => 'Cowboy Bebop', // Primary title
'original_name' => 'カウボーイビバップ', // Japanese title (falls back to title)
'overview' => 'In the year 2071...', // Synopsis
'year' => 1998, // First-aired year
'genres' => ['Action', 'Sci-Fi'], // Genre names
'rating' => 8.75, // MAL mean score (0-10)
'vote_count' => 900000, // Number of scoring users
'poster_url' => 'https://cdn.myanimelist.net/images/anime/4/19644l.jpg',
'fanart_url' => null, // MAL has no fanart/backdrop
'episodes' => 26, // Episode count
'type' => 'tv', // tv / movie / ova / special / ona / music
'mal_id' => 1, // MyAnimeList anime ID
'titles' => ['Cowboy Bebop', 'カウボーイビバップ', 'Cowboy Bebop (1998)'],
'status' => 'Finished', // Finished / Currently Airing / Upcoming
'runtime_ticks' => 14400000000, // Avg episode length in ticks (1s = 10,000,000)
'studio' => 'Sunrise', // First studio name
]
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.