Namespaces

Wearables

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

  • Stable unknown
  • Release candidate since 0.1.0-rc.3
  • Development since 0.1.0-dev.21+c43ebba

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

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.

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

Admin tools manage the providers the project offers.

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

API reference

See ovok_sdk.resources.wearables for every method, parameter and error.

Last updated on

On this page