You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do I retrieve a user's goals for body weight, water or activities? They are in the collection resource part of the API, so I tried authd_client.__COLLECTION_RESOURCE('foods/log/water'). However, this appends today's date to the URL and the resulting URL is eg https://api.fitbit.com/1/user/-/foods/log/water/goal/date/2014-12-28.json. The API wants the URL to be just GET /<api-version>/user/-/foods/log/water/goal.<response-format> instead (see https://wiki.fitbit.com/display/API/API-Get-Water-Goal), so I'm getting an HttpBadRequest exception.
Activity
brad commentedon Feb 21, 2015
Reading/Writing goals is a piece of the library that is missing.