Skip to main content
All CollectionsTech Documentation & Integration Guides
HOW TO GET DEMO DATA WHEN YOU DON’T HAVE WEARABLES
HOW TO GET DEMO DATA WHEN YOU DON’T HAVE WEARABLES
Brenda Azeredo avatar
Written by Brenda Azeredo
Updated over a week ago

In this guide, we’ll explore how to utilize the ROOK API to access demo health data, a valuable feature when you don’t have access to real wearable data. This is particularly useful for developers during the testing and development phases of their applications.

Getting demo data

The ROOK API on the sandbox environment offers a method for simulating health data for scenarios where you don’t have access to real users or their health data is insufficient, you can use demoUserId as the user_id. This method generates demo data, mimicking real user data without needing actual wearables. It’s an excellent way for developers to test functionality when specific Health Pillar data is missing.

Endpoints for Health Data Summaries and Events

This method of obtaining demo data is applicable to specific endpoints in the health data section, including summaries and events. These endpoints are designed to provide comprehensive insights into various health metrics and occurrences.

Consistency in Demo Data

The demo data provided by the ROOK API maintains consistent values, with the primary variation being the date and time, which reflects the current moment. This consistency ensures that developers can reliably test their applications’ responses to uniform data sets. The data source for this demo data is also fixed, aiding in standardized testing scenarios.

API Reference

For more detailed information on utilizing these features and for a comprehensive understanding of all the endpoints and their functionalities, refer to the ROOK API Documentation.

Notes

This feature is exclusive to the Sandbox environment.

Did this answer your question?