Skip to content

steve-kasica/strava-data-sheets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Strava Data Sheets

This Google Apps Script (GAS) project creates a data repo for your personal activity data on Strava in a Google Sheet. When up and running, it polls Strava via its activity API and copies a subset of the data as rows in a spreadsheet. I use this code to export some of my Strava data to visualize it in Observable notebooks.

Replication

Replicating this data repo with your own Strava data currently requires you to create your own application with this code. See the Initial Setup walkthrough in the wiki for details.

Project Structure

Each of these files is concatenated into Code.gs for easy replication. I've excluded tests for this code in tests.gs from this production code.

  • Activity_.gs: A class for representing Strava activities in tabular form.
  • Date.gs: Additional methods for JavaScripts Date object
  • Main.gs: High-level routines to execute
  • Strava.gs: A high-level library for interacting with Strava's API