09-26-2019 07:25
09-26-2019 07:25
I'm getting exercise intensity and steps with API
API used
①activities / minutesSedentary
②activities / minutesLightlyActive
③activities / minutesFairlyActive
④activities / minutesVeryActive
⑤activities / steps
I'd like to know the period for obtaining ①②③④⑤.
For example
①activities / minutesSedentary
Can get the data of one month ago.
Please let me know if you know.
Answered! Go to the Best Answer.
09-26-2019 12:08
09-26-2019 12:08
Hi @matsusho,
You can get periods for 1,2,3,4,5 returned in increments of 1d, 7d, 30d, 1w, 1m, 3m, 6m, 1y.
In terms of how far back you can query this data, you can query as far back as January 2008. However, there is a limit to how much data the API calls can return in a single execution, so you may need to execute the call multiple times to adjust the date ranges.
For more information, visit our documentation for the GET Activity Time Series endpoints.
I hope this helps. Let me know if you have any additional questions.
09-26-2019 12:08
09-26-2019 12:08
Hi @matsusho,
You can get periods for 1,2,3,4,5 returned in increments of 1d, 7d, 30d, 1w, 1m, 3m, 6m, 1y.
In terms of how far back you can query this data, you can query as far back as January 2008. However, there is a limit to how much data the API calls can return in a single execution, so you may need to execute the call multiple times to adjust the date ranges.
For more information, visit our documentation for the GET Activity Time Series endpoints.
I hope this helps. Let me know if you have any additional questions.
09-26-2019 18:50
09-26-2019 18:50
Thank you for your quick reply