api class¶
-
class
async_bgm_api.api.
BgmApi
(mirror=False)[source]¶ - Parameters
mirror -- if use mirror
mirror.api.bgm.rin.cat
-
async
get_subject_large
(subject_id: int) → async_bgm_api.models.subject.SubjectLarge[source]¶ get subject info with response group large
- Parameters
subject_id --
-
async
get_subject_media
(subject_id: int) → async_bgm_api.models.subject.SubjectMedia[source]¶ get subject info with response group
medium
,medium
should be typo I guess.- Parameters
subject_id --
-
async
get_subject_small
(subject_id: int) → async_bgm_api.models.subject.SubjectSmall[source]¶ get subject info with response group small
- Parameters
subject_id --
-
async
get_subject_with_eps
(subject_id: int) → async_bgm_api.models.SubjectWithEps[source]¶ https://bangumi.github.io/api/#/条目/get_subject__subject_id__ep
- Parameters
subject_id --
-
async
get_user_collection
(user_id: Union[str, int], cat: async_bgm_api.models.CollectionCat) → List[async_bgm_api.models.UserCollection][source]¶ https://bangumi.github.io/api/#/用户/get_user__username__collection
- Parameters
user_id --
cat --
watching
orall_watching
-
async
get_user_info
(user_id: Union[str, int]) → async_bgm_api.models.UserInfo[source]¶ https://bangumi.github.io/api/#/用户/get_user__username_
- Parameters
user_id --