Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a little more explanation maybe? #33

Open
lcarcamo1526 opened this issue Jul 3, 2024 Discussed in #28 · 0 comments
Open

add a little more explanation maybe? #33

lcarcamo1526 opened this issue Jul 3, 2024 Discussed in #28 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@lcarcamo1526
Copy link
Owner

Discussed in #28

Originally posted by shug0131 December 31, 2023
Thanks for creating this tool. I've been working out how to get the workout details by hand, so using the API for TR. Your code is a guide for doing this, but I thought it might be helpful to others to explain how to do this.

The basics are to log in to TR, and then look up in your browser a URL like

https://www.trainerroad.com/app/api/workoutdetails/20725

Here the tricky bit is to identify the number at the end.

This can be done by going to calendar in TR, clicking on the workout you want, (ensure it is an indoor workout) and then clicking in the top right image in the subwindow. This redirects to a url like

https://www.trainerroad.com/app/cycling/workouts/20725-bald

and so the magic number you need is provided there.

Clearly, what you do with the output from the API is whole load of work to process into whatever format you want.

Maybe you could put this explanation into a FAQ or other document within your github repo?

@lcarcamo1526 lcarcamo1526 added the documentation Improvements or additions to documentation label Jul 3, 2024
@lcarcamo1526 lcarcamo1526 self-assigned this Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant