Philipp Schmid(@_philschmid)

The @googlehealth API got a CLI! ghealth is an open-source CLI for your Fitbit Air. You can now pull...

8.5内容质量
The @googlehealth API got a CLI! ghealth is an open-source CLI for your Fitbit Air. You can now pull...

TL;DR · AI 摘要

ghealth CLI工具实现Fitbit健康数据终端访问,支持40项指标与AI集成,提供睡眠阶段分析功能。

核心要点

  • ghealth CLI支持从Fitbit Air获取40个健康指标
  • 睡眠分析支持awake/deep/REM阶段的粒度数据
  • 安装向导自动处理GCP项目和OAuth配置

结构提纲

按章节快速跳转。

  1. 宣布ghealth CLI作为Google Health API的开源命令行工具

  2. 支持从Fitbit Air设备拉取40项健康指标并集成AI代理

  3. 通过--detail标志获取睡眠阶段的粒度数据(awake/deep/REM)

  4. 使用npx命令安装并由向导自动处理GCP项目和OAuth配置

思维导图

用一张图看清主题之间的关系。

查看大纲文本(无障碍 / 无 JS 友好)
  • ghealth CLI工具
    • 核心功能
      • 40项健康指标拉取
      • AI代理数据集成
      • 睡眠阶段分析
    • 安装流程
      • npx安装命令
      • GCP项目配置
      • OAuth权限处理

金句 / Highlights

值得收藏与分享的关键句。

#CLI工具#健康数据#Google Health API#AI集成
打开原文

Philipp Schmid on X: "The @googlehealth API got a CLI! ghealth is an open-source CLI for your Fitbit Air. You can now pull 40 health metrics from the terminal or pipe them straight into your AI agent. Pull sleep breakdowns and heart rate data into context. Use `--detail` flag on sleep gives you https://t.co/BBC654kozi" / X

Philipp Schmid

@_philschmid

The

@

googlehealth

API got a CLI! ghealth is an open-source CLI for your Fitbit Air. You can now pull 40 health metrics from the terminal or pipe them straight into your AI agent. Pull sleep breakdowns and heart rate data into context. Use --detail flag on sleep gives you per-stage data (awake, deep, REM), which is useful for spotting patterns week over week. `` npx skills add Google-Health-API/google-health-cli ghealth setup `` Setup takes a few minutes. Wizard handles GCP project, OAuth, scopes.

5:27 PM · Jul 1, 2026

47.9K

Views

1

8

18

3

4

34

5

315

9

189

Read 18 replies