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

request for intraday time series for sleep

ANSWERED

Are there plans to provide an endpoint to obtain an intraday (minute-level) time series for sleep quality? It seems such a dataset could go hand-in-hand with a heart rate intraday time series.

 

Thanks,

 

Jamie

Best Answer
1 BEST ANSWER

Accepted Solutions

Minute level data is already included in the sleep logs. See https://wiki.fitbit.com/display/API/API-Get-Sleep

View best answer in original post

Best Answer
5 REPLIES 5

Minute level data is already included in the sleep logs. See https://wiki.fitbit.com/display/API/API-Get-Sleep

Best Answer

I am a new member of the fitbit community with an interest in downloading intraday data.  There seems to be lots of good info here, but, when I click on the wiki links that seem to have all the details, I get diverted to the confluence site, where I am asked for a username and password.  I do not have an account on Confluence and there does not seem to be a way open one.  What gives?

Best Answer
0 Votes
Best Answer
0 Votes
@JeremiahFitbit: Thanks, but how do I find the documentation? Also, there are links all over this forum to Conflunce. Will all such links be moved to docs? Would it be simpler if we could just get onto Conflence. I have also found other sites that have links to Python examples, and they also link to to Confluence. Would it be possible to post here a simple Python example of downloading one's intraday sample from logging on to calling the correct module to get the data. All this talk of tokens, authorization, etc might be fine for developers who do this kind of thing routinely, but it's all confusing to me. For example, A working block of Python code that I could paste into Python and run would be of great help. Thanks!
Best Answer
0 Votes

@mgkuzyk: Confluence is just a product for creating wikis. It's not a centralized destination for documentation. We created https://dev.fitbit.com/docs to make it easier to find documentation.

 

All of the documentation was once was on wiki.fitbit.com is now at https://dev.fitbit.com/docs and better organized. We will be adding many improvements that we couldn't do within Confluence.

 

As for getting up and running, I will admit that the documentation assumes that you know how to make an HTTP request with Python. If you can do that, the Fitbit Web API is really just an HTTP request with an Authorization header. To get an OAuth 2.0 access token quickly, use the Implicit Grant flow.

Best Answer
0 Votes