Replies: 24 comments 1 reply
-
与国服类似,可以参考 文档,数据都是差不多的。
获取角色列表,返回相关数据如下: mihoyo-api-collect/hoyolab/user/game_account_info.md Lines 766 to 777 in a8dc1cc |
Beta Was this translation helpful? Give feedback.
-
DS2有效期只有10秒 |
Beta Was this translation helpful? Give feedback.
-
我只会java所以是用java写的,我生成好的DS2是立马使用的 |
Beta Was this translation helpful? Give feedback.
-
首先,你的 其次,hoyolab的salt与国服是不一样的 |
Beta Was this translation helpful? Give feedback.
-
抱歉,我role_id一直用的是hoyolab中的通行证id,最近我这边登录游戏一直是“请求频繁”就没上号确认(失忆了)=。= |
Beta Was this translation helpful? Give feedback.
-
HoYoLab版本:2.54.0 |
Beta Was this translation helpful? Give feedback.
-
老哥,抱歉啊周末去外地玩了才看到 |
Beta Was this translation helpful? Give feedback.
-
上代理,hoyolab禁大陆的 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
谁跟你说有4X这个头的 |
Beta Was this translation helpful? Give feedback.
-
另外 -10001 100%是生成的DS不正确 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
文档上所说的验证请求头部分, 以下是一个请求头模板,只列出了部分出现频率高的字段,实际上会包含更多的字段
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
这个要验证的”cookie“不就应该就是通过Login Ticket获取SToken(V1)和LToken(V1)这个地方获取的ltoken嘛?这个我拿到了 |
Beta Was this translation helpful? Give feedback.
-
DS只能自己生成,拿别的请求的没用,歇歇吧 |
Beta Was this translation helpful? Give feedback.
-
另外HoYoLAB与米游社的SALT不能混用 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
为什么不先用米游社的请求呢?只是测试ds算法的话两者是通用的 |
Beta Was this translation helpful? Give feedback.
-
这是java写的,改了一下也都有加注释,能帮我看看问题在哪嘛?(那我就先解决ds的问题再说问HoYoLAB的SALT) |
Beta Was this translation helpful? Give feedback.
-
getMultiTokenByLoginTicket 甚至根本不需要DS 和Cookie,只需要正确的query参数。 |
Beta Was this translation helpful? Give feedback.
-
game_record/genshin/api/index 需要正确的referer |
Beta Was this translation helpful? Give feedback.
-
另外你随便点开一个在这里评论的人,他的主页要是没有项目我原地赤石 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
国际服获取LToken我推测出是 https://api-account-os.hoyoverse.com/account/auth/api/getMultiTokenByLoginTicket ,但我没搞明白通过LToken获取绑定游戏账号的基本信息该用什么,有人能帮帮我嘛?顺带一提,有能获取角色武器信息的api嘛?
Beta Was this translation helpful? Give feedback.
All reactions