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
|
2023-06-12 02:10:30 +00:00
|
|
|
from simnet.client.components.calculator.genshin import CalculatorClient
|
2023-05-05 12:04:41 +00:00
|
|
|
from simnet.client.components.chronicle.genshin import GenshinBattleChronicleClient
|
2023-05-08 00:53:48 +00:00
|
|
|
from simnet.client.components.daily import DailyRewardClient
|
2023-06-09 03:48:56 +00:00
|
|
|
from simnet.client.components.diary.genshin import GenshinDiaryClient
|
2023-05-08 02:00:01 +00:00
|
|
|
from simnet.client.components.lab import LabClient
|
2023-06-09 11:50:48 +00:00
|
|
|
from simnet.client.components.transaction import TransactionClient
|
2023-11-18 16:22:22 +00:00
|
|
|
from simnet.client.components.verify import VerifyClient
|
2023-05-05 12:04:41 +00:00
|
|
|
from simnet.client.components.wish.genshin import GenshinWishClient
|
2023-12-27 07:09:24 +00:00
|
|
|
from simnet.utils.enums import Game
|
2023-05-05 04:06:43 +00:00
|
|
|
|
|
|
|
__all__ = ("GenshinClient",)
|
|
|
|
|
|
|
|
|
2023-05-08 00:53:48 +00:00
|
|
|
class GenshinClient(
|
2023-06-12 02:10:30 +00:00
|
|
|
CalculatorClient,
|
2023-05-08 02:00:01 +00:00
|
|
|
GenshinBattleChronicleClient,
|
|
|
|
GenshinWishClient,
|
2023-06-09 03:48:56 +00:00
|
|
|
GenshinDiaryClient,
|
2023-05-08 02:00:01 +00:00
|
|
|
AuthClient,
|
|
|
|
DailyRewardClient,
|
|
|
|
LabClient,
|
2023-06-09 11:50:48 +00:00
|
|
|
TransactionClient,
|
2023-11-18 16:22:22 +00:00
|
|
|
VerifyClient,
|
2023-05-08 00:53:48 +00:00
|
|
|
):
|
2023-06-09 11:50:48 +00:00
|
|
|
"""A simple http client for Genshin endpoints."""
|
2023-05-05 14:15:40 +00:00
|
|
|
|
|
|
|
game: Optional[Game] = Game.GENSHIN
|