Git Product home page Git Product logo

strava's Introduction

Strava

scr folder contains a file Strava_Batch_Export_tcx_gpx.js:

Bulk / batch download / export all Strava activities as tcx (or gpx or original (fit for example)). File can then be imported into Garmin Connect.

To export as gpx instead of tcx change /export_tcx to /export_gpx (line 29/36) and change file extension (line 27) To export as original instead of tcx change /export_tcx to /export_original (line 29/36) and change file extension (line 27)

// 1. Go to https://www.strava.com/athlete/training // 2. Open the Chrome developer console // 3. Paste into the console the code from // https://github.com/eligrey/FileSaver.js/blob/master/src/FileSaver.js (copy saved in this repo in case in case other repo goes down). // 4. Paste the two functions below into the console // 5. Type run getAllActivities()

This loops through all pages and downloads all activities There is a 3 second delay after each page.

Strava has some rate limits and stops returning data after aground 1500 requests. Wait for a few hours and continue (change p to page where it stopped)

strava's People

Contributors

ronymeyer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.