Skip to content

armoe-project/mihoyo-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

简介

米哈游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/>.

鸣谢