Model#
Athletes#
Summary totals for rides, runs and swims, as shown in an athlete's public profile. |
|
Represents an identifiable athlete with lazily loaded property to obtain this athlete's summary stats. |
|
The Summary Athlete object. |
|
Represents high level athlete information including their name, email, clubs they belong to, bikes, shoes, etc. |
|
An object that holds athlete PR effort attributes. |
|
A structure being returned for segment stats for current athlete. |
Activities#
Represents an identifiable activity with lazily loaded properties to collect this activity's comments, zones, kudos and photos. |
|
The Activity object that contains high level summary activity for an activity. |
|
Represents an activity (ride, run, etc.). |
|
Represents an activity returned from a club. |
|
Contains a set of total values for an activity including elapsed time, moving time, distance and elevation gain. |
|
An object that represents an Activity lap. |
|
A split -- may be metric or standard units (which has no bearing on the units used in this object, just the binning of values). |
|
This object supports allowing an array of Literal values to be used for Activity Type. |
|
A class that extends the list of Literal values allowed for Sport Types that are defined in the generated strava_model module. |
|
Base class for activity zones. |
|
A single distribution bucket object, used for activity zones. |
Activity Photos#
Note: the activity photo classes are defined differently in the Strava spec. This section will likely need to be updated. These endpoints are not well documented.
Represents the primary photo for an activity. |
|
A full photo record attached to an activity. |
Clubs#
Represents an identifiable club with lazily loaded properties to obtain this club's members and activities. |
|
Represents a single club with detailed information about the club including the club's location, activity types, etc. |
|
The detailed club object contains all of the club data available to the authenticated Athlete. |
Routes and Segments#
Stores lat / lon values or None. |
|
Contains summary information for a specific segment |
|
Represents a single Strava segment. |
|
Represents a segment result from the segment explorer feature. |
|
Pass through object. |
|
Represents a spatial route created by an athlete. |
|
Stream of readings from the activity, effort or segment. |
Segment Efforts#
A split -- may be metric or standard units (which has no bearing on the units used in this object, just the binning of values). |
|
Base class for a best effort or segment effort. |
|
Class representing a best effort (e.g. best time for 5k). |
|
Class representing a best effort on a particular segment. |
|
An undocumented structure being returned for segment efforts. |
|
Returns summary information for a segment in an activity. |
Webhook Subscriptions#
Represents a Webhook Event Subscription. |
|
Represents a Webhook Event Subscription Callback. |
|
Represents a Webhook Event Subscription Update. |
Custom Types#
|
A class for representing distances as quantities (using meter as unit, which is the implicit default of Strava). |
A class that calculates the duration or time elapsed for an activity, activity segment, or activity lap. |
|
A class to represent and manipulate time zone information. |
|
|
A class for representing velocities as quantities (using meters per second as unit, which is the implicit default of Strava). These quantities can then |
Stravalib helpers#
A class that bounds the Client object to the model. |
|
|
Utility helper that parses a datetime value provided in JSON, string, int or other formats and returns a datetime.datetime object. |
|
Should be used to decorate the functions that return a lazily loaded entity (collection), e.g., the members of a club. |
|
Validate a list of location xy values. |