@leafwell/medicalcard
v0.0.39
Published
A simple document for any of these enviroments: Node.js. For better understading about the methods and arguments, please make ensure you have typescript installed and configured on your project.
Downloads
45
Readme
Leafwell Provider Medical Card
A simple document for Leafwell Provider medical card's lib for any of these enviroments: Node.js and compatible with React and React Native. For better understading about the methods and arguments, please make ensure you have typescript installed and configured on your project.
Installation
Using npm:
$ npm install @leafwell/medicalcard
Using yarn:
$ yarn add @leafwell/medicalcard
Example
import Client from "@leafwell/medicalcard";
type ClientHeaders = {
authorizationBearer?: string;
};
(async function main() {
const options: ClientHeaders = {
authorizationBearer: "",
};
Client.initialize("url", options);
const response = await Client.api.startVideoCall({
clinicianId: "",
roomId: "",
});
console.log(response);
})();
Usage
#### Methods/properties available
```js
Client.initialize();
Client.api
Methods available in api property:
Products
api.disconnectVideoCall();
api.startVideoCall();