Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

peloton-stats

bởi niemesrw

Coding Agents & IDEs
400Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Fetch and report Peloton cycling workout statistics.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: Show me my Peloton stats for this week

AGENT
  1. 1

    Reads Peloton credentials from auth-profiles.json

  2. 2

    Authenticates against api.onepeloton.com

  3. 3

    Fetches cycling workouts from the last 7 days

  4. 4

    Aggregates totals and averages across all rides

  5. 5

    Formats results as a markdown report with a recent rides table

ĐẦU RA

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

Yêu cầu

  • Peloton account credentials (username and password)
  • Active Peloton subscription

Cài đặt

clawhub install niemesrw/peloton-stats

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết