04-27-2018 07:34
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

04-27-2018 07:34
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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 ?
05-06-2018 13:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-06-2018 13:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.

