Commit Graph

67 Commits

Author SHA1 Message Date
洛水居室
1c30dbe29c
🔖 Bump Version to v0.1.5 2023-07-23 23:34:56 +08:00
omg-xtao
d3b3a4b62e
support aapi 2023-07-23 17:41:26 +08:00
omg-xtao
2e50bf2081
Support starrail activity - FantasticStory 2023-07-21 17:11:30 +08:00
洛水居室
63ce8a249e
🎨 Refactor BaseCharacter class by updating type of 'rarity' attribute 2023-07-21 11:05:51 +08:00
洛水居室
0cf35666ec
🔖 Bump Version to v0.1.4 2023-07-20 13:59:10 +08:00
omg-xtao
5d2000196f
Update SR notes 2023-07-20 13:57:45 +08:00
49b69577f2
🍱 Update 2.55.1 ds salt 2023-07-19 20:25:06 +08:00
洛水居室
fd73456360
🔖 Bump Version to v0.1.3 2023-07-19 20:08:15 +08:00
洛水居室
07977a7738
🎨 Renamed ApiHelperException to SIMNetException due to project renaming
The project was originally initialized as 'ApiHelper', but has since been formally renamed to 'SIMNet'. This commit updates the base exception class name and the associated documentation comment to reflect this change, for consistency.
2023-07-19 20:07:44 +08:00
洛水居室
abd73f4050
Revert "Update DailyRewardClient error handler" 2023-07-19 13:27:55 +08:00
409e0058f9
🐛 Fix daily reward lang 2023-07-19 13:02:22 +08:00
洛水居室
ca085ef7f7
🔖 Bump Version to v0.1.2 2023-07-19 12:44:42 +08:00
e840edd614
🐛 Fix BadRequest ret code 2023-07-19 12:41:39 +08:00
洛水居室
9970561cf7
🎨 Update DailyRewardClient error handler 2023-07-19 10:22:10 +08:00
洛水居室
cc06be92fb
🎨 Rename list attribute in CalculatorArtifactResult
The `list` attribute in the `CalculatorArtifactResult` class was renamed to `consumable_list`. This was done to avoid confusion and potential issues with the use of `list`, which is a built-in name in Python.
2023-07-18 22:17:06 +08:00
d0f7ec35c3
🐛 Fix hoyolab game sign 2023-07-18 21:27:23 +08:00
386c14c149
Support query starrail activity 2023-07-18 21:14:16 +08:00
b29ecf51fa
♻️ Refactor device property to func 2023-07-18 20:13:07 +08:00
洛水居室
c2791a8619
🎨 Update request_daily_reward request header 2023-07-18 20:00:44 +08:00
洛水居室
0c0c841a13
🔖 Bump Version to v0.1.1 2023-07-18 17:37:27 +08:00
omg-xtao
e66746da23
Support hoyolab auth methods 2023-07-18 14:31:06 +08:00
洛水居室
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
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
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
洛水居室
5f5ce47a8e
Add recognizes the region of a genshin player ID for a game biz 2023-05-12 11:45:03 +08:00
deepsource-autofix[bot]
d161c62e13
🎨 format code with black 2023-05-12 11:24:06 +08:00
洛水居室
a1b78dcb14
Add get the genshin accounts 2023-05-11 17:35:24 +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
洛水居室
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