genshin-kit/genshin-kit-node

hoyolab(cn): DS & API endpoints need to be updated

dragon-fish opened this issue · 2 comments

盐值算法和查询接口在 2.11.1 版本中发生了变化,需要等待大佬拿到新的数据。

相关 issues 参考:Azure99/GenshinPlayerQuery#20

https://github.com/genshin-kit/genshin-kit/blob/d2603362181504c4cd403ab9d9680a79a5d4da29/src/module/_getApiEndpoint.ts#L5-L7

- return 'https://api-takumi.mihoyo.com/game_record/genshin/api/' 
+ return 'https://api-takumi.mihoyo.com/game_record/app/genshin/api/'

盐值算法已确定

Azure99/GenshinPlayerQuery#20 (comment)

| salt=xV8v4Qu54lUKrEYFZkJhB8cuOh9Asafs&t=1630853649&r=<100000-200000的正整数>&b=<可以不填,post请求时的body,需要按字母顺序排列>&q=uid=<查询的uid>

感谢大佬 @lulu666lulu