Strava v0.3.1 Strava.Activity
Activities are the base object for Strava runs, rides, swims etc.
More info: https://strava.github.io/api/v3/activities/
Summary
Functions
Parse the athlete, dates, photos and segment efforts in the activity
Retrieve details about a specific activity
Types
t()
t :: %Strava.Activity{elev_low: float, average_cadence: float, upload_id: integer, average_watts: float, distance: float, private: boolean, max_watts: integer, elapsed_time: integer, manual: boolean, comment_count: integer, average_heartrate: float, name: String.t, best_efforts: [map], device_watts: boolean, start_date_local: NaiveDateTime.t | String.t, suffer_score: integer, commute: boolean, workout_type: integer, flagged: boolean, calories: float, average_temp: float, elev_high: float, type: String.t, map: map, description: String.t, total_elevation_gain: float, device_name: String.t, achievement_count: integer, kilojoules: float, athlete_count: integer, splits_standard: [map], max_heartrate: integer, gear_id: String.t, start_date: NaiveDateTime.t | String.t, kudos_count: integer, athlete: Strava.Athlete.Meta.t, segment_efforts: [Strava.SegmentEffort.t] | nil, photo_count: integer, has_kudoed: boolean, trainer: boolean, max_speed: float, gear: map, id: integer, end_latlng: [number], has_heartrate: boolean, photos: Strava.Activity.Photo.Summary.t | nil, weighted_average_watts: integer, embed_token: String.t, total_photo_count: integer, start_latlng: [number], average_speed: float, moving_time: integer, external_id: String.t, timezone: String.t, splits_metric: [map], resource_state: integer}
Functions
Parse the athlete, dates, photos and segment efforts in the activity
Retrieve details about a specific activity.
Example
Strava.Activity.retrieve(746805584)
More info: https://strava.github.io/api/v3/activities/#get-details