Commit Graph

167 Commits

Author SHA1 Message Date
luoshuijs
9d2a984620
Add Verify Client 2023-11-19 00:22:22 +08:00
720e7c5832
🐛 Change 5003 error to InvalidDevice 2023-11-18 23:43:11 +08:00
c2b391f3b5
🍱 Update ds salt 2023-11-16 05:24:09 +00:00
33a3c3b86b
Support starrail activity - FoxStory 2023-11-15 23:44:15 +08:00
4235d26c8d
🍱 Update ds salt 2023-11-06 07:04:44 +00:00
eb856c5f31
🔖 Bump Version to v0.1.14 2023-11-04 16:40:20 +08:00
omg-xtao
07591cecd0
Support verify stoken ltoken cookie_token 2023-11-04 16:36:01 +08:00
omg-xtao
de26ed7062
Support get all token by stoken 2023-11-04 16:03:41 +08:00
420b1da340
🐛 Fix bbs FullUser 2023-11-03 23:18:11 +08:00
292ecd3c47
Support starrail activity - EndlessSide 2023-10-27 21:36:43 +08:00
61c1a2505f
🔖 Bump Version to v0.1.13 2023-10-25 23:17:06 +08:00
5de2f869ac
🍱 Update ds salt 2023-10-25 15:15:04 +00:00
0774a43f18
🐛 Add 5003 code to NeedChallenge 2023-10-25 23:11:54 +08:00
ce0accbe20
Support starrail activity - YitaiBattle 2023-10-11 18:11:42 +08:00
694b3c39d3
🍱 Update ds salt 2023-10-09 10:49:05 +00:00
ddf77ef162
👽 Move copper_man from activity to resident 2023-09-30 23:01:24 +08:00
fae6125ca1
🐛 Fix typo 2023-09-30 19:30:42 +08:00
omg-xtao
c7bd82e731
Add Encounter Points to Genshin Notes 2023-09-28 17:34:28 +08:00
72f3bfe797
🍱 Update ds salt 2023-09-21 10:14:04 +00:00
omg-xtao
1755117af7
support auto update ds 2023-09-21 17:12:47 +08:00
6ad3fe1723
Add reserve stamina to HSR Note Widget 2023-09-19 22:25:18 +08:00
e93925c3c2
🍱 Update 2.59.1 ds salt 2023-09-19 22:18:10 +08:00
1bc643437f
🔖 Bump Version to v0.1.12 2023-09-15 23:24:01 +08:00
9f6d35fc60
Support hoyolab redeem code 2023-09-15 23:19:49 +08:00
luoshuijs
f789d40bcc
🎨 Refactor RecordCard and Fix CI Check 2023-09-12 10:58:46 +08:00
洛水居室
d13e2e28c9
🔖 Bump Version to v0.1.11 2023-09-12 08:24:47 +08:00
091c257c3a Improve recognize_game_biz recognize_server 2023-09-11 21:08:44 +08:00
d49c69e855 🐛 Add -3 code to InvalidCookies 2023-09-11 21:08:44 +08:00
69f2a7b025
Support overseas genAuthKey 2023-09-11 19:32:44 +08:00
洛水居室
ca9e577ea6
🐛 Fix return type error and optimize variable naming 2023-09-07 23:38:48 +08:00
b1b7b70afb
Add rank to starrail RogueCharacter 2023-09-06 21:44:34 +08:00
95a31370d9
Add time_str to starrail rogue locust record 2023-09-06 21:38:45 +08:00
4f9e7e7db1
🔖 Bump Version to v0.1.10 2023-09-06 21:24:38 +08:00
6760b3cbc2 Support starrail rogue locust 2023-09-06 21:11:56 +08:00
5801b6766d Support starrail resident 2023-09-06 21:11:56 +08:00
洛水居室
bc93d34edf
🐛 Fix Validation Error for Diary 2023-09-06 11:57:35 +08:00
300d3aebc3
🔖 Bump Version to v0.1.9 2023-09-01 10:56:16 +08:00
1d4b7ccda1
Support starrail activity - CopperMan 2023-09-01 10:56:07 +08:00
3ded974452
🍱 Update 2.58.2 ds salt 2023-09-01 00:30:43 +08:00
afd67c000e
Add reserve stamina to HSR notes 2023-09-01 00:29:22 +08:00
洛水居室
62d9a3fe3c
🔖 Bump Version to v0.1.8 2023-08-21 10:05:46 +08:00
洛水居室
545f701d2c
🎨 Add hydroculi to genshin stats 2023-08-21 10:05:36 +08:00
3693a32130
Support starrail activity - TreasureDungeon 2023-08-09 16:55:52 +08:00
洛水居室
d7ee652efe
🔖 Bump Version to v0.1.7 2023-08-09 13:40:09 +08:00
omg-xtao
8b432edec0
support qrcode login and stoken_v2 2023-08-09 13:40:08 +08:00
01ae9d3ce9
🐛 Make CalculatorCharacterDetails weapon optional 2023-08-08 13:55:26 +08:00
洛水居室
05eedbe27f
🔖 Bump Version to v0.1.6 2023-08-05 19:02:42 +08:00
7646105c20
📝 Update typo 2023-08-05 19:02:25 +08:00
omg-xtao
4ebe5e006c
support oversea widget 2023-08-05 19:00:58 +08:00
5c1b70e239
🍱 Update 2.56.1 ds salt 2023-08-03 09:42:22 +08:00
洛水居室
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