HoYoLAB Record Models
record
Base hoyolab APIModels.
Classes:
-
FullHoyolabUser–Full hoyolab user.
-
Gender–Gender used on hoyolab.
-
GenshinAccount–Genshin account.
-
HoyolabUserCertification–Hoyolab user certification.
-
HoyolabUserLevel–Hoyolab user level.
-
PartialHoyolabUser–Partial hoyolab user from a search result.
-
RecordCard–Hoyolab record card.
-
RecordCardData–Data entry of a record card.
-
RecordCardSetting–Privacy setting of a record card.
-
RecordCardSettingType–Privacy setting of a record card.
-
UserInfo–Chronicle user info.
__all__
module-attribute
__all__ = ['FullHoyolabUser', 'Gender', 'GenshinAccount', 'HoyolabUserCertification', 'HoyolabUserLevel', 'PartialHoyolabUser', 'RecordCard', 'RecordCardData', 'RecordCardSetting', 'RecordCardSettingType', 'UserInfo']
FullHoyolabUser
pydantic-model
Full hoyolab user.
Not actually full, but most of the data is useless.
Fields:
-
hoyolab_id(int) -
nickname(str) -
introduction(str) -
avatar_id(int) -
gender(Gender) -
icon(str) -
certification(Optional[HoyolabUserCertification]) -
level(Optional[HoyolabUserLevel]) -
pendant_url(str) -
bg_url(Optional[str]) -
pc_bg_url(Optional[str])
Validators:
Gender
GenshinAccount
pydantic-model
Genshin account.
Fields:
GenshinRecordCard
pydantic-model
Genshin record card.
Fields:
HonkaiRecordCard
pydantic-model
Honkai record card.
Fields:
HoyolabUserCertification
pydantic-model
HoyolabUserLevel
pydantic-model
PartialHoyolabUser
pydantic-model
Partial hoyolab user from a search result.
Fields:
Validators:
RecordCard
pydantic-model
RecordCardData
pydantic-model
RecordCardSetting
pydantic-model
RecordCardSettingType
Privacy setting of a record card.
Attributes:
StarRailRecodeCard
pydantic-model
Star rail record card.
Fields:
UserInfo
pydantic-model
Chronicle user info.
Fields:
ZZZRecordCard
pydantic-model
ZZZ record card.
Fields: