Blog » Herbert Poul's Personal Blog » Downloading garmin connect running statistics through JSON API (No more webscraping in web 2.0 ?)
Garmin has long promised to provide a Web Service API to fetch the last "activities" from their Garmin Connect website. Unfortunately it does not seem to be of any priority to them.

But luckily thanks to AJAX it is really easy nowadays to understand data - a 5 line perl script by using HTML::Form for the login, fetching the data through a simple GET request and JSON->new()->json\ToObj(..) to parse the response.

I someone miss the times where you had to use multi-line regular expressions to find something in an ugly HTML file :)

Anyhoo - you can see the result at
Hey, we have Signatures !!! Great, isn't it ? ;)

Posted by Herbert Poul

Assigned Tags:


Please login to post a reply.

Personal website and blog of Herbert Poul. Also check out my Photo Gallery.

Herby's Photo Gallery



You are not logged in.