mpolla / stravaup

Upload fit files to strava.com from the command line
19 stars 8 forks source link

Option to change gear_id (bike type) #7

Open Flavien06 opened 6 years ago

Flavien06 commented 6 years ago

Hi Thanks for the script. It's great. I make a fork and I'd like to add the way to change the gear_id for the activity an idea of how to impelemter it I block a can.

I would like to add the way to change the material use for the activity (gear_id) an idea of how to impelemter it.I don't find how to do :/

Strava support :

You can use the Update Activity API - http://developers.strava.com/docs/reference/#api-Activities-updateActivityById to do so. Although, gear_id is not listed as one of the UpdatableActivity, you can still pass in the gear_id that you want to update it to.