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

Charge 5 - Get Sleep Log by Date API

Hi

Few questions about "Get Sleep Log by Date API" on charge 5:

 

  1. Table User_sleepdata à “Sleep: efficiency” - how it is calculated? any documentation?
  2. Table User_sleepdata à “sleep: info code” – where we can find codes documentation?
  3. users_sleeplevelsshortdata includes only “wake” data time periods.

    users_sleeplevelsdata includes full sequential data of sleep stages, including “wake” status data, but it is not the same as the “wake” data in the “users_sleeplevelsshortdata ” – what is the difference between “wake” in both tables? why it is not the same?

  4. In the Fitbit application, we see both:  classic levels (restless | asleep | awake)  and stages (deep | light | rem | wake), but in the 1.2 API we have only stages (deep | light | rem | wake). Can we have them both in 1.2 API?

Thanks 

 

Best Answer
0 Votes
2 REPLIES 2

Hi @prosperitydev 

 

  1. We typically do not share our algorithms.   The only information I'm able to share at this time is what is provided in the documentation.
  2. I will see what we can provide here.
  3. Please read "Interpreting Sleep Stage and Short Data" from the Developer Guide for an explanation.
  4. Depending on the amount of data in each sleep log, we will return either the classic or stage sleep log.   We do not return both.

Gordon

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes

Thank you so much Gordon for your reply.

 

 

Best Answer
0 Votes