care-ai-sdk
v1.0.8
Published
SDK for Care AI project
Downloads
21
Readme
Vital Signs Measurement API Client
This Node.js module is a client for the Vital Signs Measurement API. It allows users to send requests to the API to measure vital signs based on provided frame data.
Installation
To use this module in your Node.js project, you can install it via npm:
npm install @care-ai-sdk
Usage
import { measureVitalSigns } from 'care-ai-sdk';
const data = {
image_data: string
request_id: string
count: number
};
measureVitalSigns(data)
.then((response) => {
if (response.success) {
console.log('Vital signs measured successfully:', response.result);
} else {
console.error('Failed to measure vital signs:', response.result);
}
})
.catch((error) => {
console.error('Error:', error);
});