Skip to content

cinocode/tidepool-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

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 [email protected]
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

No packages published

Languages