Half Marathon Training Analysis using the Strava API and Python

Conan Mercer Site Reliability Engineer

Half Marathon Training Analysis using the Strava API and Python

30 Jan 2022 - Conan Mercer

Motivation

For a long time I wanted to get a GPS running watch that measures heart rate. In the end I went with the Garmin Forerunner 45 watch, and the external Polar H10 heart rate sensor. This combination is perfect for highly accurate GPS and heart rate data, which is all that I was interested in from a running point of view. Being of the curious type, and also a data engineer, I decided to write this post that uses the Strava API and Python to analyse my training and race day performance for a Half Marathon race.

This Jupyter Notebook also resides on my GitHub - it can be viewed from here

Conclusion

This post explained how to use the Strava API and Python to analyse running data. The Strava API is a very effective tool for storing and retrieving running data. Python is very suitable for the analysis of that data. Together they form part of a powerful method to tell stories about fitness. I will write more of these types of projects in the future.