SIMNet/simnet/client/genshin.py
洛水居室 4250481727
🐛 Fix issues and improve functionality
- 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>
2023-05-08 08:56:24 +08:00

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