WebService::GarminConnect - Access data from Garmin Connect
version 1.0.7
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->activities( limit => 20 ); foreach my $a ( @activities ) { my $name = $a->{name}; ... }
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.
Returns a list of activities matching the requested criteria. If no criteria are specified, returns all the user's activities. Possible criteria:
(Optional) The maximum number of activities to return. If not specified, all the user's activities will be returned.
(Optional) The number of activities to return in each call to Garmin Connect. (One call to this subroutine may call Garmin Connect several times to retrieve all the requested activities.) Defaults to 50.
Joel Loudermilk, <joel at loudermilk.org>
<joel at loudermilk.org>
Please report any bugs or feature requests to https://github.com/jlouder/garmin-connect-perl/issues.
You can find documentation for this module with the perldoc command.
perldoc WebService::GarminConnect
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/WebService-GarminConnect
CPAN Ratings
http://cpanratings.perl.org/d/WebService-GarminConnect
Search CPAN
http://search.cpan.org/dist/WebService-GarminConnect
GitHub Repository
https://github.com/jlouder/garmin-connect-perl
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 http://www.gnu.org/licenses/.
To install WebService::GarminConnect, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::GarminConnect
CPAN shell
perl -MCPAN -e shell install WebService::GarminConnect
For more information on module installation, please visit the detailed CPAN module installation guide.