Hi, thanks for your help.
I PMd you the log file.
OK. Finally got to the right page - my numptyness. But I do not get the cookies showing.
But youâll see a yellow triangle and a red exclamation mark that indicate when I click on them that there are errors. Is that why I am unable to see cookies despite repeatedly clicking on cookies?
Check under âHeadersâ tab
Required cookie is used most of the time with rest endpoint /token
to get authentication token. Write token
in this input and it should return at least one request.
If you have still none, try to update the page (without closing dev tool).
Great looking tool - thanks for sharing!
Side thought, could the tool be used to go the other way - eg. to copy across completed workouts in intervals.icu to TrainingPeaks? I have a specific use case in mindâŚ
Do you want to copy workouts from Intervals to TP workout library or just sync from Intervals calendar to TP calendar?
The last one is possible, in latest version you can select any date to sync workouts between calendars.
Thanks - I want to sync completed workouts from intervals.icu into TP
How can I find completed workouts in Intervals, what criteria should be applied?
I mean, there are many variables that allow to interpret workout as completed
. It can be just workouts with past date or workouts with some compliance number or workouts with assigned activity and etc.
I would like to know what use case you want to implement so I can understand what workouts you want to copy.
Ahh, I understand - apologies.
My use case is that I periodically use WKO5 to analyse ride data for myself and my athletesâŚ
- In order to be able to use it, I either need to sync my TP account with WKO5 (and so need all my completed workouts in TP - by either uploading manually or having even more direct connections between my devices) or,
- I need to download all of my completed workouts from intervals.icu as a fit files, store then locally and import them into WKO5 manually
In order to limit the amount of connections into multiple different platform, I wondered if your tool could be used to periodically copy completed workouts (fit files) across into my TP calendarâŚsolving the part highlighted in red below of my training platform âdata flowâ architecture.
You might be able to use Dropbox integration to help with this.
Not wanting to derail the topic but that was an idea I had, but unfortunately WKO5 wonât connect to a âcloudâ storage location - unless there is some way of mirroring the online drive locally?
Itâs quite complex to make smth like that. ATM I canât confirm is it doable or not.
IIRC you can download Dropbox app, and it will sync all your cloud files to locally selected directory.
Thanks for reviewing the request - and again for the tool! I will have a look at the dropbox option then as an alternative
OK I diid that and after a page refresh get this
Which bit do I need to copy for the Authorisation code? Apologies for all the questions
give the one labelled as âaccess_tokenâ a whirl. Tho I see the readme says
TrainingPeaks Auth Cookie
If you want ot use TrainingPeaks you need to configure it. Copy cookie
Production_tpAuth
(key and value, smth likeProduction_tpAuth=very_long_string
) from the browser on TrainingPeaks page.
It should be in the tab called header.
Did you try a different browser?