HealthKitHeartRateExporter

 收藏    我在用   0 人在用
 -  null

A simple sample application for exporting heart rate samples from HealthKit.

 GitHub     下载     同步

6    95    14    over 1 year前

HealthKit Heart Rate Exporter

Brad Larson

http://www.sunsetlakesoftware.com

@bradlarson

contact@sunsetlakesoftware.com

Overview

This is a simple application I slapped together for the heart rate data that I captured here from the Apple Watch.

It accesses HealthKit (where the Apple Watch stores its measurements) and queries for the last 600 heart rate measurements. When it has those values, it logs them out to the console and to a CSV file called "heartratedata.csv". The application has iTunes file sharing enabled, so you can then grab this file from within iTunes. It's how I generated the graph in the above-linked tweet.

It's crude, and doesn't do much of anything beyond this, but enough people requested it that I'm dumping this on here. Have fun.

License

Public domain. Don't really care what you do with this.

 
No Reply at the moment.
需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up