cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

The Hub is now in read-only mode as we make improvements to the Hub experience. More information is available here.

Where is total_descent or steps in the activity Json

davidmarks206
Shkhara

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

1 ACCEPTED SOLUTION

Jan_Mantau
Superuser
Superuser

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 solution in original post

1 REPLY 1

Jan_Mantau
Superuser
Superuser

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.