Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved health sample support, significant refactor of CLI, server and parsing code #3

Merged
merged 33 commits into from
Apr 17, 2021

Conversation

mm
Copy link
Owner

@mm mm commented Apr 17, 2021

Lots of changes in here to prep for the next Heartbridge release, the major ones being:

  • Adds support for pretty much any data record in the Health app, with nice formatting and exporting for Heart Rate, Resting Heart Rate, Heart Rate Variability, Flights Climbed, Steps, and Cycling distance (will require a new iOS Shortcut to be installed)
  • Backwards-compatible with Heartbridge 1 shortcut which only supported heart rate
  • Switches the built-in server to use Starlette and Uvicorn, adding dependencies but allowing testing to get much better
  • Switches to Click for the CLI to simplify validation code and improve cross-platform support
  • Reworked parsing code that can be extended much more easily to support more data types in the future, and can be used independently of the CLI for other applications like pushing to a database

mm added 24 commits March 27, 2021 12:43
…tible with Shortcuts health record type naming
…riable defined for each subclass for dict keys
@mm mm linked an issue Apr 17, 2021 that may be closed by this pull request
@mm mm merged commit 2045203 into main Apr 17, 2021
@mm mm deleted the feature/new-datatypes branch April 17, 2021 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Other Health Data?
1 participant