Wish Client
WishClient
Wish component.
Methods:
-
get_banner_details–Get all banner details at once in a batch.
-
get_banner_ids–Get a list of banner ids.
-
get_banner_names–Get a list of banner names.
-
get_gacha_items–Get the list of characters and weapons that can be gotten from the gacha.
-
get_genshin_banner_ids–Get a list of banner ids.
-
get_genshin_banner_names–Get a list of banner names.
-
get_genshin_gacha_items–Get the list of characters and weapons that can be gotten from the gacha.
-
mw_wish_history–Get the Miliastra Wonderland wish history of a user.
-
request_gacha_info–Make a request towards the gacha info endpoint.
-
signal_history–Get the signal search history of a user.
-
warp_history–Get the warp history of a user.
-
wish_history–Get the wish history of a user.
get_banner_details
async
get_banner_details(banner_ids: Optional[Sequence[str]] = None, *, game: Optional[Game] = None, lang: Optional[str] = None) -> Sequence[BannerDetails]
Get all banner details at once in a batch.
get_banner_ids
async
Get a list of banner ids.
Uses the current cn banners.
get_banner_names
async
Get a list of banner names.
get_gacha_items
async
Get the list of characters and weapons that can be gotten from the gacha.
get_genshin_banner_ids
async
Get a list of banner ids.
Uses the current cn banners.
get_genshin_banner_names
async
get_genshin_banner_names(*, lang: Optional[str] = None, authkey: Optional[str] = None) -> Mapping[int, str]
Get a list of banner names.
get_genshin_gacha_items
async
get_genshin_gacha_items(*, server: str = 'os_asia', lang: Optional[str] = None) -> Sequence[GachaItem]
Get the list of characters and weapons that can be gotten from the gacha.
mw_wish_history
mw_wish_history(banner_type: Optional[Union[int, Sequence[int]]] = None, *, limit: Optional[int] = None, lang: Optional[str] = None, authkey: Optional[str] = None, end_id: int = 0) -> Paginator[MWWish]
Get the Miliastra Wonderland wish history of a user.
request_gacha_info
async
request_gacha_info(endpoint: str, *, lang: Optional[str] = None, game: Optional[Game] = None, authkey: Optional[str] = None, params: Optional[Mapping[str, Any]] = None, short_lang_code: bool = True, **kwargs: Any) -> Mapping[str, Any]
Make a request towards the gacha info endpoint.
signal_history
signal_history(banner_type: Optional[Union[int, Sequence[int]]] = None, *, limit: Optional[int] = None, lang: Optional[str] = None, authkey: Optional[str] = None, end_id: int = 0) -> Paginator[SignalSearch]
Get the signal search history of a user.