Strava Python

👤 abclark 📦 v1.0.0 ⭐ 4.1 ⬇️ 1.7K 下載
💻 開發程式設計 免費 🔑 需 API Key

📖 技能介紹


name: strava-python version: 1.0.0 description: Query Strava activities, stats, and workout data using Python/stravalib with interactive setup homepage: https://www.strava.com metadata: openclaw: emoji: 🏃 requires: bins: - python3 install: - id: pip kind: pip package: stravalib label: Install stravalib (pip)


Strava Python

Query your Strava activities, stats, and workout data through OpenClaw using Python and stravalib.

Why this skill vs others: Uses Python/stravalib with an interactive setup wizard (vs curl-based skills requiring manual JSON configuration).

Requirements

  • Python 3.7+
  • stravalib package

    想要更強大的技能外掛,就來小蔥技能站7w4.net看看吧。

  • Strava API credentials (free)

Setup

  1. Install dependencies: bash pip install stravalib

  2. Run setup: bash python3 setup.py

This will: - Guide you through creating a Strava API app - Handle OAuth authentication - Save credentials to ~/.strava_credentials.json

Commands

Recent activities:

python3 strava_control.py recent

Weekly/monthly stats:

python3 strava_control.py stats

Last activity:

python3 strava_control.py last

Examples

Ask OpenClaw: - "Show my recent Strava activities" - "What are my Strava stats this week?" - "What was my last Strava workout?"

Files

  • strava_control.py - Main controller script
  • setup.py - Interactive setup wizard
  • SKILL.md - This file
  • ~/.strava_credentials.json - Credentials (auto-generated)

Notes

  • Requires Strava account (free)
  • API credentials are personal and should not be shared
  • Rate limits: 100 requests per 15 minutes, 1,000 daily

🤖 AI 評測

這個 Skill 質量良好,功能實用且文件詳細。設定過程有引導提示,對新手友好,查詢活動、統計和最近運動的功能完整。程式碼邏輯清晰可靠,能自動處理 token 重新整理。主要不足是缺少單位切換(只有英里),錯誤提示有時不夠明確,且沒有測試覆蓋。對於需要檢視 Strava 資料的使用者來說,這是一個可用且相對完善的選擇。

📊 多維度評分

適應性4
規範性3.9
有效性4.2
可靠性4
可信度4.3

📁 包含檔案 (7 個)

📄 CHANGELOG.md 668 B
📄 README.md 2.6 KB
📄 SKILL.md 1.7 KB
📄 _meta.json 132 B
📄 setup.py 2.5 KB
📄 skill-card.md 2.1 KB
📄 strava_control.py 3.9 KB