sn01615 / comicool_sdk
http://www.comicool.cn/ API SDK
v1.0.3
2018-01-26 01:56 UTC
This package is not auto-updated.
Last update: 2025-04-03 21:34:30 UTC
README
可米酷API SDK PHP版
install
composer require sn01615/comicool_sdk
usage
use Comicool\ComicoolClient; $client = new ComicoolClient(); $client->setClientId('aaa'); $client->setSecret('xxx'); # 获取漫画列表 $last = null; $comics = $client->getComics($last); # 获取漫画详情 $comicInfo = $client->getComic($comic->id); # 获取漫画章节列表 $comicChapters = $client->getComicChapters($comic->id, $comic_last); # 获取漫画章节内容 $chapterInfo = $client->getComicChapter($comic->id, $chapter->id);