{"repo":"Google-Health-API/google-health-cli","free":true,"listed":false,"github":"https://github.com/Google-Health-API/google-health-cli","clone":"git clone https://github.com/Google-Health-API/google-health-cli.git","description":"Google Health CLI — one command-line tool for the Google Health API. Includes AI agent skills.","language":"Go","stars":228,"topics":["agent-skills","automation","cli","health-data","oauth2","ai-agents","health-tech","go","google-health","google-health-api"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"ghealth CLI for the Google Health API v4 — built for AI agents and developers. - 40 verified data types : steps, heart rate, exercise, sleep, weight, SpO2, HRV, ECG, blood glucose, nutrition, and more - Agent-first : simplified JSON output, deterministic exit codes, --dry-run , --raw - Single binary : go build -o ghealth . Quick Start Requirements Download and Install Go Installation Setup Walks you through: GCP project ID, OAuth credentials (download from Console — Desktop application type), Health API enablement, scope selection, and browser-based OAuth login. Files written under /.config/ghealth/ (override with GHEALTH CONFIG DIR ): - client secret.json — your OAuth client (mode 0600) - credentials.json — access + refresh tokens (mode 0600, plaintext JSON) - config.toml — active profile (project, scopes) Tokens refresh automatically. Non-interactive setup (for agents / CI) Add --non-interactive-auth to skip the browser step too — complete later with ghealth auth login --complete (see below). Authentication Scenario Method ---------- -------- Interactive ghealth setup or ghealth auth login Headless / no browser ghealth auth login --non-interactive → click URL on any device → ghealth auth login --complete Move tokens between machines ghealth auth export → ghealth auth import Pre-configured token export GHEALTH ACCESS TOKEN=ya29... Credential file export GHEALTH CREDENTIALS FILE=/path/to/creds.json GCP environment Application Default Credentials (automatic) Precedence: GHEALT","default_branch":null,"files":null,"tree":[],"storefront":"/r/Google-Health-API","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Google-Health-API/google-health-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}