Google Fit API, getting calories burned per activity

前端 未结 2 694
悲&欢浪女
悲&欢浪女 2021-01-05 06:27

So I\'m trying to create an app that connects to Google Fit and shows the user their data in a pretty streamlined way and I\'m having trouble finding the calories the user b

2条回答
  •  自闭症患者
    2021-01-05 07:05

    You need to work with Fitness.SESSIONS_API, instead of Fitness.HISTORY_API. Sessions represent a time interval during which users perform a fitness activity.

提交回复
热议问题