mirror of
https://github.com/PaiGramTeam/SIMNet.git
synced 2024-11-16 12:02:17 +00:00
4250481727
- Fix issue with Daily Reward Client not running - Update Wish Client to support multiple banner retrieval - Fix issue with setting salt for dynamic secret - Improve APIModel to support multiple aliases - Add asyncio.sleep() to Wish paginator to prevent excessive requests Co-authored-by: xtaodada <xtao@xtaolink.cn>
18 lines
566 B
Python
18 lines
566 B
Python
from typing import Optional
|
|
|
|
from simnet.client.components.auth import AuthClient
|
|
from simnet.client.components.chronicle.genshin import GenshinBattleChronicleClient
|
|
from simnet.client.components.daily import DailyRewardClient
|
|
from simnet.client.components.wish.genshin import GenshinWishClient
|
|
from simnet.utils.enum_ import Game
|
|
|
|
__all__ = ("GenshinClient",)
|
|
|
|
|
|
class GenshinClient(
|
|
GenshinBattleChronicleClient, GenshinWishClient, AuthClient, DailyRewardClient
|
|
):
|
|
"""A simple http client for StarRail endpoints."""
|
|
|
|
game: Optional[Game] = Game.GENSHIN
|