← 返回
开发者工具 Key 中文

Hevy

Interact with the Hevy fitness app via the hevy-cli command-line tool. Use when the user wants to view, create, or update workouts, routines, exercise templates, or routine folders in their Hevy account. Triggers on requests involving workout tracking, exercise history, routine management, or any Hevy-related data operations.
通过 hevy-cli 与 Hevy 健身应用交互。用于查看、创建或更新训练、训练计划、运动模板或文件夹。适用于健身跟踪、运动历史、计划管理或 Hevy 相关数据操作。
sajal2692 sajal2692 来源
开发者工具 clawhub v1.0.1 1 版本 99915.5 Key: 需要
★ 0
Stars
📥 1,183
下载
💾 1
安装
1
版本
#latest

概述

Hevy CLI

Use the hevy CLI to interact with Hevy fitness app data. Requires HEVY_API_KEY env var to be set.

Quick Start

# Verify access
hevy workouts count

# List recent workouts
hevy workouts list --page-size 10

# Raw JSON output for any command
hevy -j workouts list

Common Tasks

View workout history

hevy workouts list --page 1 --page-size 10
hevy workouts get <workout-id>

Check exercise progress

# Find the exercise template ID first
hevy exercises list --page-size 100

# Then get history for that exercise
hevy exercises history <template-id>
hevy exercises history <template-id> --start-date 2025-01-01 --end-date 2025-02-01

Create a workout

hevy workouts create \
  --title "Push Day" \
  --start-time 2025-01-15T08:00:00Z \
  --end-time 2025-01-15T09:00:00Z \
  --exercises-json '[{"exercise_template_id":"79D0BB3A","sets":[{"type":"normal","weight_kg":60,"reps":8}]}]'

For complex exercises, use a file: --exercises-json @exercises.json

Manage routines

hevy routines list
hevy routines create --title "Upper Body" --exercises-json @routine.json
hevy routines update <routine-id> --title "Updated Name"

Organize with folders

hevy folders list
hevy folders create --name "Hypertrophy Block"

Key Patterns

  • All list commands accept --page and --page-size for pagination.
  • Use -j flag before the subcommand for JSON output: hevy -j workouts list.
  • Exercise data for create/update uses --exercises-json accepting inline JSON or @filepath.
  • Set types: normal, warmup, failure, dropset.
  • IDs are returned in list/get responses -- use JSON mode (-j) to get exact IDs for subsequent commands.

Full Command Reference

See references/commands.md for complete command syntax, all flag options, enum values for exercise types/equipment/muscle groups, and the exercises JSON schema.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-29 02:08 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

life-service

Caldav Calendar

asleep123
使用 vdirsyncer + khal 同步并查询 CalDAV 日历(iCloud、Google、Fastmail、Nextcloud 等)。适用于 Linux。
★ 242 📥 30,472
life-service

Sonoscli

steipete
控制Sonos音箱(发现/状态/播放/音量/分组)
★ 55 📥 84,868
life-service

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 452 📥 227,222