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.
- 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 isKaguya-Wants-To-Be-Confessed-To
, my folder is0259_0ixv0umx
, my group ID is7
, and the page name is01.png?v3
, I would point a request tohttps://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.
- 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.
- 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.
- groups: Dict[str, str]#
A dictionary of group IDs and their respective names. Only contains groups that have uploaded to the series.
- 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 ID2
both upload the same chapter, andpreferred_sort
is[1, 2]
, then the chapter for group ID1
should be shown as the chapter for the given chapter number.