garth icon indicating copy to clipboard operation
garth copied to clipboard

Renaming activities?

Open jat255 opened this issue 11 months ago • 0 comments

Thanks for your great library! I'm using it in https://github.com/jat255/fit_file_uploader to automate some activity file handling and it's been super useful.

I was wondering if it would be possible to support renaming activities? So far as I can glean from the request in the DevTools, this is done by a POST request to

https://connect.garmin.com/activity-service/activity/{activity_id}

With a payload as follows:

{
    "activityId": 10234567890,  // int
    "activityName": "new name as str" // str
}

Looking at the client implementation in http.py, it doesn't look too bad and I could probably submit a PR for this, if you want.

jat255 avatar Jan 06 '25 16:01 jat255