This repo contains easily modifiable code to download your workouts from Endomondo and subsequently generate an interactive Google Maps heatmap. The code is heavily inspired by examples and code from endomondo-api-handler and GPXtoHeatmap.
Install Dependencies
// install node dependencies for retrival of Endomondo workouts
$ npm install
// Install python dependencies for generating heatmap from workouts
$ python3 -m pip install -r requirements.txtAdd credentials to credentials.cfg file
Copy contents of 'credentials-example.cfg' into a new file 'credentials.cfg' and replace the segments containing Endomondo and Google credentials. This file ('credentials.cfg') has deliberately been added to the .gitignore file so you do NOT add this file to this repo by mistake.
node download-endomondo-workouts.js $ python3 heatmap.py --input workoutdata --output mapThis should generate an html file ('output/map.html'), which displays a Google Maps page with a heatmap overlay from the workout data in your .gpx files. You can cycle through each year of workout data using the 'Toggle year' button in the foating panel at the top. To display all years of data in a single overlay use the 'Display all data' button.
For more info and getting data from other suppliers (e.g. Strava/Garmin), please look at GPXtoHeatmap.