A framework that enhances HealthKit and the Fitbit API for iOS

Overview

VitoKit

Twitter post - 8.png

😀 Welcome to VitoKit...

A framework that enhances HealthKit and the Fitbit API for iOS

Features

  • Wonderfully crafted animations
  • Speedy setup and computations
  • More efficient and powerful way to build health apps

🚀 Getting Started

let package = Package(
    dependencies: [
        .package(url: "[email protected]:Vito-Research/VitoKit.git")
    ]
)

import VitoKit

Request Permission

Depending on which category of health data you would like to query, within toggle data, add your requested category...

Vitals - heart rate, respiration rate, heart rate variability

Activity - steps, stand hours, workouts

Mobility - double support time, walking asymmetry, step length

DataTypesListView(toggleData: [.Vitals], title: "Health Data", caption: "Why we need this data...")

Data Querying

VitoKit has various ways to query and process health data...

State Machine

A level based algorithm that detects outliers

for type in HKQuantityTypeIdentifier.Activity {
                            
                            vito.outliers(for: type, unit: type.unit, with: Date().addingTimeInterval(.month * 4), to: Date(), filterToActivity: .active)
                        }

Machine Learning

Random Forest Classifier

  do {
                        let ml = ML()
                        let correlation = try ml.classifier(vito.healthData)
                        } catch {
                            
                        }

Deep Learning

TBD

You might also like...
150,000+ stickers API & SDK for iOS Apps.
150,000+ stickers API & SDK for iOS Apps.

English | 한국어 Stipop UI SDK for iOS Stipop SDK provides over 150,000 .png and .gif stickers that can be easily integrated into mobile app chats, comme

iOS SDK for the Box Content API
iOS SDK for the Box Content API

Box iOS SDK Getting Started Docs: https://developer.box.com/guides/mobile/ios/quick-start/ NOTE: The Box iOS SDK in Objective-C (prior to v3.0.0) has

Sample iOS AR app using AR Quick Look API
Sample iOS AR app using AR Quick Look API

ARQLSanta This is a minimal AR iOS app that uses the AR Quick Look API, displayi

iOS SDK for access the OpenCage Geocoding API

OpenCageSDK Requirements OpenCageSDK works on iOS 9+ and requires ARC to build. It depends on the following Apple frameworks, which should already be

This project explores the capabilities of the new iOS 16+ Passkeys API to support password-less authentications.

iOS 16+ Passkeys Swift Sample This project explores the capabilities of the new iOS 16+ Passkeys API to support password-less authentications. ⚠️ This

Open-source API Client for iOS, iPadOS, macOS. Built with SwiftUI
Open-source API Client for iOS, iPadOS, macOS. Built with SwiftUI

Yogu Open-source API Client for iOS, iPadOS, macOS. Built with SwiftUI 🚧 Yogu is currently in development, and not actually usable yet. Please DO NOT

RadioTimeKit - The Swift SDK for TuneIn RadioTimeKit is a Swift package to use the TuneIn API.
RadioTimeKit - The Swift SDK for TuneIn RadioTimeKit is a Swift package to use the TuneIn API.

RadioTimeKit - The Swift SDK for TuneIn RadioTimeKit is a Swift package to use the TuneIn API. The goal for development was to have a Swift SDK to get

Swift SDK for Blockfrost.io API
Swift SDK for Blockfrost.io API

Swift5 API client for Blockfrost Swift 5 SDK for Blockfrost.io API. Installation • Usage • API Endpoints Installation Swift package manager dependenci

MpesaSDK - Swift SDK for the M-Pesa API (Mozambique)
MpesaSDK - Swift SDK for the M-Pesa API (Mozambique)

M-Pesa SDK Swift package for M-Pesa API (Mozambique) Ready Methods/APIs C2B B2B

Comments
  • Data Export as CSV

    Data Export as CSV

    Create an export function similar to this... https://github.com/Vito-Research/Vito/blob/main/Vito/Data/ML/ML.swift

    • Can redo the code or copy and paste from above and clean it up
    • Make the function easier and more declarative to use
    enhancement 
    opened by AndreasInk 2
  • Machine Learning Support

    Machine Learning Support

    • Add a context struct with variables that may be helpful for contextualizing health data point
    • Add a context variable to HealthDataPoint and HealthData (https://github.com/Vito-Research/VitoKit/blob/main/Sources/VitoKit/HealthData.swift)
    • Create a new class with CoreML and CreateML to convert health data into a DataFrame (make sure to import TabularData)
    • Have the option to run various machine learning models within a function with the DataFrame from above
    enhancement 
    opened by AndreasInk 1
  • New Health Categories

    New Health Categories

    • Let's expand to more health categories, such as activity and mobility!
    • Here's the file to add new categories to... https://github.com/Vito-Research/VitoKit/blob/main/Sources/VitoKit/HKQuanityExtension.swift
    enhancement good first issue 
    opened by AndreasInk 1
Owner
Vito
An app designed to reduce the spread of COVID-19 via smartwatches
Vito
SwiftUI iOS app for tracking daily hydration, logs to HealthKit!

HydrationCompanion SwiftUI iOS app for tracking daily hydration, logs to HealthKit! Screenshots: Home view: see all intake logs and progress Settings

Jesse Liu 7 Dec 31, 2022
User-friendly names for HealthKit workout type cases, incl. iOS 16

HKWorkoutActivityType-Name User-friendly names for HealthKit workout type cases, incl. iOS 16 Apple's HealhKit defines workout types as enum cases, an

Daniel Kašaj 8 Nov 25, 2022
HealthKit is notoriously hard to work with. Let's change that.

Health X Better interfacing with HealthKit HealthKit is notoriously hard to work with. Let's change that. Using Combine features like ObservableObject

Siddharth 1 Feb 17, 2022
Symptoms - WatchOS app to save symptoms to HealthKit

Symptoms Symptoms is a watchOS app for entering symptoms into HealthKit Screensh

Leptos 1 Sep 4, 2022
Business-API - Business App an Application that show list business using the Yelp API

business-API Business App an Application that show list business using the Yelp

Edwin Niwarlangga 0 Jan 21, 2022
Swift framework for authenticating with the Spotify API

SpotifyLogin SpotifyLogin is a Swift 5 Framework for authenticating with the Spotify API. Usage of this framework is bound under the Developer Terms o

Spotify 344 Jan 4, 2023
A Demo using Vision Framework building on Core ML Framework

Core-ML-Sample A Demo using Core ML, Vision Framework and Swift 4. This demo is based on Inception V3 network. You must run it with Xcode 9 and iOS 11

杨萧玉 215 Nov 9, 2022
⚡️ A fully-featured and blazing-fast Swift API client to interact with Algolia.

The perfect starting point to integrate Algolia within your Swift project Documentation • Community Forum • Stack Overflow • Report a bug • FAQ • Supp

Algolia 192 Dec 23, 2022
Simple proxy in Swift for converting between HTTP and API Gateway Lambda payloads

SwiftLambdaProxy A simple proxy that can convert HTTP requests to Lambda API Gat

Jānis Kiršteins 1 Jan 3, 2022
Unofficial Notion API SDK for iOS & macOS

NotionSwift Unofficial Notion SDK for iOS & macOS. This is still work in progress version, the module interface might change. API Documentation This l

Wojciech Chojnacki 59 Jan 8, 2023