Skip to content

Data from non-time-series API endpoints #29

@awidgery

Description

@awidgery

Does django-fitbit support getting data from non-time-series API endpoints?

e.g. /foods/log only supports getting data for a single date:

GET https://api.fitbit.com/1/user/28H22H/foods/log/date/2015-09-01.json

More info here: https://dev.fitbit.com/docs/food-logging/#get-food-logs

I've hacked something quickly with a get_fitbit_singleday_data function based on get_fitbit_data - if this is the best way I'll make a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions