Skip to main content
Dear all, I have noticed a recent change in the “Athlete Stats” API: it is returning partial values for distance and elevation (not the same values that are visible on the profile page on Strava, as this API alway did in the past).Also I’m getting decimal values (see below in red). I believe something went wrong here. 
stdClass Object
(
/biggest_ride_distance] => 170760
/biggest_climb_elevation_gain] => 1871
/recent_ride_totals] => stdClass Object
(
count] => 15
distance] => 991064.08984375
moving_time] => 135009
elapsed_time] => 140781
elevation_gain] => 11017
achievement_count] => 198
)

/all_ride_totals] => stdClass Object
(
count] => 1581
distance] => 72496554.40332
moving_time] => 12023480
elapsed_time] => 13179871
elevation_gain] => 1140429.4384117
)

/recent_run_totals] => stdClass Object
(
count] => 0
distance] => 0
moving_time] => 0
elapsed_time] => 0
elevation_gain] => 0
achievement_count] => 0
)

/all_run_totals] => stdClass Object
(
count] => 147
distance] => 1021658.0006104
moving_time] => 293761
elapsed_time] => 300161
elevation_gain] => 11185.105569363
)

/recent_swim_totals] => stdClass Object
(
count] => 0
distance] => 0
moving_time] => 0
elapsed_time] => 0
elevation_gain] => 0
achievement_count] => 0
)

/all_swim_totals] => stdClass Object
(
count] => 0
distance] => 0
moving_time] => 0
elapsed_time] => 0
elevation_gain] => 0
)

/ytd_ride_totals] => stdClass Object
(
count] => 106
distance] => 7852656
moving_time] => 1124466
elapsed_time] => 1226916
elevation_gain] => 102673.5065918
)

/ytd_run_totals] => stdClass Object
(
count] => 0
distance] => 0
moving_time] => 0
elapsed_time] => 0
elevation_gain] => 0
)

/ytd_swim_totals] => stdClass Object
(
count] => 0
distance] => 0
moving_time] => 0
elapsed_time] => 0
elevation_gain] => 0
)

)

 

Be the first to reply!

Reply