Garmin does this stupid thing where they don’t share your daily step counts with other fitness sites like fitbit or mapmyfitness. Garmin has an API but sadly they charge to use it, which is dumb.

Anyways I started ripping through their user site and I found a JSON data service that I can access once I’ve logged into the site .  The following is a powershell script to login to the garmin connect site and then pull json data.

Powershell makes it so easy to use JSON data too


This is how I spend my evenings … elbows deep in other peoples code 😀


1 Comment

  1. Hi Bain, thank you for sharing. Are there any updates to your script? I get:
    Invoke-WebRequest : 404 Not Found: Requested route (‘’) does not exist.
    At line:15 char:9
    + $site = Invoke-WebRequest -UseBasicParsing -Uri “ …

Leave a Reply to Marnu Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.