洛水居室
180b78fdab
🐛 Fix client stub
2023-07-18 13:19:53 +08:00
洛水居室
08f42a47ee
🐛 Fix the issue of incorrect parameter passing when using Field
2023-07-18 12:58:02 +08:00
83680dc77d
🐛 Fix query hk4e token by cookie token
2023-07-17 15:34:43 +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
omg-xtao
0161ec695c
✨ Add custom device header
2023-06-24 02:45:26 +08:00
omg-xtao
424c24a10b
🐛 get_record_cards ignore games that cannot be converted
2023-06-23 22:56:51 +08:00
omg-xtao
5962573495
✨ Add starrail hoyolab diary
2023-06-23 22:54:42 +08:00
洛水居室
15c7228e2c
🎨 Add URLTypes
2023-06-12 10:59:36 +08:00
洛水居室
27325f2791
🎨 Add GenshinClient
inheriting from CalculatorClient
2023-06-12 10:10:30 +08:00
洛水居室
f5664c7de0
🎨 Improve BadRequest
2023-06-12 10:09:03 +08:00
omg-xtao
ee385fea98
✅ Tests Ignore NeedChallenge
Error
2023-06-11 22:19:51 +08:00
omg-xtao
fc2faa805f
🐛 Fix RegionNotSupported
Error
2023-06-11 22:19:20 +08:00
omg-xtao
db76c21d4a
✨ Add starrail museum
2023-06-11 22:18:09 +08:00
luoshuijs
e6ec72272b
✨ Add NeedChallenge
and NotSupported
exception
2023-06-11 15:15:00 +08:00
洛水居室
888c729e1f
🎨 Exported Region
and Game
to simnet.__init__.py
2023-06-10 16:29:15 +08:00
omg-xtao
9aaaec2d88
✨ Add more starrail func
2023-06-09 22:55:51 +08:00
luoshuijs
a92a7f84f8
✨ Add transaction client
2023-06-09 19:50:48 +08:00
luoshuijs
40d55ea0ee
✨ Add diary client
2023-06-09 11:48:56 +08:00
luoshuijs
6f9cee697b
🔧 Add tests file patterns in .deepsource.toml
2023-06-09 11:23:58 +08:00
luoshuijs
f6cf65ba2e
✨ Add device fingerprint
2023-06-09 09:30:56 +08:00
luoshuijs
1a8053ea6b
🎨 Update get_record_card
2023-05-28 17:32:40 +08:00
842ad515cd
🐛 fix starrail wish model
2023-05-26 22:32:08 +08:00
luoshuijs
7671198c0c
✨ BaseClient
supports parsing cookies in str format
...
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2023-05-17 16:07:11 +08:00
omg-xtao
dea36a405f
✨ Support starrail user base info
2023-05-17 16:06:52 +08:00
kotoriのねこ
88466950fe
📝 Update docs to mention HSR limited availability on Hoyolab
2023-05-17 09:28:42 +08:00
洛水居室
39082b4bcd
✅ Update skip reason in client fixture
2023-05-12 11:57:15 +08:00
洛水居室
5f5ce47a8e
✨ Add recognizes the region of a genshin player ID for a game biz
2023-05-12 11:45:03 +08:00
洛水居室
f61f2951a5
✅ Add player ID check to client fixtures
...
In various client fixtures, a player ID check has been added to ensure that the player ID parameter is not None before creating the client object. This check helps to handle scenarios where the player ID is not provided, preventing potential errors or undesired behavior.
2023-05-12 11:36:03 +08:00
deepsource-autofix[bot]
d161c62e13
🎨 format code with black
2023-05-12 11:24:06 +08:00
洛水居室
834ce9b8ff
✅ Add region-related code to unit tests
2023-05-12 11:01:53 +08:00
洛水居室
a1b78dcb14
✨ Add get the genshin accounts
2023-05-11 17:35:24 +08:00
洛水居室
859c21c4f5
✅ Update tests
2023-05-11 16:39:04 +08:00
洛水居室
9731216a08
🎨 Update CalculatorTalent.type
function signature
...
Update the function signature of `CalculatorTalent.type` to support `None` as a valid value in Python 3.9.
2023-05-11 16:37:49 +08:00
洛水居室
009f74839f
✅ Add support for TEST_BUILD environment variable
...
In the `test_build` function, added support for the TEST_BUILD environment variable. Now, if the variable is set to True, the `test_build` function will run; otherwise, it will skip the test and output a related message. Additionally, introduced a new pytest fixture `if_test_build` to check if the test is enabled.
2023-05-09 16:20:56 +08:00
洛水居室
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
洛水居室
5ed80f626e
🔧 Add pyproject.toml
package metadata
2023-05-09 12:25:00 +08:00
洛水居室
4b09b328ee
📄 Add license
2023-05-09 12:21:15 +08:00
洛水居室
c2f562884e
✨ Add Calculator Client
2023-05-09 11:50:01 +08:00
洛水居室
fcc1f2489b
✨ Add setup
2023-05-08 11:37:45 +08:00
洛水居室
610686fa1b
🎨 Update Init
2023-05-08 11:13:56 +08:00
洛水居室
e38c48d43c
✨ Add version info
2023-05-08 10:54:45 +08:00
洛水居室
5f5c222f17
✨ Add Lab Client
2023-05-08 10:00:01 +08:00
洛水居室
2a86d10640
✅ Update test
...
- Test multiple clients
- Load testing configuration file using load_dotenv
- Add `requirements.dev.txt` file
2023-05-08 09:21:32 +08:00
洛水居室
72542c9676
🔧 Add .idea/
to .gitignore
...
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2023-05-08 09:10:56 +08:00
洛水居室
8446a16a51
🎨 Update recognize_starrail_server
function
...
Added support for additional servers
co-authored-by: xtaodada <xtao@xtaolink.cn>
2023-05-08 09:10:56 +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