# Google Health (Fitbit)

> Read Fitbit activity, workouts, sleep, weight and paired devices through Google Health.

App · 9 actions. Web page: https://docs.lodol.com/docs/integrations/google-health

## Actions

### Get identity

Get the ID of the connected Google Health account.

**Inputs**: None.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "healthUserId": "1234567890"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get profile

Read profile details from the connected Google Health account.

**Inputs**: None.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "name": "users/me/profile"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get settings

Read the connected account’s Google Health settings.

**Inputs**: None.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "name": "users/me/settings"
  },
  "has_more": false,
  "next_cursor": null
}
```

### List distance

Read distance from the connected Google Health account.

**Inputs**

- Start date (`start_date`, date): First day to include.
- End date (`end_date`, date): First day to exclude.
- Limit (`limit`, number): Maximum data points to return. From 1 to 10000.
- Page token (`page_token`, text): Use the continuation token from a previous step.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "dataPoints": []
  },
  "has_more": false,
  "next_cursor": null
}
```

### List exercise

Read exercise from the connected Google Health account.

**Inputs**

- Start date (`start_date`, date): First day to include.
- End date (`end_date`, date): First day to exclude.
- Limit (`limit`, number): Maximum data points to return. From 1 to 10000.
- Page token (`page_token`, text): Use the continuation token from a previous step.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "dataPoints": []
  },
  "has_more": false,
  "next_cursor": null
}
```

### List paired devices

Find Fitbit and other devices paired with the account.

**Inputs**

- Limit (`limit`, number): Maximum devices to return. From 1 to 100.
- Page token (`page_token`, text): Use the continuation token from a previous step.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "pairedDevices": [
      {
        "name": "users/me/pairedDevices/example"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}
```

### List sleep

Read sleep from the connected Google Health account.

**Inputs**

- Start date (`start_date`, date): First day to include.
- End date (`end_date`, date): First day to exclude.
- Limit (`limit`, number): Maximum data points to return. From 1 to 10000.
- Page token (`page_token`, text): Use the continuation token from a previous step.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "dataPoints": []
  },
  "has_more": false,
  "next_cursor": null
}
```

### List steps

Read steps from the connected Google Health account.

**Inputs**

- Start date (`start_date`, date): First day to include.
- End date (`end_date`, date): First day to exclude.
- Limit (`limit`, number): Maximum data points to return. From 1 to 10000.
- Page token (`page_token`, text): Use the continuation token from a previous step.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "dataPoints": []
  },
  "has_more": false,
  "next_cursor": null
}
```

### List weight

Read weight from the connected Google Health account.

**Inputs**

- Start date (`start_date`, date): First day to include.
- End date (`end_date`, date): First day to exclude.
- Limit (`limit`, number): Maximum data points to return. From 1 to 10000.
- Page token (`page_token`, text): Use the continuation token from a previous step.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "dataPoints": []
  },
  "has_more": false,
  "next_cursor": null
}
```
