Integration with TrainAsOne

Would it be possible to have better integration with TrainAsOne? I cannot find if they have an API. I have created a webcal on TAO, and added that to Intervals.icu. Here is an example of a future workout:

Economy run 48C (adjusted for 21.8℃ and 1.57 undulation)

Total: 12 minutes (~1.7 km)

Run steps:

  • Walk/slow run for 5 minutes at 07:20/km 132 bpm (125 to 139), (682 m).

  • Easy run for 7 minutes at 06:36/km 145 bpm (136 to 154), (1.1 km).

Would it be possible to analyse that and automatically create a workout with the correct steps?
Currently, past workouts do not include run steps, however TAO may change that.

1 Like

I have mailed them re API access. Parsing text like that is brittle … if they make any changes it will break.

Thanks for looking into it. I’m interested to find out what they say :slight_smile: .

Hey @david, did trainasone.com respond?

Yes they did and this is on the todo list.

2 Likes

I know this has sat dormant for a year, but I wanted to chime in just to say that it is something I would also be interested in (assuming TrainAsOne does what’s needed on their end).

Hi, I am curious whether there are plans to work on the integration with TrainAsOne. Automatic sync of planned runs would be great!

1 Like

Has there been any changes on that topic? It would be really cool to see my planned workouts from TrainAsOne in intervals.icu

1 Like

I’d also love to see this added. For me it would be totally worth upgrading to a paid tier.

1 Like

Hi, I’ve coded a script that transforms the TrainAsOne calendar to Intervals.icu format.

You have to:

  • get your TrainAsOne calendar ID: in the calendar view of the web app, select “calendar sharing” and copy the ID (e.g.: the id is ‘abc’ if the url is webcal://beta.trainasone.com/calendar/abc.ics)
  • in Intervals.icu, in the Activities view, click on “Options”, then “Add Calendar”. Paste the URL https://poirelpa.whf.bz/tao2icu?id=abc , replacing ‘abc’ with your own trainAsOne calendar Id.

This is only a prototype that seems to work for me. If it does not work for you, please send me your calendar Id and I will check it.

The code is here if you want to check it: GitHub - poirelpa/tao2icu · GitHub