Skip to content

Bulk export your Coros activities to FIT to import them in a 3rd party

License

Notifications You must be signed in to change notification settings

xballoy/coros-api

Repository files navigation

Bulk export Coros activities

⚠️ This repository is using a non-public API from COROS Training Hub that could break anytime.

Bulk export your Coros activities to FIT to import them in a 3rd party

Getting started

  • Install Node.js (see .nvmrc for the supported version)
  • Run npm install
  • Create a .env file (see .env.example) with your email, password and the Coros API URL
  • Run npx nest start -- export-activities -out OUT_DIR.

Example:

# Download all activities in fit format in Downloads folder
npx nest start -- export-activities -o ~/Downloads

Options:

  -o, --out [outDir]       Output directory
  --exportType <fileType>  Export data type (choices: "fit", "tcx", "gpx", "kml", "csv", default: "fit")
  --fromDate <from>        Export activities created after this date (inclusive). Format must be YYYY-MM-DD
  --toDate <to>            Export activities created before this date (inclusive). Format must be YYYY-MM-DD
  -h, --help               display help for command

Licence

MIT License

About

Bulk export your Coros activities to FIT to import them in a 3rd party

Topics

Resources

License

Stars

Watchers

Forks