Skip to content

johaywood/ihealth_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#iHealthBot

iHealthBot is an automated tool to create iHealth data for several endpoints. Just install the gem, configure your iHealth credentials, and create data.

##Installation

$ gem install ihealth_bot

iHealthBot uses the capybara-webkit driver, so you'll need to install Qt as well.

$ brew install qt55

##Configuration

You need to configure iHealthBot with your iHealth credentials before creating data. You can do that with

$ ihealth_bot config --email your.email@example.com --password pASsW0Rd

or create it directly in ~/.ihealth_bot

  {
    "credentials": {
      "email": "your.email@example.com",
      "password": "pASsW0Rd"
    }
  }

##Usage

Currently iHealthBot supports creating data for the following endpoints

  • Activities
  • Blood Glucose
  • Blood Pressure
  • Food
  • Weight

To create data

$ ihealth_bot create

At the moment, data creation is only enabled for bulk creates meaning you can't create data for a specific endpoint. I'm hoping to enable single endpoint creation in the future.

About

Automatically create iHealth data via the web portal

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages