Skip to main content
Question

Calories Burned API Call Discrepancy

  • May 30, 2024
  • 3 replies
  • 31 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
Superuser
Forum|alt.badge.img+27
  • Superuser
  • May 30, 2024

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

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
  • August 19, 2024

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.