export_block
Export a training block's scheduled workouts to local files in ZWO, ERG, MRC, or FIT format. Use these for Zwift or other training apps when intervals.icu integration is unavailable.
Instructions
Downloads an uploaded block as workout files.
The workouts must be in the calendar first — run upload_block before. The files are an alternative to the intervals.icu integration, useful when Zwift runs on a device where the integration is unavailable.
.zwo files are used in Zwift by placing them under Documents/Zwift/Workouts// and appear under Workouts -> Custom.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | Up to this date, YYYY-MM-DD. | |
| block_name | Yes | The block to export. | |
| output_dir | Yes | Directory to save the files in. Created if needed. | |
| start_date | Yes | From this date, YYYY-MM-DD. | |
| file_format | No | zwo = Zwift, erg/mrc = trainer apps, fit = Garmin. | zwo |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |