Garmin Connect Web API
***not official***
Intro
Simple using
Web API examples
Example 1: Total distance (
team-garmin
)
Request string
http://connect.garmin.com/proxy/userstats-service/statistics/previousDays/team-garmin
Response in php array
Array ( [userProfileId] => 1058303 [statisticsStartDate] => [statisticsEndDate] => [userMetrics] => Array ( [0] => Array ( [userProfileId] => [activityType] => Array ( [typeId] => 17 [typeKey] => all [parentTypeId] => [isHidden] => [restricted] => [trimmable] => [sortOrder] => ) [parentActivityType] => Array ( [typeId] => 17 [typeKey] => all [parentTypeId] => [isHidden] => [restricted] => [trimmable] => [sortOrder] => ) [totalActivities] => 0 [totalDistance] => 0 [totalDuration] => 0 [totalCalories] => 0 [totalElevationGain] => 0 [visibleCount] => 0 ) ) )
Result
(
source code
)
Example 2: Distance Graph by months (
team-garmin
)
Request string
http://connect.garmin.com/proxy/userstats-service/statistics/monthly/team-garmin?ByParentType=true
Result
(
source code
)
Current year:
0km
0km
I'm not member of Garmin developer team and all info is not official.
sergeykrasnov.ru