Go client and CLI for the TrueCoach fitness app API.
go install github.com/seonixx/truecoach/cmd/truecoach@latestLog in once — this authenticates, resolves your IDs, and saves credentials to ~/.truecoach/config.json:
truecoach login -email you@example.com -password secretThen use any command:
truecoach profile
truecoach habits
truecoach habits -date "Apr 19, 2026"
truecoach update-habit -steps 10000 -weight 180.5
truecoach update-habit -date "Apr 19, 2026" -steps 10000client := truecoach.NewClient()
token, _ := client.Login("you@example.com", "secret")
profile, _ := client.GetUserProfile(token.AccessToken, token.UserID.String())
clientID := profile.User.ClientID.String()
habits, _ := client.GetHabitTrackers(token.AccessToken, clientID, truecoach.Today())