We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a0a7cb commit e811a15Copy full SHA for e811a15
1 file changed
fitbit/api.py
@@ -801,7 +801,7 @@ def get_sleep(self, date):
801
https://dev.fitbit.com/docs/sleep/#get-sleep-logs
802
date should be a datetime.date object.
803
"""
804
- url = "{0}/{1}/user/-/sleep/date/{year}-{month}-{day}.json".format(
+ url = "{0}/1.2/user/-/sleep/date/{year}-{month}-{day}.json".format(
805
*self._get_common_args(),
806
year=date.year,
807
month=date.month,
0 commit comments