Fetching Garmin data, done !

In my previous article, I managed to fetch Garmin Connect wellness data as JSON but I needed to fetch the authentication SESSIONID using a browser. It appears that login into the application was not so complicated. I managed to understand how to perform the authentication on Garmin Connect using BASH and curl. So now, my script is fully autonomous.

EDIT: The project now has its own repository on Github.

Continue reading “Fetching Garmin data, done !”

Fetching my Garmin wellness data

I had Garmin watches for years now. The last one is recording my “wellness data” (steps, heart rate) and publishing it to Garmin’s servers. While the Garmin Connect website is great I want to get a backup of these data on my own computer.

Garmin has a Health API, but requesting access requires a painful process. So, I decided to write my own script to fetch the data.

In this article I detail the process used and how I came to choose BASH and curl as the best technology.

EDIT : Sources are now hosted in a github repository.

Continue reading “Fetching my Garmin wellness data”