Garmin PHP API
NB 17JUNE 2010 When I posted this blog I thought I would update this code base a little more – as there was limited (read none) feedback and requests for it I stopped working on it. Should you want some info about the code feel free to ping me a comment on this thread and ill get back to you or drop me a message here. Since starting this coding I now have my Garmin data retrieved through wordpress and fed into the amchart graphs displayed on the right.
I am a developer by trade and one of the reasons I bought this Garmin device was to play with what extra stuff I could get above and beyond my Nike+.
When I searched google I couldn’t really find any form of api to interact with the data so I cobbled together a first draft of stuff. Currently the code is used to pull the TCX file from the garmin site extract the raw data and create an embeddable google map (see below). I will provide the JS file and some code for others to embed on there own blog very soon and will attempt to update the php classes when I need to update them for my own benefit!
Please find all code classes in this folder: http://neillock.co.uk/code/php/. This code is *roughly* commented. For simplicity I have also created phps files for you to look at before downloading here
http://neillock.co.uk/code/phps/.
If you do look at, use, sniff at any of my code can you give me a shout – it would be cool to see what others have done with it! Also if I have been beaten to the mark and there is better api out there shout cause I couldn’t find it!!!
Neil


Lance Armstrong: It's not about the bike