strava - strava - Command line interface to Strava
version 0.06
Usage:
strava --setup : Configure Oauth2 authentication strava --upload /path/to/file.gpx : Simple uploading of activities Debugging commands: strava --version : Show version information
This is a command-line client for the Strava service. Use strava with no arguments for help.
strava
This interface needs expanding! Submit issues with feature requests and I will look at adding them, I currently don't have any use cases for it.
If you have not already installed this software, the easiest way is to use cpanm and local::lib. If you don't have them installed, it's easy with:
curl -L http://cpanmin.us/ | perl - --self-upgrade ~/perl5/bin/cpanm -L ~/perl5 App::local::lib::helper source ~/perl5/bin/localenv-bashrc
You might want to put that last line in your ~/.bashrc file.
You can then install strava and related utilities with:
cpanm WebService::Strava3
You will need to register for a Client Secret + Access token here: https://www.strava.com/settings/api
Set the authorization callback domain to: http://127.0.0.1
You will need the following
client_id = xxxxx client_secret = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
You can get these values by going to https://www.strava.com/settings/api and registering your application. After registration simply run:
strava setup
Please submit any bugs, feature requests to https://github.com/techamn83/WebService-Strava3/issues .
Contributions are more than welcome!
WebService::Strava
Leon Wright < techman@cpan.org >
This software is copyright (c) 2014 by Leon Wright.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install WebService::Strava, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Strava
CPAN shell
perl -MCPAN -e shell install WebService::Strava
For more information on module installation, please visit the detailed CPAN module installation guide.