← 返回
数据分析 Key 中文

Withings (Official API)

Official Withings OAuth integration for OpenClaw. Use to connect/authorize a personal Withings account, store+refresh tokens locally, and fetch health measur...
官方的 Withings OAuth 集成,用于 OpenClaw。用于连接/授权个人 Withings 账户,在本地存储并刷新令牌,以及获取健康测量数据...
gavinchengcool
数据分析 clawhub v0.1.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 642
下载
💾 9
安装
1
版本
#latest

概述

Withings (Official API)

This is a source skill. It connects to Withings, fetches data, normalizes it, and renders a short message. Delivery is channel-agnostic.

Configuration

Required env vars:

  • WITHINGS_CLIENT_ID
  • WITHINGS_CLIENT_SECRET
  • WITHINGS_REDIRECT_URI

Optional:

  • WITHINGS_TOKEN_PATH (default: ~/.config/openclaw/withings/token.json)
  • WITHINGS_TZ (default: Asia/Shanghai)
  • WITHINGS_SCOPES (default: user.metrics user.activity)

Connect (OAuth)

Choose one mode:

  • Phone/remote mode (recommended):
python3 scripts/withings_oauth_login.py
  • Desktop loopback mode (optional): if you are authorizing in a browser on the same machine that runs OpenClaw and WITHINGS_REDIRECT_URI is a loopback URL like http://127.0.0.1:58539/callback:
python3 scripts/withings_oauth_login.py --loopback

Fetch + normalize for a day

python3 scripts/withings_fetch_daily.py --date today --out /tmp/withings_raw_today.json
python3 scripts/withings_normalize_daily.py /tmp/withings_raw_today.json --out /tmp/withings_today.json
python3 scripts/withings_render.py /tmp/withings_today.json --format markdown --channel generic

References

  • API/OAuth notes: references/withings_api.md
  • Output schema (for Wellness hub): references/output_schema.md

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-30 02:57 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 366 📥 139,963
productivity

Wellness Hub

gavinchengcool
OpenClaw个人健康中心。当用户希望一站式连接健康应用与设备(可穿戴设备、运动、睡眠、营养等)时使用。
★ 0 📥 687
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 64,859