Version 5.1 - All the GraphQL #32
@ -84,6 +84,17 @@ class Manga extends API
|
|||||||
return $this->kitsuModel->getManga($manga_id);
|
return $this->kitsuModel->getManga($manga_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get anime by its kitsu id
|
||||||
|
*
|
||||||
|
* @param string $animeId
|
||||||
|
* @return array
|
||||||
|
*/
|
||||||
|
public function getMangaById(string $animeId): array
|
||||||
|
{
|
||||||
|
return $this->kitsuModel->getMangaById($animeId);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get information about a specific list item
|
* Get information about a specific list item
|
||||||
* for editing/updating that item
|
* for editing/updating that item
|
||||||
|
Loading…
Reference in New Issue
Block a user