Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

通过小米运动API实现的自动刷运动步数工具😒(可同步到微信、支付宝)

License

NotificationsYou must be signed in to change notification settings

gangchuan-boy/sport-editor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sport-editor-taskstarlicense

通过华米运动的 API 提交运动步数 😒
可实现同步运动步数至热门平台,如微信、支付宝等

实现功能

  • 每日自动更新步数
  • 指定随机运动步数范围
  • Github Action 运行

配置参数

环境变量说明
XIAOMI_AMAZFIT_USERNAME用户名159000000
XIAOMI_AMAZFIT_PASSWORD密码xxxxxx
XIAOMI_AMAZFIT_USER_ID用户 ID (可选)123456
XIAOMI_AMAZFIT_APP_TOKENAPP Token (可选)xxxxxxxx
STED_SIZE_RANGE运动步数范围 (可选)5000-15000 (默认值)
  • 推荐使用 Node.js 12 及以上的运行/构建当前项目
  • 运动步数范围使用 - 分隔上下限
  • 可选账号/密码、UserID/AppToken 两种方式运行

Github Actions 部署

  • fork 本项目
  • 将环境变量参数填到 Setting -> Secrets (如果使用 Token+ID 方式可不填用户名及密码)
  • 开启 actions (默认actions处于禁止状态)
  • 执行 sport-editor-task workflow

命令行运行

git clone https://github.com/Devifish/sport-editor.gitcd sport-editornpm installnpm run start

About

通过小米运动API实现的自动刷运动步数工具😒(可同步到微信、支付宝)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript99.6%
  • Shell0.4%

[8]ページ先頭

©2009-2025 Movatter.jp