米哈游API 米游社/原神/崩坏3等
- 获取角色首页数据
- 获取角色深渊数据
- 获取角色详情数据
- 获取角色便签数据
- EnkaNetwork镜像
- 前往 Releases 下载对应设备二进制文件
- 运行二进制文件
本项目使用 Apifox 管理文档
在程序同级目录创建文件 Rocket.toml
[default]
address = "0.0.0.0" # 绑定地址
port = 8000 # 端口号
log_level = "normal" # 日志等级
更多配置项请参考 Rocket 文档
# 克隆代码
git clone https://github.com/armoe-project/mihoyo-api.git
# 运行开发服务器
cargo run
本项目使用 GPL-3.0 协议开放源代码
mihoyo-api - miHoYo API
Copyright (C) 2022 ZhenXin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.