Enduroa is a fun project to make TrainingPeaks workout data available as an .ics file. This feature is also available in the official Pro version, but I only need these entries in my personal Google calendar.
- Log in to your TrainingPeaks account
- Go to the Network tab on your browser and select your bearer authorisation token and your athlete ID
- You can find both here
https://tpapi.trainingpeaks.com/users/v3/user
- You can find both here
- Call the API
https https://tpapi.trainingpeaks.com/fitness/v6/athletes/<YOUR_ATHLETE_ID>/workouts/2023-08-21/2024-06-06 > workouts.json
git clone git@github.com:reneroboter/endurora.git
cd endurora
composer install
mv workout.json to data/workout.json
php index.php
to verify if everything wokrs
HAVE FUN! π