Skip to content

Repo with easily modifiable code to download Endomondo workouts and display on a Google Maps powered heatmap

Notifications You must be signed in to change notification settings

martinobrink/EndomondoHeatmap

Repository files navigation

Endomondo Workout Heatmap

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.

Usage

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.txt

Add 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.

Downloading Endomondo workouts

node download-endomondo-workouts.js 

Generating heatmap from workout/gpx-files

$ python3 heatmap.py --input workoutdata --output map

This 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.

More info

For more info and getting data from other suppliers (e.g. Strava/Garmin), please look at GPXtoHeatmap.

About

Repo with easily modifiable code to download Endomondo workouts and display on a Google Maps powered heatmap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors