peloton-stats
Fetch and report Peloton cycling workout statistics. Use when the user wants to see their Peloton workout data, weekly cycling stats, ride history, or performance metrics. Hits the Peloton API directly (no dependencies) to pull total rides, duration, calories, output/power, and instructor data for cycling workouts.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/niemesrw/peloton-statsPeloton Stats
Fetch weekly cycling stats directly from the Peloton API. Zero dependencies — uses only Python stdlib.
Setup
Store your Peloton credentials securely using OpenClaw's credential manager:
openclaw config set auth.profiles.peloton:default.type api_key
openclaw config set auth.profiles.peloton:default.provider peloton
openclaw config set auth.profiles.peloton:default.username "[email protected]"
openclaw config set auth.profiles.peloton:default.password "your-password"
Or edit ~/.openclaw/agents/main/agent/auth-profiles.json directly:
{
"profiles": {
"peloton:default": {
"type": "api_key",
"provider": "peloton",
"username": "[email protected]",
"password": "your-password"
}
}
}
Usage
Weekly Report
python3 ~/.openclaw/skills/peloton-stats/scripts/fetch_stats.py
Outputs markdown with:
- Total rides this week
- Total duration, calories, output (kJ)
- Average power (watts), resistance (%), cadence (RPM)
- Recent rides table (date, class, instructor, metrics)
Data Retrieved
| Metric | Description |
|---|---|
| Total Rides | Number of cycling workouts in last 7 days |
| Duration | Total minutes ridden |
| Calories | Total calories burned |
| Output | Total energy in kilojoules (kJ) |
| Avg Power | Average watts across all rides |
| Avg Resistance | Average resistance % |
| Avg Cadence | Average RPM |
Notes
- Only fetches cycling workouts (not running, strength, yoga, etc.)
- Looks back 7 days from runtime
- Requires active Peloton subscription
- Uses the unofficial Peloton API at
api.onepeloton.com
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-niemesrw-peloton-stats": {
"enabled": true,
"auto_update": true
}
}
}