Versions in this module Expand all Collapse all v0 v0.2.0 Mar 23, 2022 Changes in this version + func StravaCreateActivity(strava StravaClient, activity StravaNewActivity) error + type Athlete struct + AthleteType int64 + BadgeTypeID int64 + Bikes []Bike + City string + Clubs []interface{} + Country string + CreatedAt string + DatePreference string + FTP interface{} + Firstname string + Follower interface{} + FollowerCount int64 + Friend interface{} + FriendCount int64 + ID int64 + Lastname string + MeasurementPreference string + MutualFriendCount int64 + Premium bool + Profile string + ProfileMedium string + ResourceState int64 + Sex string + Shoes []Bike + State string + UpdatedAt string + Username string + Weight float64 + type Bike struct + Distance int64 + ID string + Name string + Primary bool + ResourceState int64 + type FitbitActivity struct + ActiveDuration int64 + ActivityLevel []FitbitActivityLevel + ActivityName string + ActivityTypeID int64 + Calories int64 + CaloriesLink string + Duration int64 + ElevationGain float64 + LastModified string + LogID int64 + LogType string + ManualValuesSpecified FitbitManualValuesSpecified + OriginalDuration int64 + OriginalStartTime string + StartTime string + Steps int64 + TcxLink string + func FitbitGetActivities(fitbit FitbitClient, after time.Time) ([]FitbitActivity, error) + func (a FitbitActivity) ActivityTypeName(fitbit FitbitClient) string + type FitbitActivityLevel struct + Minutes int64 + Name string + type FitbitClient struct + Token fitbitAuthToken + func NewFitbitClient(clientID, clientSecret string) (FitbitClient, error) + type FitbitManualValuesSpecified struct + Calories bool + Distance bool + Steps bool + type Map struct + ID string + ResourceState int64 + SummaryPolyline interface{} + type Photos struct + Count int64 + Primary interface{} + type StatsVisibility struct + Type string + Visibility string + type StravaActivity struct + AchievementCount int64 + Athlete Athlete + AthleteCount int64 + AvailableZones []interface{} + AverageCadence float64 + AverageHeartrate float64 + AverageSpeed float64 + AverageWatts float64 + Calories float64 + CommentCount int64 + Commute bool + Description string + DeviceWatts bool + DisplayHideHeartrateOption bool + Distance float64 + ElapsedTime int64 + EmbedToken string + EndLatlng interface{} + ExternalID string + Flagged bool + FromAcceptedTag bool + GearID interface{} + HasHeartrate bool + HasKudoed bool + HeartrateOptOut bool + HideFromHome bool + ID int64 + Kilojoules float64 + KudosCount int64 + LocationCity interface{} + LocationCountry string + LocationState interface{} + Manual bool + Map Map + MaxHeartrate float64 + MaxSpeed float64 + MaxWatts int64 + MovingTime int64 + Name string + PRCount int64 + PerceivedExertion interface{} + PhotoCount int64 + Photos Photos + PreferPerceivedExertion interface{} + Private bool + PrivateNote interface{} + ResourceState int64 + SegmentEfforts []interface{} + StartDate string + StartDateLocal string + StartLatitude interface{} + StartLatlng interface{} + StartLongitude interface{} + StatsVisibility []StatsVisibility + SufferScore int64 + Timezone string + TotalElevationGain float64 + TotalPhotoCount int64 + Trainer bool + Type string + UTCOffset float64 + UploadID int64 + Visibility string + WeightedAverageWatts int64 + WorkoutType interface{} + func StravaGetActivities(strava StravaClient, after time.Time) ([]StravaActivity, error) + func StravaGetActivityByID(strava StravaClient, id int64) (StravaActivity, error) + type StravaClient struct + Token stravaAuthToken + func NewStravaClient(clientID, clientSecret string) (StravaClient, error) + type StravaNewActivity struct + Description string + ElapsedSeconds int64 + Name string + StartDate time.Time + Type string v0.1.0 Mar 20, 2022