NAME
strava - strava - Command line interface to Strava
VERSION
version 0.06
SYNOPSIS
Usage:
strava --setup : Configure Oauth2 authentication
strava --upload /path/to/file.gpx : Simple uploading of activities
Debugging commands:
strava --version : Show version information
DESCRIPTION
This is a command-line client for the Strava service. Use strava
with no arguments for help.
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.
SETUP
Installation
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
API Registration
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
Configuration
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
BUGS/Features Requests
Please submit any bugs, feature requests to https://github.com/techamn83/WebService-Strava3/issues .
Contributions are more than welcome!
SEE ALSO
AUTHOR
Leon Wright < techman@cpan.org >
COPYRIGHT AND LICENSE
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.