Skip to content

Water read/write not working #46

Open
@schweerelos

Description

@schweerelos

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'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions