تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

fitbit-analytics

بواسطة kesslerio

Health & Fitness
2.1kالتنزيلات وفق ما يذكره clawskills.sh
1النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Fitbit health and fitness data integration.

الوصف

ما الذي تفعله هذه المهارة

Fetches health and fitness data from the Fitbit Web API, including steps, heart rate, sleep, calories, distance, and Active Zone Minutes. Provides CLI commands and a Python API for data retrieval, trend analysis, and threshold-based alerts. Supports automated daily briefings and weekly reports.

Provides programmatic, scriptable access to Fitbit data for automation and analysis that the Fitbit app's built-in export tools don't support.

متى تستخدمها

  • Check yesterday's sleep efficiency and resting heart rate each morning
  • Get alerted when daily steps fall below a personal threshold
  • Pull a 7-day heart rate trend before a doctor's appointment
  • Generate a weekly activity report covering calories, floors, and distance
  • Analyze blood oxygen and sleep stage data over a custom date range

مثال على سير العمل

الإدخال

User asks: Generate this morning's health briefing

الوكيل
  1. 1

    Run fitbit_briefing.py to fetch today's activity, heart rate, and sleep data from the Fitbit API

  2. 2

    Retrieve Active Zone Minutes breakdown across Fat Burn, Cardio, and Peak zones

  3. 3

    Compare today's stats against the 7-day average to surface trends

  4. 4

    Format output as structured JSON or human-readable text with all key metrics

الإخراج

Morning briefing showing 8,543 steps, 2,340 calories, 7.2 hours sleep at 89% efficiency, resting HR 58 bpm, and 61 Active Zone Minutes from yesterday

المتطلبات

  • FITBIT_CLIENT_ID environment variable
  • FITBIT_CLIENT_SECRET environment variable
  • FITBIT_ACCESS_TOKEN environment variable
  • FITBIT_REFRESH_TOKEN environment variable
  • Fitbit developer account at dev.fitbit.com to register an OAuth app and obtain credentials

التثبيت

clawhub install kesslerio/fitbit-analytics

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط