Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1021 Bytes

README.md

File metadata and controls

32 lines (25 loc) · 1021 Bytes

Java CI with Maven Quality Gate Status

Apple Health Reader

Mini project to read Apple Health export xml.

Export Apple Health data

Health > Health Data > Profile > Export Health Data

Build

mvn clean package

Usage

CLI

Reads export.xml and writes a .csv file of simplified health records

java -jar apple-health-reader-1.0-SNAPSHOT-full.jar ./export.xml ./output.csv

To log only exclude the output file

java -jar apple-health-reader-1.0-SNAPSHOT-full.jar ./export.xml

Library

Read your Apple Health xml in to a Collection

Collection<AppleHealthRecord> records = AppleHealthReader.read("export.xml");