peloton-stats
oleh niemesrw
Coding Agents & IDEsRingkasan
Fetch and report Peloton cycling workout statistics.
Deskripsi
Apa yang Dilakukan Skill Ini
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.
Kapan Menggunakannya
- 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
Contoh Alur Kerja
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
Persyaratan
- Peloton account credentials (username and password)
- Active Peloton subscription
Instalasi
clawhub install niemesrw/peloton-statsJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.