ClientID: "@FITBIT_CLIENT_ID@",
ClientSecret: "@FITBIT_CLIENT_SECRET@",
Endpoint: oauth2fitbit.Endpoint,
- RedirectURL: "https://fitbit-gfit-sync.appspot.com/fitbit/grant",
+ RedirectURL: "https://kraftakt.octo.it/fitbit/grant",
Scopes: []string{"activity", "heartrate", "profile"},
}
Elevation float64 `json:"elevation"`
Floors int `json:"floors"`
HeartRateZones []HeartRateZone `json:"heartRateZones"`
+ CustomHeartRateZones []HeartRateZone `json:"customHeartRateZones"`
MarginalCalories int `json:"marginalCalories"`
RestingHeartRate int `json:"restingHeartRate"`
Steps int `json:"steps"`