Get the signed-in Strava athlete
Automatically get the signed-in Strava athlete on strava.com. Returns the Strava athlete this browser is signed in as: id, display name, subscriber status and profile photo. Fails with a sign-in message when no one is signed in.
Input
None
Output
athlete_id requiredname optionalpremium optionalphoto_url optionalprofile_url optionalFAQ
Get a Strava segment and its leaderboard
Returns a Strava segment's name, sport, location, distance, grade and elevation, its effort and athlete totals, the KOM, QOM and Local Legend holders, and one page (25 rows) of its leaderboard. The leaderboard can be everyone, your own efforts, people you follow, one age group or one weight class, filtered by gender and by today, this week, this month or this year; has_more says whether another page exists. Club leaderboards are not offered. Distances are in meters, times in seconds, speeds in meters per second. Fails when the segment does not exist or is private.
Get a Strava activity
Returns one Strava activity: name, description, sport, local start time, location, distance, moving time, elevation gain, power and energy when recorded, the athlete, kudos and comment counts, and its segment efforts. Distances are in meters, times in seconds. The start time is null for activities whose page does not carry it as data (runs, for example), and shows 00:00:01 when the athlete hides start times. Fails when the activity does not exist or this account cannot see it.
Get a Strava athlete profile
Returns a Strava athlete's profile: name, photo, location, follower and following counts, club names, and the activities shown on the profile page. Counts are null when the profile hides them. Fails when the athlete does not exist.
