0.0
No commit activity in last 3 years
No release in over 3 years
Automagically create iHealth data via the user portal. Useful for testing.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

= 2.10.1
= 0.19.4
 Project Readme

#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.