Skip to content

[Feature] Can we enable uploading workout JSON? #256

@arpanghosh8453

Description

@arpanghosh8453

I have seen a commented instance of this.

# def upload_workout(self, workout_json: str):
# """Upload workout using json data."""
# url = f"{self.garmin_workouts}/workout"
# logger.debug("Uploading workout using %s", url)
# return self.garth.post("connectapi", url, json=workout_json, api=True)

But I am not sure why it's commented out and not implemented in the code. Is there any obvious problem with this feature?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions