Skip to content
New issue

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

[Feature] 背景图改进 #833

Closed
2 tasks done
Rui3128 opened this issue Jun 19, 2024 · 1 comment
Closed
2 tasks done

[Feature] 背景图改进 #833

Rui3128 opened this issue Jun 19, 2024 · 1 comment

Comments

@Rui3128
Copy link

Rui3128 commented Jun 19, 2024

Checklist

  • I have already read docs/Tips.md, but my feature is not implemented.
  • My suggested feature was not mentioned by others, and it is not a duplicate feature.

Summary

云·原神 背景图
星穹铁道 背景图

Solution or Design

云·原神背景图可以用这个api就不用把公告移动到另一侧了
替换height和width参数为窗口宽高会自动返回合适的排版
https://api-cloudgame.mihoyo.com/hk4e_cg_cn/gamer/api/getUIConfig?height=1266&width=761&type=2

旧版星穹铁道启动器已经停止支持,背景图API已经没图片链接返回了
image
新版启动器背景图API
https://hyp-api.mihoyo.com/hyp/hyp-connect/api/getAllGameBasicInfo?launcher_id=jGHBHlcOq1&language=zh-cn&game_id=64kMb5iAWu
国际服
https://sg-hyp-api.hoyoverse.com/hyp/hyp-connect/api/getAllGameBasicInfo?launcher_id=VYTpXlbWo8&language=zh-cn7D&game_id=4ziysqXOQ8
替换game_id参数还有别的几个游戏背景图

name biz game_id
绝区零 nap_cn x6znKlJ0xK
崩坏星穹铁道 hkrpg_cn 64kMb5iAWu
原神 hk4e_cn 1Z8W5NHUQb
崩坏3 bh3_cn osvnlOc0S8
ZenlessZoneZero nap_global U5hbdsT9W7
HonkaiStarRail hkrpg_global 4ziysqXOQ8
GenshinImpact hk4e_global gopR6Cufr3
HonkaiImpact3rd bh3_global 5TIVvvcwtM

@Rui3128 Rui3128 added the triage Issue needs to be triaged label Jun 19, 2024
@starward-bot
Copy link

starward-bot bot commented Jun 20, 2024

@Eric-Joker deleted the following comment
published at 2024-06-19 22:58:40 +00:00
updated at 2024-06-20 00:03:26 +00:00

#830
https://github.com/Eric-Joker/Starward/actions/runs/9589438453

@Scighost Scighost added Area: UI/UX and removed triage Issue needs to be triaged labels Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants