Module genshin.utility.logfile

Search logfile for authkeys.

Functions

def extract_authkey(string: str) ‑> Optional[str]

Extract an authkey from the provided string.

def get_authkey(game_location: Union[str, pathlib.Path, ForwardRef(None)] = None, *, game: Optional[Game] = None) ‑> str

Get an authkey contained in a datafile.

def get_genshin_banner_ids(logfile: Union[str, pathlib.Path, ForwardRef(None)] = None) ‑> Sequence[str]

Get all banner ids from a log file.