Skip to main content
Solved

Where is total_descent or steps in the activity Json

  • February 7, 2023
  • 1 reply
  • 5 views

Forum|alt.badge.img+2

I walk and ski.  On the app and website for skiing it shows the descent labelled vertical. On the app and website for walking it shows the steps.  But neither the API nor the JSON I get from the activity end point has this metric.

Thoughts?  Where can I get it?

 

DAvid

Best answer by Jan_Mantau

You can calculate the total descent with total_ascent - end_height + start_height. The last two you can get for example from the activity streams.

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

1 reply

Jan_Mantau
Superuser
Forum|alt.badge.img+26
  • Superuser
  • 894 replies
  • Answer
  • February 8, 2023

You can calculate the total descent with total_ascent - end_height + start_height. The last two you can get for example from the activity streams.


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