Get Series#

Endpoint: /series/{slug}

class guyamoe_api_types.series.Chapter(data: Dict[str, Any])#
class guyamoe_api_types.series.Chapter(**attrs: Any) Chapter

Bases: dict

A chapter of a series.

folder: str#

The folder name for the chapter. This is used to get the pages of the chapter.

groups: Dict[str, List[str]]#

The pages released by each group for the chapter. The key is one of the group IDs from Series.groups, and the value is the ordered list of page filenames.

A full page URL can be constructed using Series.slug, folder, the group ID, and the page filename, by filling the template: {baseUrl}/media/manga/{slug}/chapters/{folder}/{groupID}/{pageName}

For example, if my base URL is https://guya.moe, my slug is Kaguya-Wants-To-Be-Confessed-To, my folder is 0259_0ixv0umx, my group ID is 7, and the page name is 01.png?v3, I would point a request to https://guya.moe/media/manga/Kaguya-Wants-To-Be-Confessed-To/chapters/0259_0ixv0umx/7/01.png?v3.

preferred_sort: typing_extensions.NotRequired[List[str]]#

A list of the group IDs to prioritize when multiple groups upload the current chapter. This key may be omitted, in which case Series.preferred_sort should be considered, otherwise follow this list for the current chapter.

release_date: Dict[str, int]#

The time each group released the chapter. The key is one of the group IDs from Series.groups, and the value is the UNIX timestamp of the release time.

title: str#

The title of the chapter.

volume: str#

The volume number for the chapter.

class guyamoe_api_types.series.Series(data: Dict[str, Any])#
class guyamoe_api_types.series.Series(**attrs: Any) Series

Bases: dict

A full series dictionary containing all the information about a series and it’s chapters.

artist: str#

The artist of the series.

author: str#

The author of the series.

chapters: Dict[str, Chapter]#

A dictionary of chapter numbers and their respective chapter information.

cover: str#

A Relative URL to the cover image of the series.

description: str#

The description of the series.

groups: Dict[str, str]#

A dictionary of group IDs and their respective names. Only contains groups that have uploaded to the series.

next_release_html: str#

The HTML for the next release page.

next_release_page: bool#

Whether the next release page is enabled for the series.

next_release_time: float#

The UNIX timestamp for the approximate release time of the next chapter.

preferred_sort: List[str]#

A list of the group IDs to prioritize when multiple groups upload the same chapter.

The values correspond to the group keys in groups.

For example, if group ID 1 and group ID 2 both upload the same chapter, and preferred_sort is [1, 2], then the chapter for group ID 1 should be shown as the chapter for the given chapter number.

slug: str#

The slug of the series.

title: str#

The title of the series.