GPX-Googlefit
a Sails application that imports GPX files to GoogleFit. By no means complete, but will allow one to take a workout exported to GPX, and drag/drop for import to Google Fit.
npm install
- (
npm install -g bower
if you don't have it) bower install
- add your Google oauth creds to
config/env/development.js
or production sails lift
or you can run a script like./scripts/debug.sh
- navigate to
http://localhost:1337
- authorize the application to use your google account
- drag/drop your
gpx
files at will
###I only have .tcx
files.
I had the same problem...
./gpsbabel/src/batch.sh
- follow the prompts
you can read more about the gpsbabel helper in the gpsbabel/README file.
#TODOs
- better calculation for calories
- implement heartrate from
tcx
files - Pull back data and map it:
from the api playground
https://www.googleapis.com/fitness/v1/users/me/dataSources/derived:com.google.location.sample:2629a0d9:ericmcconkie:web:f8ce354a:com.ericmcconkie.fitimporter/datasets/1479140470000000000-1479146126000000000
returns list of location points