cheungr / GarminConnect

Python library to log weight data to Garmin Connect

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GarminConnect

Python library to log my weight to Garmin Connect, because i broke up with fitbit - which btw supports IFTT and has open APIs for you to play with (Garmin does not.) - and now want my weight logged on Garmin Connect where the rest of my data is instead.

Installation

Requires:

  • Request sudo pip install requests

Usage

from GarminConnect import GarminConnect

garminUsername = 'you@provider.com'
garminPassword = 'C0nn3cTpw'

garmin = GarminConnect(garminUsername, garminPassword)
garmin.postWeight(138.21, '2018-01-16') # weight lbs & date, you can use time.strftime('%Y-%m-%d') for today's date.

About

Python library to log weight data to Garmin Connect


Languages

Language:Python 100.0%