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 — любой кодинг-агент, которым пользуетесь.