WebService::GarminConnect - Access data from Garmin Connect


version 1.0.1


With WebService::GarminConnect, you can search the activities stored on the Garmin Connect site.

    use WebService::GarminConnect;

    my $gc = WebService::GarminConnect->new( username => 'myuser',
                                             password => 'password' );
    my $activities = $gc->search( limit => 20 );
    foreach my $a ( @{$activities} ) {
      my $name = $a->{name};


new( %options )

Creates a new WebService::GarminConnect object. One or more options may be specified:


(Required) The Garmin Connect username to use for searches.


(Required) The user's Garmin Connect password.


(Optional) Override the default login URL for Garmin Connect.


(Optional) Override the default search URL for Garmin Connect.

activities( %search_criteria )

Returns a list of activities matching the requested criteria. If no criteria are specified, returns all the user's activities. Possible criteria:


The maximum number of activities to return. If not specified, there is no limit.


Joel Loudermilk, <jlouder at>


Please report any bugs or feature requests to bug-webservice-garminconnect at, or through the web interface at I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.


You can find documentation for this module with the perldoc command.

    perldoc WebService::GarminConnect

You can also look for information at:


Copyright 2015 Joel Loudermilk.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see