Skip to content

Latest commit

 

History

History
67 lines (42 loc) · 1.33 KB

README.md

File metadata and controls

67 lines (42 loc) · 1.33 KB

Kissmanga Scraper

Kissmanga Scraper is a php library that permits to search manga and download scans from kissmanga.com

Requirements

PHP 7.0.0 or later.

Composer

You can install it via Composer by typing the following command:

composer require railken/kissmanga

Dependencies

Getting Started

Simple usage looks like:

# Creating a new instance of manager
$manager = new \Railken\Kissmanga\Kissmanga();

# Searching a manga
$results = $manager
    ->search()
    ->name('One Piece')
    ->author('Oda Eiichiro')
    ->genres('include', ['Action', 'Drama', 'Historical'])
    ->completed(0)
    ->get();

# Retrieving all info about a manga
$manga_uid = "One-Piece";
$manga = $manager
	->resource($manga_uid)
	->get();


# Retrieving all scans for a given manga, volume and chapter
$chapter_id = 1;
$manga_uid = "One-Piece";
$scans = $manager
	->scan($manga_uid, $chapter_id)
	->get();

# Retrieving last updates 
$results = $manager->releases()->page(1)->get();

License

Open-source software licensed under the MIT license.

Copyright

All the manga are copyrighted to their respective author. Please buy the manga if it's available in your country.