health_get_profile
Fetch the account's Google Health profile, unit and locale settings, and irregular-rhythm enrolment from the local cache, or set live to re-fetch from the API.
Instructions
Get the account's profile, settings and irregular-rhythm enrolment.
Each is the record Google returns, kept whole: the profile carries age, membership start and stride lengths, the settings carry units, time zone and locale, and the enrolment says whether irregular-rhythm notifications are on. Returns data from the local cache by default.
Args: live: If true, re-fetch the records from the API before reading the cache.
Returns profile, settings and irn_profile, and when each was fetched
(UTC). A record is null when it has never been fetched, which includes one
whose permission the grant lacks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |