# ovok_sdk.resources.wearables

Canonical page: https://docs.ovok.com/python-sdk/reference/resources/wearables

Wearable providers and the signed-in user's connections to them.

## WearableProvidersResource [#wearableprovidersresource]

```python
WearableProvidersResource(http: HttpClient)
```

The project's wearable providers; access it as `ovok.wearables.providers`.

**Parameters**

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `http` | `HttpClient` |  | The HTTP client scoped to the wearables routes. |

### list() [#list]

```python
list() -> Resource
```

List the configured providers.

**Returns**

- `Resource`: The providers.

### retrieve() [#retrieve]

```python
retrieve(provider: str) -> Resource
```

Read one provider.

**Parameters**

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `provider` | `str` |  | The provider name. |

**Returns**

- `Resource`: The provider.

### create() [#create]

```python
create(body: Resource) -> Resource
```

Configure a provider.

**Parameters**

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `body` | `Resource` |  | The provider as the API takes it. |

**Returns**

- `Resource`: The created provider.

### patch() [#patch]

```python
patch(provider: str, body: Resource) -> Resource
```

Update a provider.

**Parameters**

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `provider` | `str` |  | The provider name. |
| `body` | `Resource` |  | The fields to change. |

**Returns**

- `Resource`: The updated provider.

### delete() [#delete]

```python
delete(provider: str) -> None
```

Remove a provider.

**Parameters**

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `provider` | `str` |  | The provider name. |

## WearableConnectionsResource [#wearableconnectionsresource]

```python
WearableConnectionsResource(http: HttpClient)
```

The signed-in user's provider connections; access it as `ovok.wearables.connections`.

**Parameters**

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `http` | `HttpClient` |  | The HTTP client scoped to the wearables routes. |

### list() [#list-1]

```python
list() -> Resource
```

List the user's connections.

**Returns**

- `Resource`: The connections.

### authorize() [#authorize]

```python
authorize(provider: str) -> Resource
```

Start connecting the user to a provider.

**Parameters**

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `provider` | `str` |  | The provider name. |

**Returns**

- `Resource`: The authorization details, such as the URL to send the user to.

### sync() [#sync]

```python
sync(provider: str) -> Resource
```

Sync the user's data from a connected provider now.

**Parameters**

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `provider` | `str` |  | The provider name. |

**Returns**

- `Resource`: The API's sync response.

### delete() [#delete-1]

```python
delete(provider: str) -> None
```

Disconnect the user from a provider.

**Parameters**

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `provider` | `str` |  | The provider name. |

## WearablesResource [#wearablesresource]

```python
WearablesResource(http: HttpClient)
```

Wearable providers and connections.

Created by `Ovok`; access it as `ovok.wearables`.
