Commit Graph

7 Commits

Author SHA1 Message Date
omg-xtao
de26ed7062
Support get all token by stoken 2023-11-04 16:03:41 +08:00
omg-xtao
e66746da23
Support hoyolab auth methods 2023-07-18 14:31:06 +08:00
omg-xtao
70b683268b
🐛 Fix some genshin problems 2023-07-17 13:14:40 +08:00
luoshuijs
0354fe7aa5
🎨 Improve the Cookie class to allow it to accept more types of parameters 2023-06-24 19:30:54 +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
洛水居室
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
洛水居室
90ee5725e0
Add Base Client 2023-05-02 01:02:52 +08:00