hk

command module
v0.0.0-...-aee8074 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2023 License: MIT Imports: 10 Imported by: 0

README

HK - 🍎 Health Kit

Set of utilities to parse analyze Apple HealthKit exported dataset.

# Parsing a export
hk -file=./data/at/export.xml

# Update all dependencies
go get -u ./...
go mod tidy
go get github.com/google/uuid # Get and install a specific package
go mod download # Download all dependencies

# Build a docker image
docker build -t hk:v1 .

Required environment variable:

USENSE_OAUTH2_CLIENT_ID= "" # OAuth2 client ID from console.google.com 
USENSE_OAUTH2_CLIENT_SECRET= "" # OAuth2 client Secret from console.google.com 
USENSE_ENVIRONMENT= "DEVELOPMENT" # or "PROD"

Google Authentication

The repo uses Google OAuth2 to authenticate users. Some helpful links are:

Documentation

Overview

Package main sample test utility to process HK data

Directories

Path Synopsis
clients
Package export provided parsing and analysis methods for Apple Health Exports Data.
Package export provided parsing and analysis methods for Apple Health Exports Data.
Package server hosts the HealthKit data on http port
Package server hosts the HealthKit data on http port

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL