Skip to content

wangfusehng/NJFU-library-cli

Repository files navigation

NJFU-library-cli

NJFU-library-cli 是使用rust编写的实现图书馆登录,查询,预约,取消的命令行工具

LICENSE wakatime Static Badge Static Badge

Features

  • 登录
  • 查询姓名和座位
  • 预约座位或空间,随机预约座位
  • 取消预约

结合github action 自动预约 参考wiki

Install

Download

special for windows

  • if you use scoop
scoop install "https://raw.githubusercontent.com/jyf-111/NJFU-library-cli/main/njfulib.json"

Build from source

git clone https://github.com/jyf-111/NJFU-library-cli.git
cd NJFU-library-cli
cargo build --release
cd target/release
./njfulib -h

how to use

njfulib login -u <username> -p <password> -c <cookie>
njfulib query -n <name> [-f <filter>]
njfulib query -s <site>
njfulib statue
njfulib reserve [-s <site> ...] [-f <filter> ...] [-d <day>]--start <start time> --end <end time> -r 30
njfulib cancel -u <uuid>

see also: 具体参数解释

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages