Closed cohen-rachel closed 3 years ago
I am getting the same error. I just install the library last week.
On a different note: I am going to use the ScanWatch for a research study, but I am totally new with this - does anybody have time to answer some dummy questions from a newbi? lunash94@hotmail.com
I have been using this code for a couple months and it was working perfectly the last time I checked it at the end of January 2021. Now when I run it I get an error trying to call sleep_get
This is the line that causes the error:
sleep = api.sleep_get(startdate=arrow.get('2021-01-20T21:23:58.970460+05:00'), enddate=arrow.utcnow(), data_fields=list(GetSleepField))
However using the line to use sleep_get_summary is working perfectly, with the same inputs (startdate and enddate).Now when I try to get the sleep data, I get the following error:
Thanks!