dragosprotung/sport-tracker-connector

A set of tools to dump / upload / port workouts from different online sport trackers to another (ex endomondo.com, flow.polar.com, strava.com). Also provides helper classes for parsing sport data.

0.5.1 2015-07-03 20:59 UTC

This package is not auto-updated.

Last update: 2020-09-18 20:17:50 UTC


README

Overview

A set of tools to dump / upload / port workouts from / to online sport trackers.

Supported trackers:

  • endomondo.com
  • strava.com
  • flow.polar.com
  • strava.com

Build Status Latest Stable Version Dependency Status License Scrutinizer Code Quality SensioLabsInsight

Installation

Install PHP 5.4 or newer and composer.

git clone https://github.com/dragosprotung/SportTrackerConnector.git
composer.phar install

Configuration

Copy or rename config.example.yml to config.yml Make sure you fill up the values with your credentials. Some trackers (ex. strava.com) have more complex authentication mechanism. For that see help connector help for a list of specific tracker commands and help.

Example is strava.com: connector strava:get-token

Usage

You will need to create a config.yml file and put in your credentials for the services. You can rename and modify config.example.yml

Available commands for working with workouts:

  • dump:workout Fetch a workout from a tracker and save it to a file (gpx, json, etc).
  • dump:multi Fetch multiple workouts from a date interval with resume functionality.
  • upload:sync Copy a workout / multiple workouts from one tracker to another.
  • upload:workout Upload a workout file to a tracker.