Strava v0.4.1 Strava.SegmentEffort View Source
A segment effort represents an athlete’s attempt at a segment. It can also be thought of as a portion of a ride that covers a segment.
More info: https://strava.github.io/api/v3/efforts/
Link to this section Summary
Functions
Parse the dates and segment in the segment effort
A segment effort represents an athlete’s attempt at a segment. It can also be thought of as a portion of a ride that covers a segment
Link to this section Types
Link to this type
t()
View Source
t() :: %Strava.SegmentEffort{activity: Strava.Activity.Meta.t(), athlete: Strava.Athlete.Meta.t(), average_cadence: float(), average_heartrate: float(), average_watts: float(), device_watts: boolean(), distance: float(), elapsed_time: integer(), end_index: integer(), hidden: boolean(), id: integer(), kom_rank: integer(), max_heartrate: integer(), moving_time: integer(), name: String.t(), pr_rank: integer(), resource_state: integer(), segment: Strava.Segment.t(), start_date: NaiveDateTime.t() | String.t(), start_date_local: NaiveDateTime.t() | String.t(), start_index: integer()}
Link to this section Functions
Link to this function
parse(segment_effort)
View Source
parse(Strava.SegmentEffort.t()) :: Strava.SegmentEffort.t()
Parse the dates and segment in the segment effort
Link to this function
retrieve(id, client \\ Strava.Client.new())
View Source
retrieve(integer(), Strava.Client.t()) :: Strava.SegmentEffort.t()
A segment effort represents an athlete’s attempt at a segment. It can also be thought of as a portion of a ride that covers a segment.
Example
Strava.SegmentEffort.retrieve(269990681)
More info: https://strava.github.io/api/v3/efforts/#retrieve