10-15-2019 17:46 - edited 10-15-2019 21:00
10-15-2019 17:46 - edited 10-15-2019 21:00
'Activities-heart-intraday' has disappeared from the response since about 5th Oct suddenly.
Will you please tell me the reason?
[code-sample: pythoh3.6]
unauth_client = fitbit.Fitbit(client_id=CLIENT_ID, client_secret=CLIENT_SECRET,
access_token = access_token[0], refresh_token = refresh_token[0], refresh_cb = updateToken)
data_sec = unauth_client.intraday_time_series('activities/heart', '20191014', detail_level='1min')
print(data_sec)
[response(until 5th Oct.)]
activities-heart-intraday was exist.
{'activities-heart': [{'dateTime': '2019-10-10', 'value': {'customHeartRateZones': [], 'heartRateZones': [{'caloriesOut': 1527.59196, 'max': 96, 'min': 30, 'minutes': 1106, 'name': 'Out of Range'}, {'caloriesOut': 475.51374, 'max': 135, 'min': 96, 'minutes': 82, 'name': 'Fat Burn'}, {'caloriesOut': 28.43748, 'max': 164, 'min': 135, 'minutes': 3, 'name': 'Cardio'}, {'caloriesOut': 35.60112, 'max': 220, 'min': 164, 'minutes': 4, 'name': 'Peak'}], 'restingHeartRate': 61}}],"activities-heart-intraday": {"dataset": []}}
[response(latest)]
activities-heart-intraday was not exist.
{'activities-heart': [{'dateTime': '2019-10-10', 'value': {'customHeartRateZones': [], 'heartRateZones': [{'caloriesOut': 1527.59196, 'max': 96, 'min': 30, 'minutes': 1106, 'name': 'Out of Range'}, {'caloriesOut': 475.51374, 'max': 135, 'min': 96, 'minutes': 82, 'name': 'Fat Burn'}, {'caloriesOut': 28.43748, 'max': 164, 'min': 135, 'minutes': 3, 'name': 'Cardio'}, {'caloriesOut': 35.60112, 'max': 220, 'min': 164, 'minutes': 4, 'name': 'Peak'}], 'restingHeartRate': 61}}]}
10-16-2019 09:41
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
10-16-2019 09:41
I've double-checked your account and you should have intraday access now. Please confirm.
Gordon
Best Answer