flopp / GpxTrackPoster

Create a visually appealing poster from your GPX tracks
MIT License
412 stars 50 forks source link

Add Strava Import #44

Closed flopp closed 3 years ago

flopp commented 4 years ago

Add a Strava import function (via stravalib). It may be enough to fetch the activities overview which contains the actual activity tracks as stripped down "summary polylines".

yihong0618 commented 3 years ago

@flopp Can I take a pr for this?

implementation:

  1. add the configuration option strava_config.py to read client_id, client_secret
  2. add a description of how to get a token (I suggest a refresh token)
  3. add option --from-strava to cli.py
  4. special run, can use strava id
  5. The cache remains the same(maybe add strava id?).
  6. Read from strava without multiple processes

Do you have any suggestions?

flopp commented 3 years ago

Sounds great. Go ahead if you want to ...