We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URL是https://api-takumi-static.mihoyo.com/event/miyolive/refreshCode?version=3d6c3b&time={精确到秒的时间戳} 需要带一个HTTP请求头x-rpc-act_id,内容是直播页面URL里的act_id,否则会提示活动已结束(返回码-500012) 官方网页请求时会带一个Accept头,内容是application/json, text/plain, */*,试过不带也可以 返回的data内容大概是下面这样的(原神的code_list里会有3个):
https://api-takumi-static.mihoyo.com/event/miyolive/refreshCode?version=3d6c3b&time={精确到秒的时间戳}
{"code_list":[{"title":"{HTML格式兑换码内容}","code":"{兑换码}","img":"{兑换码图标URL}","to_get_time":"{兑换码出现时间戳}"}]}
暂时还没出现的兑换码在列表里是全空的:
{"title":"","code":"","img":"","to_get_time":""}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
URL是
https://api-takumi-static.mihoyo.com/event/miyolive/refreshCode?version=3d6c3b&time={精确到秒的时间戳}
需要带一个HTTP请求头x-rpc-act_id,内容是直播页面URL里的act_id,否则会提示活动已结束(返回码-500012)
官方网页请求时会带一个Accept头,内容是application/json, text/plain, */*,试过不带也可以
返回的data内容大概是下面这样的(原神的code_list里会有3个):
暂时还没出现的兑换码在列表里是全空的:
The text was updated successfully, but these errors were encountered: