Google Health API guide

healthapp.google

Sync your Google Health measurements, chart rolling averages for steps and resting heart rate, and check how long you meet a daily goal.

Actions and inputs

sync

Copy selected health measurements to a local store.

Inputs metric types

trends

Calculate rolling averages and net changes for synced metrics.

Inputs rolling window in days

streaks

Find current and longest streaks of consecutive days that meet a goal.

Inputs metric, goal threshold and direction

correlate

Measure how two synced daily metrics move together at different time lags.

Inputs two metrics, maximum lag in days

Saved Google Health trend view in Smith

Create

Save a trend view for your synced health measurements in Smith.

Inputs view name, metric types, rolling window

Read

Open your saved view to see rolling averages for the selected metrics.

Inputs view ID

Update

Change the metrics or rolling window in your saved view.

Inputs view ID, metric types, rolling window

Delete

Delete the saved view from Smith without changing your measurements.

Inputs view ID