The service provides monitoring of a user's sleep patterns. A bedside device detects physical conditions and activities, uploading data to the service for later access by the sleeper, health care providers, or personal trainers. Data tracked include raw ballistocardiography (BCG) signals, heart rate measurements and variability (HRV), minute-by-minute actigraphy, and classification of the subject as asleep or awake at the moment of data collection.
API methods support authorization of access to a user account, followed by retrieval of information about the user and the timeline data collected by the bedside monitor. Requests can specify particular date and time ranges to gather data recorded during those spans. In addition to BCG and HRV, returned data report on conditions in the room such as light and sound levels.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.