PHP code example of railken / kissmanga
1. Go to this page and download the library: Download railken/kissmanga 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/ */
railken / kissmanga example snippets
# Creating a new instance of manager
$manager = new \Railken\Kissmanga\Kissmanga();
# Searching a manga
$results = $manager
->search()
->name('One Piece')
->author('Oda Eiichiro')
->genres('er
$chapter_id = 1;
$manga_uid = "One-Piece";
$scans = $manager
->scan($manga_uid, $chapter_id)
->get();
# Retrieving last updates
$results = $manager->releases()->page(1)->get();