Module genshin.client.components.chronicle.client

Battle chronicle component.

Classes

class BattleChronicleClient (cookies: ForwardRef('http.cookies.BaseCookie[Any]') | Mapping[Any, Any] | str | Sequence[ForwardRef('http.cookies.BaseCookie[Any]') | Mapping[Any, Any] | str] | None = None,
*,
authkey: str | None = None,
lang: str = 'en-us',
region: Region = Region.OVERSEAS,
proxy: str | None = None,
game: Game | None = None,
uid: int | None = None,
hoyolab_id: int | None = None,
device_id: str | None = None,
device_fp: str | None = None,
headers: Mapping[str, str] | Mapping[multidict._multidict.istr, str] | multidict._multidict.CIMultiDict | multidict._multidict.CIMultiDictProxy | Iterable[Tuple[str | multidict._multidict.istr, str]] | None = None,
cache: BaseCache | None = None,
debug: bool = False)
Expand source code
class BattleChronicleClient(
    genshin.GenshinBattleChronicleClient,
    honkai.HonkaiBattleChronicleClient,
    starrail.StarRailBattleChronicleClient,
    zzz.ZZZBattleChronicleClient,
):
    """Battle chronicle component."""

Battle chronicle component.

Ancestors

Subclasses

Class variables

var logger : logging.Logger

Instance variables

var authkeys : dict[Game, str]
Expand source code
class BattleChronicleClient(
    genshin.GenshinBattleChronicleClient,
    honkai.HonkaiBattleChronicleClient,
    starrail.StarRailBattleChronicleClient,
    zzz.ZZZBattleChronicleClient,
):
    """Battle chronicle component."""
var cacheBaseCache
Expand source code
class BattleChronicleClient(
    genshin.GenshinBattleChronicleClient,
    honkai.HonkaiBattleChronicleClient,
    starrail.StarRailBattleChronicleClient,
    zzz.ZZZBattleChronicleClient,
):
    """Battle chronicle component."""
var cookie_managerBaseCookieManager
Expand source code
class BattleChronicleClient(
    genshin.GenshinBattleChronicleClient,
    honkai.HonkaiBattleChronicleClient,
    starrail.StarRailBattleChronicleClient,
    zzz.ZZZBattleChronicleClient,
):
    """Battle chronicle component."""
var custom_headers : multidict._multidict.CIMultiDict[str]
Expand source code
class BattleChronicleClient(
    genshin.GenshinBattleChronicleClient,
    honkai.HonkaiBattleChronicleClient,
    starrail.StarRailBattleChronicleClient,
    zzz.ZZZBattleChronicleClient,
):
    """Battle chronicle component."""
var uids : dict[Game, int]
Expand source code
class BattleChronicleClient(
    genshin.GenshinBattleChronicleClient,
    honkai.HonkaiBattleChronicleClient,
    starrail.StarRailBattleChronicleClient,
    zzz.ZZZBattleChronicleClient,
):
    """Battle chronicle component."""

Inherited members