@miaoying-ai/miaoying-cli
v1.0.0
Published
秒应 CLI 工具 - 创建统计、投票、预约、考试、查查并导出数据
Maintainers
Readme
miaoying CLI
秒应(Miaoying)开放接口命令行工具
安装
npm install -g miaoying使用方法
设置 API Key
方式一:环境变量
export MIAOYING_API_KEY="your_api_key_here"方式二:命令行参数
miaoying create --title "测试统计" --api-key "your_api_key_here"创建统计
miaoying create --title "每日打卡" --desc "请完成每日打卡" --qrcode创建投票
miaoying vote --title "选择班干部" --single --qrcode创建预约
miaoying book --title "医生咨询预约" --slots 1 --count 20 --qrcode创建考试
miaoying exam --title "期中考试" --duration 90 --qrcode导出数据
miaoying export <activity-id> --type tongji支持的类型:tongji, booking, toupiao, chacha
获取帮助
miaoying helpAPI Key 申请
访问 https://miaoying.hui51.cn/apikey 创建 API 密钥
