2023-05-05 14:15:40 +00:00
|
|
|
from typing import Optional
|
|
|
|
|
2023-05-05 12:04:41 +00:00
|
|
|
from simnet.client.components.auth import AuthClient
|
|
|
|
from simnet.client.components.chronicle.genshin import GenshinBattleChronicleClient
|
|
|
|
from simnet.client.components.wish.genshin import GenshinWishClient
|
2023-05-05 14:15:40 +00:00
|
|
|
from simnet.utils.enum_ import Game
|
2023-05-05 04:06:43 +00:00
|
|
|
|
|
|
|
__all__ = ("GenshinClient",)
|
|
|
|
|
|
|
|
|
2023-05-05 12:04:41 +00:00
|
|
|
class GenshinClient(GenshinBattleChronicleClient, GenshinWishClient, AuthClient):
|
2023-05-05 04:06:43 +00:00
|
|
|
"""A simple http client for StarRail endpoints."""
|
2023-05-05 14:15:40 +00:00
|
|
|
|
|
|
|
game: Optional[Game] = Game.GENSHIN
|