Module genshin.client.components.chronicle.client
Battle chronicle component.
Classes
class BattleChronicleClient (cookies: Union[ForwardRef('http.cookies.BaseCookie[Any]'), Mapping[Any, Any], str, Sequence[Union[ForwardRef('http.cookies.BaseCookie[Any]'), Mapping[Any, Any], str]], ForwardRef(None)] = None, *, authkey: Optional[str] = None, lang: str = 'en-us', region: Region = Region.OVERSEAS, proxy: Optional[str] = None, game: Optional[Game] = None, uid: Optional[int] = None, hoyolab_id: Optional[int] = None, device_id: Optional[str] = None, device_fp: Optional[str] = None, headers: Union[Mapping[str, str], Mapping[multidict._multidict.istr, str], multidict._multidict.CIMultiDict, multidict._multidict.CIMultiDictProxy, Iterable[Tuple[Union[str, multidict._multidict.istr], str]], ForwardRef(None)] = None, cache: Optional[BaseCache] = None, debug: bool = False)
-
Battle chronicle component.
Expand source code
class BattleChronicleClient( genshin.GenshinBattleChronicleClient, honkai.HonkaiBattleChronicleClient, starrail.StarRailBattleChronicleClient, zzz.ZZZBattleChronicleClient, ): """Battle chronicle component."""
Ancestors
- GenshinBattleChronicleClient
- HonkaiBattleChronicleClient
- StarRailBattleChronicleClient
- ZZZBattleChronicleClient
- BaseBattleChronicleClient
- BaseClient
- abc.ABC
Subclasses
Class variables
var logger : logging.Logger
Instance variables
var authkeys : dict[Game, str]
var cache : BaseCache
var custom_headers : multidict._multidict.CIMultiDict[str]
var uids : dict[Game, int]
Inherited members
GenshinBattleChronicleClient
:authkey
debug
default_game
device_fp
device_id
game
genshin_accounts
genshin_tcg
get_activities
get_full_genshin_user
get_game_accounts
get_genshin_activities
get_genshin_characters
get_genshin_detailed_characters
get_genshin_notes
get_genshin_spiral_abyss
get_genshin_tcg_preview
get_genshin_user
get_imaginarium_theater
get_notes
get_partial_genshin_user
get_record_card
get_record_cards
get_spiral_abyss
hoyolab_id
lang
proxy
region
request
request_bbs
request_game_record
request_hoyolab
request_webstatic
set_authkey
set_browser_cookies
set_cache
set_cookies
set_redis_cache
set_top_genshin_characters
set_visibility
uid
update_settings
HonkaiBattleChronicleClient
:StarRailBattleChronicleClient
:ZZZBattleChronicleClient
: