feat: CreateMangaFromMangadex endpoint + tests, missing image saving
This commit is contained in:
parent
ae0eac3197
commit
50080f9779
@@ -118,6 +118,13 @@ class MangadexClient implements MangadexClientInterface
|
||||
return $this->get('/manga/' . $mangaId . '/aggregate');
|
||||
}
|
||||
|
||||
public function getManga(string $mangaId): array
|
||||
{
|
||||
return $this->get('/manga/' . $mangaId, [
|
||||
'includes' => ['cover_art', 'author']
|
||||
]);
|
||||
}
|
||||
|
||||
private function get(string $endpoint, array $params = []): array
|
||||
{
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user