Import FitNotes workout data to Strava.
Import Adidas workouts to Strava.
- Navigate to
https://www.runtastic.com/
and log in - Go to the settings and export your data. Note that you may have to wait a couple of days before your data is available
Follow instructions from https://www.fitnotesapp.com/settings/#data
- Create an application in your personal Strava account
- Get your Strava code to allow the script to request tokens to the Strava API
- With your Strava client id, navigate to: http://www.strava.com/oauth/authorize?client-id=<client_id>&response_type=code&redirect_uri=http://localhost/exchange_token&approval_prompt=force&scope=profile:read_all,activity:read_all,activity:write
- Go through the consent form
- From the url, copy the code to your config.json
- Fill in the config.json file with your client Id, client secret and the path to your adidas folder workout e.g. C:/<user_root>/2020-06-23/Sport-sessions/ and or your FitNotes exported csv data.
- Run
python .\sports_app_importer.py
. Follow the prompt's instructions.
Notes
- You can modify the scopes requested in the url if you need different access.
- Strava API doc reference
- Only 2 apps are supported: FitNotes (https://play.google.com/store/apps/details?id=com.github.jamesgay.fitnotes) and Adidas (https://play.google.com/store/apps/details?id=com.runtastic.android.results.lite)