Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Cannot retrieve goals #47

Copy link
Copy link
@schweerelos

Description

@schweerelos
Issue body actions

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.