Import Adidas workouts to Strava using Adidas exported data.
This importer is intended for Adidas workouts specifically. Other activity types may not work.
- 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
- 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/
- Run
python adidas_importer.py
Notes
- You can modify the scopes requested in the url if you need different access.
- Strava API doc reference