JavaScript SDK
Use the Ovok TypeScript client in server, browser, and React Native applications.
Install @ovok/core to use the Ovok client. Its resource namespaces provide authentication, FHIR, measurements, projects, and other Ovok API operations.
npm install @ovok/coreimport { Ovok } from '@ovok/core';
export const ovok = new Ovok({
baseUrl: 'https://api.sandbox.ovok.com',
tenantCode: 'your-tenant',
});Use the package root for the client. React components and hooks are exported from @ovok/core/react.
Start here
- Get started to install and make a first request.
- Configure the client to select storage, runtime, and request settings.
- React integration to provide the client to a component tree.
- The Ovok client for its namespaces, paging and request options.
- Sign users in for login, saved accounts and machine clients.
- Errors and retries to handle failures.
- API map and complete API reference for the exported contract.
The SDK sends requests to Ovok APIs. The server controls authentication, authorization, project configuration, and data validation.
Last updated on