Get started with the Python SDK

Install ovok-sdk, connect to the sandbox, sign in, and make a first request.

Install

pip install ovok-sdk

The SDK needs Python 3.10 or later.

Create a client

from ovok_sdk import Ovok

ovok = Ovok("https://api.sandbox.ovok.com", "your-tenant")

Sign in

result = ovok.auth.login(profile_type="Patient", email=email, password=password)

A backend service passes client_id and client_secret instead; see Authenticate a machine client.

Make a first request

patients = ovok.slim.patients.list({"count": 20})

Next: full Python SDK docs.

Last updated on

On this page