# Wearables

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

`ovok.wearables` configures the project's wearable providers and connects the signed-in user's
accounts with them.

## Connect a user to a provider [#connect-a-user-to-a-provider]

`connections.authorize()` starts the connection, typically returning the provider's authorization
URL. After the user approves, `sync()` pulls their data on demand.

```python
from ovok_sdk import Ovok

ovok = Ovok("https://api.sandbox.ovok.com", "your-tenant")
authorization = ovok.wearables.connections.authorize("withings")
connections = ovok.wearables.connections.list()
ovok.wearables.connections.sync("withings")
ovok.wearables.connections.delete("withings")
```

## Configure providers [#configure-providers]

Admin tools manage the providers the project offers.

```python
providers = ovok.wearables.providers.list()
ovok.wearables.providers.patch("withings", {"enabled": True})
```

## API reference [#api-reference]

See [`ovok_sdk.resources.wearables`](/python-sdk/reference/resources/wearables) for every method, parameter and error.
