Open aseki opened 3 years ago
Thank you. This may be a legal limbo due to the Strava terms of service.
+1 automating anything pretending to be the browser might work, and it might get your Strava account banned.
I was hoping this might work with the API because it follows the same pattern as /routes/{id}/export_tcx, but no dice:
➜ C:\code curl -X GET "https://www.strava.com/api/v3/activities/4513393838/export_gpx" -H "authorization: Bearer secretsecret"
{"message":"Record Not Found","errors":[{"resource":"resource","field":"path","code":"invalid"}]}
This is sample python code, sorry not ruby. You can get gpx file by logining and post this url like https://www.strava.com/activities/12345678/export_gpx. You can do the same thing by ruby.