SIMNet/simnet/client/starrail.py

27 lines
826 B
Python
Raw Normal View History

2023-05-05 14:15:40 +00:00
from typing import Optional
from simnet.client.components.auth import AuthClient
from simnet.client.components.chronicle.starrail import StarRailBattleChronicleClient
2023-05-08 02:00:01 +00:00
from simnet.client.components.daily import DailyRewardClient
2023-06-09 03:48:56 +00:00
from simnet.client.components.diary.starrail import StarrailDiaryClient
2023-05-08 02:00:01 +00:00
from simnet.client.components.lab import LabClient
2023-11-18 16:22:22 +00:00
from simnet.client.components.verify import VerifyClient
from simnet.client.components.wish.starrail import StarRailWishClient
2023-05-05 14:15:40 +00:00
from simnet.utils.enum_ import Game
2023-05-01 12:50:48 +00:00
__all__ = ("StarRailClient",)
2023-05-08 02:00:01 +00:00
class StarRailClient(
StarRailBattleChronicleClient,
StarRailWishClient,
2023-06-09 03:48:56 +00:00
StarrailDiaryClient,
2023-05-08 02:00:01 +00:00
DailyRewardClient,
AuthClient,
LabClient,
2023-11-18 16:22:22 +00:00
VerifyClient,
2023-05-08 02:00:01 +00:00
):
2023-05-01 12:50:48 +00:00
"""A simple http client for StarRail endpoints."""
2023-05-05 14:15:40 +00:00
game: Optional[Game] = Game.STARRAIL