2023-01-20 05:57:30 +00:00
|
|
|
|
|
2023-02-12 06:35:07 +00:00
|
|
|
|
<p align="center">
|
2023-05-18 11:11:41 +00:00
|
|
|
|
<img src="https://raw.githubusercontent.com/UIGF-org/mihoyo-api-collect/main/files/images/logo.png" height="200">
|
2023-05-28 12:34:49 +00:00
|
|
|
|
<br>
|
|
|
|
|
<a href="https://github.com/UIGF-org/mihoyo-api-collect" style="text-decoration: none;">
|
|
|
|
|
<img alt="GitHub repo size" src="https://img.shields.io/github/repo-size/UIGF-org/mihoyo-api-collect?style=flat-square">
|
|
|
|
|
</a>
|
|
|
|
|
<br>
|
|
|
|
|
<a href="https://github.com/UIGF-org/mihoyo-api-collect/issues" style="text-decoration: none;">
|
|
|
|
|
<img alt="GitHub issues" src="https://img.shields.io/github/issues/UIGF-org/mihoyo-api-collect?style=flat-square">
|
|
|
|
|
</a>
|
|
|
|
|
<a href="https://github.com/UIGF-org/mihoyo-api-collect/discussions" style="text-decoration: none;">
|
|
|
|
|
<img alt="GitHub discussions" src="https://img.shields.io/github/discussions/UIGF-org/mihoyo-api-collect?color=%23555&style=flat-square">
|
|
|
|
|
</a>
|
|
|
|
|
<a href="https://github.com/UIGF-org/mihoyo-api-collect/graphs/contributors" style="text-decoration: none;">
|
|
|
|
|
<img alt="GitHub contributors" src="https://img.shields.io/github/contributors/UIGF-org/mihoyo-api-collect?color=%23c0c0c0&style=flat-square">
|
|
|
|
|
</a>
|
|
|
|
|
<br>
|
|
|
|
|
<a href="https://github.com/UIGF-org/mihoyo-api-collect/blob/master/LICENSE" style="text-decoration: none;">
|
|
|
|
|
<img alt="Github license" src="https://img.shields.io/static/v1?style=flat-square&label=license&message=CC%20BY-NC%204.0&color=blueviolet">
|
|
|
|
|
</a>
|
|
|
|
|
<a href="https://github.com/UIGF-org/mihoyo-api-collect/commits/main" style="text-decoration: none;">
|
|
|
|
|
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/UIGF-org/mihoyo-api-collect?color=%23114514&style=flat-square">
|
|
|
|
|
</a>
|
|
|
|
|
<a href="https://github.com/UIGF-org/mihoyo-api-collect/stargazers" style="text-decoration: none;">
|
|
|
|
|
<img alt="GitHub repo stars" src="https://img.shields.io/github/stars/UIGF-org/mihoyo-api-collect?color=%23aa4499&style=flat-square">
|
|
|
|
|
</a>
|
|
|
|
|
<a href="https://github.com/UIGF-org/mihoyo-api-collect/forks" style="text-decoration: none;">
|
|
|
|
|
<img alt="GitHub forks" src="https://img.shields.io/github/forks/UIGF-org/mihoyo-api-collect?color=%23456789&style=flat-square">
|
|
|
|
|
</a>
|
2023-02-12 06:35:07 +00:00
|
|
|
|
</p>
|
2023-02-12 06:20:40 +00:00
|
|
|
|
|
2023-01-20 05:57:30 +00:00
|
|
|
|
<h1 align="center">米哈游API</h1>
|
|
|
|
|
<p align="center">米游社、原神、崩坏</p>
|
|
|
|
|
|
|
|
|
|
---
|
2023-02-05 07:37:52 +00:00
|
|
|
|
|
2023-01-20 05:57:30 +00:00
|
|
|
|
目的是收集米哈游的米游社、原神、崩坏等应用、游戏的API。
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2023-02-08 18:01:26 +00:00
|
|
|
|
## 声明
|
2023-01-20 05:57:30 +00:00
|
|
|
|
|
2023-02-08 17:53:41 +00:00
|
|
|
|
1. 本项目遵守CC-BY-NC 4.0协议,禁止一切商业使用,如需转载请注明作者及原文档地址。
|
|
|
|
|
2. **请勿滥用,本项目仅用于学习和测试!**
|
|
|
|
|
**请勿滥用,本项目仅用于学习和测试!**
|
|
|
|
|
**请勿滥用,本项目仅用于学习和测试!**
|
|
|
|
|
3. 利用本项目提供的接口、文档等造成不良影响及后果与本人无关。
|
|
|
|
|
4. 由于本项目的特殊性,可能随时停止编写或删档。
|
|
|
|
|
5. 本项目为开源项目,不接受任何形式的催单和索取行为,更不容许存在付费内容。
|
2023-01-20 05:57:30 +00:00
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2023-03-11 15:52:53 +00:00
|
|
|
|
## 如何贡献文档
|
|
|
|
|
|
|
|
|
|
参阅[贡献指南](CONTRIBUTING.md)。
|
|
|
|
|
|
|
|
|
|
如有不理解的地方可以开启Issue。
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2023-02-08 18:01:26 +00:00
|
|
|
|
## 目录
|
|
|
|
|
|
2023-02-12 06:35:07 +00:00
|
|
|
|
仅有部分内容,正在建设中……
|
2023-01-21 17:59:03 +00:00
|
|
|
|
|
2023-02-05 00:10:38 +00:00
|
|
|
|
已完结的文章会选中Checkbox。
|
|
|
|
|
|
2023-05-13 05:44:01 +00:00
|
|
|
|
- [x] [绕过检测与鉴权](other/authentication.md)
|
2023-01-20 05:57:30 +00:00
|
|
|
|
- [ ] [错误码](other/error_code.md)
|
2023-02-05 07:37:52 +00:00
|
|
|
|
- [ ] [各种ID对照表](other/id.md)
|
2023-08-25 14:33:17 +00:00
|
|
|
|
- [x] [游戏启动器信息](other/launcher.md)
|
2023-02-05 00:10:38 +00:00
|
|
|
|
---
|
|
|
|
|
|
2023-02-08 18:01:26 +00:00
|
|
|
|
### 米游社(HoYoLab,MiYouShe)
|
2023-02-05 00:10:38 +00:00
|
|
|
|
|
|
|
|
|
米游社的API几乎均为REST API结构。使用URL参数(URL Query,GET方式)或者JSON(POST方式)来传递参数,返回类型为JSON格式。使用HTTP不会强制301跳转至HTTPS协议通信,但是会返回401。
|
2023-01-20 05:57:30 +00:00
|
|
|
|
|
2023-01-20 16:38:18 +00:00
|
|
|
|
- [ ] [米游社](hoyolab)
|
|
|
|
|
- [ ] [登录](hoyolab/login)
|
2023-08-12 08:55:16 +00:00
|
|
|
|
- [x] [验证码登录](hoyolab/login/sms.md)
|
2023-09-11 11:48:08 +00:00
|
|
|
|
- [x] [密码登录(米游社)](hoyolab/login/password_hoyolab.md)
|
|
|
|
|
- [x] [密码登录(米哈游通行证)](hoyolab/login/password_passport.md)
|
2023-09-03 06:53:15 +00:00
|
|
|
|
- [x] [扫码登录(GameToken)](hoyolab/login/qrcode_hk4e.md)
|
|
|
|
|
- [x] [扫码登录(米游社)](hoyolab/login//qrcode_hoyolab.md)
|
2023-02-05 00:10:38 +00:00
|
|
|
|
- [ ] [论坛](hoyolab/forum)
|
|
|
|
|
- [ ] [基本信息](hoyolab/forum/info.md)
|
2023-01-20 16:38:18 +00:00
|
|
|
|
- [ ] [文章](hoyolab/article)
|
2023-02-05 00:10:38 +00:00
|
|
|
|
- [ ] [文章](hoyolab/article/article.md)
|
|
|
|
|
- [ ] [文章操作](hoyolab/article/article_operation.md)
|
2023-02-12 06:20:40 +00:00
|
|
|
|
- [ ] [公告](hoyolab/article/announcement.md)
|
2023-02-05 00:10:38 +00:00
|
|
|
|
- [ ] [用户](hoyolab/user)
|
|
|
|
|
- [ ] [用户信息](hoyolab/user/info.md)
|
2023-06-18 11:36:41 +00:00
|
|
|
|
- [x] [用户Token](hoyolab/user/token.md)
|
2023-02-12 06:20:40 +00:00
|
|
|
|
- [ ] [用户游戏信息](hoyolab/user/game_account_info.md)
|
2023-02-05 00:10:38 +00:00
|
|
|
|
|
2023-08-20 13:02:52 +00:00
|
|
|
|
|
2023-02-05 00:10:38 +00:00
|
|
|
|
---
|
|
|
|
|
|
2023-02-08 18:01:26 +00:00
|
|
|
|
### 《原神(Genshin Impact,Genshin,hk4e)》
|
2023-02-05 07:37:52 +00:00
|
|
|
|
|
2023-05-26 12:28:57 +00:00
|
|
|
|
关于《原神》的API。
|
2023-02-05 00:10:38 +00:00
|
|
|
|
|
2023-02-12 06:35:07 +00:00
|
|
|
|
<!-- 《原神》游戏内使用Socket进行通信,数据结构为Protobuf协议,并且已加密。 -->
|
|
|
|
|
|
2023-02-12 04:00:53 +00:00
|
|
|
|
查询玩家信息请查看[米游社](#米游社hoyolabmiyoushe)。
|
|
|
|
|
|
2023-02-05 00:10:38 +00:00
|
|
|
|
- [ ] [原神](genshin_impact)
|
2023-05-13 05:44:01 +00:00
|
|
|
|
<!-- - [ ] [登录](genshin_impact/login)
|
2023-02-05 00:10:38 +00:00
|
|
|
|
- [ ] [密码登录](genshin_impact/login/password.md)
|
|
|
|
|
- [ ] [验证码登录](genshin_impact/login/sms.md)
|
|
|
|
|
- [ ] [用户信息](genshin_impact/user)
|
2023-05-13 05:44:01 +00:00
|
|
|
|
- [ ] [基本信息](genshin_impact/user/info.md) -->
|
2023-02-08 17:53:41 +00:00
|
|
|
|
- [ ] [其它](genshin_impact/other/)
|
|
|
|
|
- [ ] [公告](genshin_impact/other/announcement.md)
|
2023-05-26 12:28:57 +00:00
|
|
|
|
- [ ] [第三方API](genshin_impact/thirdparty/)
|
2023-05-26 12:31:25 +00:00
|
|
|
|
- [ ] [历史祈愿UP池](genshin_impact/thirdparty/historical_up_items.md)
|
|
|
|
|
- [ ] [项目ID与名称的字典](genshin_impact/thirdparty/dictionary_of_item.md)
|
2023-02-05 00:10:38 +00:00
|
|
|
|
|
2023-05-18 11:11:41 +00:00
|
|
|
|
### 《崩坏:星穹铁道(Honkai: Star Rail,Star Rail,hkrpg)》
|
2023-05-13 05:44:01 +00:00
|
|
|
|
|
2023-05-26 12:28:57 +00:00
|
|
|
|
关于《崩坏:星穹铁道》的API。
|
2023-05-13 05:44:01 +00:00
|
|
|
|
|
|
|
|
|
查询玩家信息请查看[米游社](#米游社hoyolabmiyoushe)。
|
|
|
|
|
|
|
|
|
|
- [ ] [崩坏:星穹铁道](honkai_star_rail)
|
|
|
|
|
- [ ] [其它](honkai_star_rail/other/)
|
|
|
|
|
- [ ] [公告](honkai_star_rail/other/announcement.md)
|
|
|
|
|
|
2023-02-12 06:35:07 +00:00
|
|
|
|
<!--
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### 《崩坏3(Honkai Impact,Honkai)》
|
|
|
|
|
|
|
|
|
|
《崩坏3》游戏内的API。
|
|
|
|
|
|
|
|
|
|
-->
|
2023-02-05 00:10:38 +00:00
|
|
|
|
---
|
|
|
|
|
|
2023-07-13 13:14:56 +00:00
|
|
|
|
## 贡献
|
|
|
|
|
|
|
|
|
|
[![contributors](https://opencollective.com/mihoyo-api-collect/contributors.svg?width=860&button=false)](https://github.com/UIGF-org/mihoyo-api-collect/graphs/contributors)
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2023-02-08 18:01:26 +00:00
|
|
|
|
## 相关项目
|
2023-02-05 00:10:38 +00:00
|
|
|
|
|
2023-05-15 08:47:10 +00:00
|
|
|
|
- [Star Rail Warp Export](https://github.com/biuuu/star-rail-warp-export) - 星穹铁道跃迁记录导出工具。
|
|
|
|
|
- [Genshin Wish Export](https://github.com/biuuu/genshin-wish-export/) - 原神祈愿记录导出工具
|
|
|
|
|
- [Genshin Wish Analyzer](https://github.com/voderl/genshin-gacha-analyzer) - 原神祈愿记录分析器
|
2023-05-18 11:11:41 +00:00
|
|
|
|
- [Genshin Kits for Node.js](https://github.com/genshin-kit/genshin-kit-node) - Node.js原神玩家信息查询库
|
2023-05-15 08:47:10 +00:00
|
|
|
|
- [Genshin Helper](https://github.com/y1ndan/genshinhelper2) - Python米游社API封装库
|
2023-05-18 11:11:41 +00:00
|
|
|
|
- [Yunzai Bot](https://gitee.com/le-niao/Yunzai-Bot) - 原始云崽机器人,QQ群原神信息查询机器人
|
|
|
|
|
- [Miao Yunzai](https://github.com/yoimiya-kokomi/Miao-Yunzai) - “喵”版云崽机器人,QQ群原神信息和原神角色面板查询机器人
|
2023-05-15 08:47:10 +00:00
|
|
|
|
- [Genshin Player Query](https://github.com/Azure99/GenshinPlayerQuery) - 原神玩家信息查询
|
2023-05-18 11:11:41 +00:00
|
|
|
|
- [Snap Hu Tao](https://github.com/DGP-Studio/Snap.Hutao) - 原神工具箱
|
|
|
|
|
- [Cocogoat](https://github.com/YuehaiTeam/cocogoat) - 原神成就记录与圣遗物管理
|
|
|
|
|
- [UIGF API](https://github.com/UIGF-org/UIGF-API) - 原神项目ID与项目名称互相转换API
|