Skip to content

lcarcamo1526/TrainerRoad-to-Zwift

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trainerroad to Zwift

Download your training road workouts as zwo and import it as Zwift workouts!

Run It

Binder

Click on the button above, and replace your credentials and your desire parameters, wait an download the zip file

ATTENTION: I strongly suggest clone this repo and run it in your local environment, sometimes it could fail because trainerroad already blocked binder IP.

How to Use it?

Usage example

Make sure to replace the following variables with your own values:

os.environ[TRAINERROAD_USER] = "your@username.com"
os.environ[TRAINERROAD_PASSWORD] = "yourpassword"

START_DATE = "MM-DD-YYYY" # For example: 12-20-2021, By default today's date
END_DATE = "MM-DD-YYYY"   # For example: 12-20-2021, By default, today's date within 3 years
INCLUDE_DATE = False  # If True Download the whole calendar including daily workouts

Restart the kernel and run all

Peek 2021-12-11 21-54

Download files from notebook

Peek 2021-11-30 23-47

Unzip compress files and move into Zwift workout folder:

untitled

Go to custom workouts and enjoy!:

untitled1

Installation

OS X & Linux:

create your own environment with conda or virtualenv and then:

pip install -r requirements.txt

Contributing

  1. Fork it (https://github.com/yourname/yourproject/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Credits

Credits to stuwilkins for python-trainerroad

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.8%
  • Jupyter Notebook 10.2%