Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

No heart rate data with Python API

I've been using the Fitbit Python package to analyse my data from the Fitbit Charge HR. When I look at my exercise data it seems to work really well:

fitbit_stats = authd_client._COLLECTION_RESOURCE('activities', date='2015-09-16')

However, when I try to get my heart rate data, it runs, but doesn't return anything except 0s:

fitbit_stats = authd_client._COLLECTION_RESOURCE('heart', date='2015-09-16')
print fitbit_stats

{'heart': [], 'average': [{'tracker': 'Resting Heart Rate', 'heartRate': 0}, {'tracker': 'Normal Heart Rate', 'heartRate': 0}, {'tracker': 'Exertive Heart Rate', 'heartRate': 0}]}

Does anyone know why I'm not returning any data here?

Best Answer
0 Votes
1 REPLY 1

We can't easily debug your application code. Please provide a log of the actual HTTP request and response. You might consider using Runscope Traffic Inspector to do this.

Best Answer
0 Votes