-
Notifications
You must be signed in to change notification settings - Fork 334
Open
Description
Water read/write isn't working, it's using the wrong endpoint (water is a food, not its own resource, see https://wiki.fitbit.com/display/API/API-Get-Water). Using authd_client._COLLECTION_RESOURCE('foods/log/water') works, as does authd_client.foods_log_water() after changing line 156 in api.py (https://github.com/orcasgit/python-fitbit/blob/master/fitbit/api.py#L156) to 'foods/log/water'.