Skip to main content
Solved

How to access the athlete's partial km

  • March 24, 2024
  • 1 reply
  • 2 views

Forum|alt.badge.img+3

I searched the documentation and couldn't find how I can access partial km information.
Example: 5km run
1st km - 4.56
2nd km - 4.59
3rd km - 5.10
4th km - 5.23
5th km - 5.43
There is a way to list all activities for a given period and have access to the following information that I included in the example above.

Best answer by ActivityFix

It's returned as keys splits_metric and splits_standard in the data from a call to getActivityById 

 

"splits_metric":[ { "distance":1001.8, //Meters "elapsed_time":366, //Seconds "elevation_difference":-20.6, //Meters "moving_time":108, //Seconds "split":1, //Split # (will increment each entry) "average_speed":9.28, //Meters/second "average_grade_adjusted_speed":null, //GAP, m/s "average_heartrate":124.30841121495327, //BPM "pace_zone":0 //Zone number }, ... ], "splits_standard": [ { "distance":1615.1, "elapsed_time":423, "elevation_difference":-33.2, "moving_time":165, "split":1, "average_speed":9.79, "average_grade_adjusted_speed":null, "average_heartrate":130.54268292682926, "pace_zone":0 }, ... ]

 

The splits are quite close to but not always exactly 1km/1mi. It comes down to the recording frequency of the device used since most are only saving data every second or so. At slower speeds the splits will be closer to exact kilometers or miles.

View original
Did this topic help you find an answer to your question?

1 reply

ActivityFix
Superuser
Forum|alt.badge.img+24
  • Superuser
  • 246 replies
  • Answer
  • March 25, 2024

It's returned as keys splits_metric and splits_standard in the data from a call to getActivityById 

 

"splits_metric":[ { "distance":1001.8, //Meters "elapsed_time":366, //Seconds "elevation_difference":-20.6, //Meters "moving_time":108, //Seconds "split":1, //Split # (will increment each entry) "average_speed":9.28, //Meters/second "average_grade_adjusted_speed":null, //GAP, m/s "average_heartrate":124.30841121495327, //BPM "pace_zone":0 //Zone number }, ... ], "splits_standard": [ { "distance":1615.1, "elapsed_time":423, "elevation_difference":-33.2, "moving_time":165, "split":1, "average_speed":9.79, "average_grade_adjusted_speed":null, "average_heartrate":130.54268292682926, "pace_zone":0 }, ... ]

 

The splits are quite close to but not always exactly 1km/1mi. It comes down to the recording frequency of the device used since most are only saving data every second or so. At slower speeds the splits will be closer to exact kilometers or miles.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept, you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings