peloton-stats
由 niemesrw 提供
Coding Agents & IDEs简介
Fetch and report Peloton cycling workout statistics.
描述
该技能的功能
Fetches cycling workout data from the Peloton API using only Python stdlib. Pulls weekly stats including rides, duration, calories, output, power, resistance, and cadence, plus a recent rides table with instructor info.
Zero external dependencies means no virtual environment or package installs — just Python and your credentials.
何时使用
- Check weekly cycling progress before a Monday review
- Compare power output across rides this week
- See which instructors you rode with recently
- Track total calories burned over the last 7 days
- Get a quick workout summary without opening the Peloton app
示例工作流
User asks: Show me my Peloton stats for this week
- 1
Reads Peloton credentials from auth-profiles.json
- 2
Authenticates against api.onepeloton.com
- 3
Fetches cycling workouts from the last 7 days
- 4
Aggregates totals and averages across all rides
- 5
Formats results as a markdown report with a recent rides table
Markdown summary showing 4 rides, 210 min, 1,840 cal, 320 kJ output, avg 185W, 52% resistance, 84 RPM, with per-ride breakdown by date, class, and instructor
前置要求
- Peloton account credentials (username and password)
- Active Peloton subscription
安装
clawhub install niemesrw/peloton-stats运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。