← 返回
开发者工具 Key 中文

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 perfor...
获取并报告 Peloton 骑行训练统计数据。当用户想查看其 Peloton 训练数据、每周骑行统计、骑行历史或表现时使用。
niemesrw
开发者工具 clawhub v1.1.1 1 版本 99891.7 Key: 需要
★ 0
Stars
📥 922
下载
💾 12
安装
1
版本
#latest

概述

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:

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 "your-email@example.com"
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": "your-email@example.com",
      "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

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

版本历史

共 1 个版本

  • v1.1.1 当前
    2026-03-29 08:55 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,543
productivity

Supermarket

niemesrw
搜索杂货商品、查找门店位置、加入购物车、查看个人资料,支持Kroger、Fred Meyer、Ralphs、Harris Teeter等旗下所有门店
★ 0 📥 953
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,613