Class ActivityStats
- Namespace
- Tudormobile.Strava.Model
- Assembly
- Tudormobile.Strava.dll
Represents comprehensive activity statistics for an athlete across different sports and time periods.
public class ActivityStats
- Inheritance
-
ActivityStats
- Inherited Members
Remarks
This class aggregates activity totals for rides, runs, and swims across three time periods: recent activities, year-to-date (YTD), and all-time totals.
Properties
AllRideTotals
Gets or sets the totals for all-time ride activities.
public ActivityTotal? AllRideTotals { get; set; }
Property Value
Remarks
All-time refers to the athlete's entire activity history on Strava. This property is null if the athlete has no ride activities.
AllRunTotals
Gets or sets the totals for all-time run activities.
public ActivityTotal? AllRunTotals { get; set; }
Property Value
Remarks
All-time refers to the athlete's entire activity history on Strava. This property is null if the athlete has no run activities.
AllSwimTotals
Gets or sets the totals for all-time swim activities.
public ActivityTotal? AllSwimTotals { get; set; }
Property Value
Remarks
All-time refers to the athlete's entire activity history on Strava. This property is null if the athlete has no swim activities.
BiggestClimbElevationGain
Gets or sets the elevation gain of the athlete's biggest climb, in meters.
public float BiggestClimbElevationGain { get; set; }
Property Value
BiggestRideDistance
Gets or sets the distance of the athlete's longest ride, in meters.
public float BiggestRideDistance { get; set; }
Property Value
RecentRideTotals
Gets or sets the totals for recent ride activities.
public ActivityTotal? RecentRideTotals { get; set; }
Property Value
Remarks
"Recent" typically refers to the last 4 weeks of activity. This property is null if the athlete has no recent ride activities.
RecentRunTotals
Gets or sets the totals for recent run activities.
public ActivityTotal? RecentRunTotals { get; set; }
Property Value
Remarks
"Recent" typically refers to the last 4 weeks of activity. This property is null if the athlete has no recent run activities.
RecentSwimTotals
Gets or sets the totals for recent swim activities.
public ActivityTotal? RecentSwimTotals { get; set; }
Property Value
Remarks
"Recent" typically refers to the last 4 weeks of activity. This property is null if the athlete has no recent swim activities.
YtdRideTotals
Gets or sets the totals for year-to-date ride activities.
public ActivityTotal? YtdRideTotals { get; set; }
Property Value
Remarks
Year-to-date (YTD) refers to activities from January 1st of the current year to now. This property is null if the athlete has no YTD ride activities.
YtdRunTotals
Gets or sets the totals for year-to-date run activities.
public ActivityTotal? YtdRunTotals { get; set; }
Property Value
Remarks
Year-to-date (YTD) refers to activities from January 1st of the current year to now. This property is null if the athlete has no YTD run activities.
YtdSwimTotals
Gets or sets the totals for year-to-date swim activities.
public ActivityTotal? YtdSwimTotals { get; set; }
Property Value
Remarks
Year-to-date (YTD) refers to activities from January 1st of the current year to now. This property is null if the athlete has no YTD swim activities.