✓ Verified 💻 Development ✓ Enhanced Data

Peloton Stats

Fetch and report Peloton cycling workout statistics.

Rating
4.6 (135 reviews)
Downloads
962 downloads
Version
1.0.0

Overview

Fetch and report Peloton cycling workout statistics.

Complete Documentation

View Source →

Peloton 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:

bash
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:

json
{
  "profiles": {
    "peloton:default": {
      "type": "api_key",
      "provider": "peloton",
      "username": "[email protected]",
      "password": "your-password"
    }
  }
}

Usage

Weekly Report

bash
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

MetricDescription
Total RidesNumber of cycling workouts in last 7 days
DurationTotal minutes ridden
CaloriesTotal calories burned
OutputTotal energy in kilojoules (kJ)
Avg PowerAverage watts across all rides
Avg ResistanceAverage resistance %
Avg CadenceAverage 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

Installation

Terminal bash

openclaw install peloton-stats
    
Copied!

💻Code Examples

}

.txt
## Usage

### Weekly Report
example.sh
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"
example.json
{
  "profiles": {
    "peloton:default": {
      "type": "api_key",
      "provider": "peloton",
      "username": "[email protected]",
      "password": "your-password"
    }
  }
}

Tags

#coding_agents-and-ides #cli

Quick Info

Category Development
Model Claude 3.5
Complexity One-Click
Author niemesrw
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install peloton-stats