Closed eitanbehar closed 9 months ago
The endpoint is "/userprofile-service/userprofile/user-settings"
.
Here's how you can fetch height:
import os
from getpass import getpass
import garminconnect
if os.getenv("GARMINTOKENS"):
garmin = garminconnect.Garmin()
else:
email = input("Enter email address: ")
password = getpass("Enter password: ")
garmin = garminconnect.Garmin(email, password)
garmin.login()
garmin.garth.connectapi("/userprofile-service/userprofile/user-settings")["userData"]["height"]
@matin This worked as a charm. Thanks a lot!
solved
Added to latest version, thanks all!
Hi, How to get user profile data, like height? Thanks, Eitan