Skip to main content
Question

Calories Burned API Call Discrepancy

  • May 30, 2024 10:39 PM UTC
  • 3 replies
  • 136 views

Forum|alt.badge.img+3

Calories burned is available when using the getActivityById call but not when using the getLoggedInAthleteActivities call. I am using the API to generate a dataset with ALL of my Strava activities and having calories available for the historic dataset would be ideal. 

Am I missing something or is there a reason calories have been omitted from the getLoggedInAthleteActivities call?

Thanks!

3 replies

Jan_Mantau
Forum|alt.badge.img+26
  • Hub Powerhouse
  • May 30, 2024 11:04 PM UTC

Keeping the less important stats out was certainly done to keep the summary small. Calories are wild guesses anyway.


Forum|alt.badge.img+3
  • Author
  • Hub Rookie
  • May 31, 2024 5:42 PM UTC

Yeah I agree the calories aren't necessarily fact, but they are a good approximation and handy! I'm surprised by the level of other detail prioritized over that such as "trainer", "commute", "private" or even "suffer_score" which is arguably also a good approx.


Forum|alt.badge.img+1
  • Hub Starter
  • Aug 19, 2024 9:25 PM UTC

Agree with this. It would be great to get calories included in SummaryActivity object. Otherwise we need to fetch every activity individually. Calories are shown among the most visible values on every activity in the app.