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

problem getting the HR data through the python API

hey there,

 

i'm trying to export all the sleep and HR raw data through the python fitbit API (https://github.com/orcasgit/python-fitbit).

i've registered my app as "personal use", so the HR data should be avialable, but when i'm trying to get it (runing client.time_series with "http://api.fitbit.com/1/user/-/activities/heart/date/2018-04-23/1d/1sec.json") this error pops up:

 

HTTPBadRequest: this request must use the HTTPS protocol

 

i've searched for why this would happen and came up with nothing, i'm not sure how to force the request to be HTTPS ?

Best Answer
0 Votes
1 REPLY 1

I manage to overpass this by using "intraday time series" and not "time series", doesn't really solve the problem but gets the HR data.

Best Answer
0 Votes