-
Notifications
You must be signed in to change notification settings - Fork 1
License
cinocode/tidepool-cli
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A bash script to read out the latest blood sugar value from tidepool.
Dependencies: httpie, jq
Auth Config via ~/.netrc:
machine api.tidepool.org
login your@mail.com
password secret_pass_here
Usage:
Call: tidepool-cli [-c cache_age_minutes] [-f {mgdl/mmol}] [-h]
-c, --cache set the cache age in minutes - defaults to 5 - after the duration expires the script will query a fresh value
-f, --format set the output format - defaults to: 'mgdl' = mg/dl and can be set to 'mmol' = mmol/l
-h, --help prints this help
You can display the output in whatever way you choose. Here is my waybar config as an example: https://github.com/cinocode/dotfiles/blob/master/.config/waybar/config
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published