Commit Graph

16 Commits

Author SHA1 Message Date
洛水居室
912a41fe45
Refactor auth client and add test 2023-05-09 16:06:32 +08:00
洛水居室
b74b9aef33
Refactor BaseClient class and add cookie property accessor
Added a `cookies` property accessor to the `BaseClient` class, which retrieves cookies from the `httpx` AsyncClient object and returns a `simnet.client.cookies.Cookies` object (which is a custom implementation of the `httpx.Cookies` class). Additionally, the initialization function was refactored to better support using cookies. Now, if `account_id` is not passed in, it will be retrieved from the cookies.
2023-05-09 15:19:36 +08:00
洛水居室
c2f562884e
Add Calculator Client 2023-05-09 11:50:01 +08:00
洛水居室
610686fa1b
🎨 Update Init 2023-05-08 11:13:56 +08:00
洛水居室
5f5c222f17
Add Lab Client 2023-05-08 10:00:01 +08:00
洛水居室
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
洛水居室
5d2d3609bb
Add Get Record Cards 2023-05-06 20:53:19 +08:00
洛水居室
10a1a22f68
Add Daily Reward Client 2023-05-05 22:15:40 +08:00
洛水居室
14b107b5a1
🎨 Organize client subdirectories and add __all__ variable
Moves all subdirectories from 'simnet/client' to 'simnet/client/components' and adds the `__all__` variable to all affected files.

This change is intended to improve code organization and make it easier to manage exported symbols from these modules.
2023-05-05 20:04:41 +08:00
洛水居室
098c022a55
Add Genshin Client 2023-05-05 12:06:43 +08:00
洛水居室
bc7397f379
Add Auth Client 2023-05-04 23:51:24 +08:00
洛水居室
ff07ac974f
Add Wish Paginator 2023-05-04 19:35:01 +08:00
洛水居室
4291309aba
Add timeout configuration for the BaseClient 2023-05-02 01:02:53 +08:00
洛水居室
cd97a751b9
Add Star Rail Client 2023-05-02 01:02:53 +08:00
洛水居室
7294850914
Add Routes 2023-05-02 01:02:53 +08:00
洛水居室
90ee5725e0
Add Base Client 2023-05-02 01:02:52 +08:00