2023-01-20 05:57:30 +00:00
|
|
|
|
|
2023-02-12 06:20:40 +00:00
|
|
|
|
|
2023-02-12 06:35:07 +00:00
|
|
|
|
<p align="center">
|
|
|
|
|
<img src="https://raw.githubusercontent.com/Kamisato-Ayaka-233/mihoyo-api-collect/main/files/images/top.jpg" height="200">
|
2023-02-14 11:39:43 +00:00
|
|
|
|
<br/><br/>
|
|
|
|
|
<img alt="GitHub repo size" src="https://img.shields.io/github/repo-size/Kamisato-Ayaka-233/mihoyo-api-collect?style=flat-square">
|
|
|
|
|
<br/>
|
|
|
|
|
<img alt="GitHub issues" src="https://img.shields.io/github/issues/Kamisato-Ayaka-233/mihoyo-api-collect?style=flat-square">
|
|
|
|
|
<img alt="GitHub Discussions" src="https://img.shields.io/github/discussions/Kamisato-Ayaka-233/mihoyo-api-collect?color=%23555&style=flat-square">
|
|
|
|
|
<br/>
|
|
|
|
|
<img alt="GitHub contributors" src="https://img.shields.io/github/contributors/Kamisato-Ayaka-233/mihoyo-api-collect?color=%23c0c0c0&style=flat-square">
|
|
|
|
|
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/Kamisato-Ayaka-233/mihoyo-api-collect?color=%23114514&style=flat-square">
|
|
|
|
|
<img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/Kamisato-Ayaka-233/mihoyo-api-collect?color=%23aa4499&style=flat-square">
|
|
|
|
|
<img alt="GitHub forks" src="https://img.shields.io/github/forks/Kamisato-Ayaka-233/mihoyo-api-collect?color=%23456789&style=flat-square">
|
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-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)
|
|
|
|
|
- [ ] [密码登录](hoyolab/login/password.md)
|
|
|
|
|
- [ ] [验证码登录](hoyolab/login/sms.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-02-12 06:20:40 +00:00
|
|
|
|
- [ ] [用户游戏信息](hoyolab/user/game_account_info.md)
|
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
|
|
|
|
|
|
|
|
|
《原神》游戏内的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-02-05 00:10:38 +00:00
|
|
|
|
|
2023-05-13 05:44:01 +00:00
|
|
|
|
### 《崩坏:星穹铁道(Honkai: Star Rail,Star Rail)》
|
|
|
|
|
|
|
|
|
|
《崩坏:星穹铁道》游戏内的API。
|
|
|
|
|
|
|
|
|
|
查询玩家信息请查看[米游社](#米游社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-02-08 18:01:26 +00:00
|
|
|
|
## 相关项目
|
2023-02-05 00:10:38 +00:00
|
|
|
|
|
2023-02-08 18:01:26 +00:00
|
|
|
|
* [Genshin Kits for Node.js](https://github.com/genshin-kit/genshin-kit-node) - Node.js原神玩家信息查询库。
|
2023-02-05 00:10:38 +00:00
|
|
|
|
|
|
|
|
|
|