旧版 auto-daily-health-report,点这里
Python 实现的 auto-daily-health-report 后续将不再维护,请使用 Rust 版 CLI 程序打卡,或使用 Rust 版本 SDK 开发程序。
一个完成 厦门大学·每日健康打卡 (Daily Health Report) 的命令行工具和 Rust 语言 SDK.
Daily Health Report 需要 Rust + Cargo 环境。请参照 Rust 官网入门教程 安装 Rust 环境。
如果你在下载过程中遇到问题,请考虑更换 RsProxy 源.
安装 CLI
:
shell
$ cargo install xmu-health-report-rust-sdk
使用:
```shell $ xmu-health-report-rust-sdk
XMU Daily Health Report Rust CLI - 厦门大学每日健康打卡工具 1.0
USAGE: xmu-health-report-rust-sdk [SUBCOMMAND]
FLAGS: -h, --help Print help information -V, --version Print version information
SUBCOMMANDS: help Print this message or the help of the given subcommand(s) pipeline Start a health report pipeline - 启动健康打卡流程 query Query today's health report status - 查询今日打卡状态 report Make health report request - 发送健康打卡请求 ```
在 Cargo.toml
中添加:
toml
[depenencies]
xmu-health-report-rust-sdk = "0.1.7"
另请参考 docs.rs 中 crate 的接口定义。
MIT