Coder Social home page Coder Social logo

vangent / stravacli Goto Github PK

View Code? Open in Web Editor NEW
12.0 2.0 1.0 118 KB

A CLI for updating Strava activities in bulk, uploading manual activities in bulk, and more.

License: MIT License

Go 100.00%
strava strava-api strava-oauth stravaapi strava-data

stravacli's People

Contributors

vangent avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ejectck

stravacli's Issues

update and manualupload should be resumable

I.e., if they succeed on a bunch of rows and then fail, they should abort, allow the user to fix whatever the problem was, and then be re-runnable without try to re-apply whatever changes were already made.

failed ListActivities call (page 601, per page 25)

Getting this, when trying to fetch this years activities by running:
~/go/bin/stravacli download --access_token=xxx --out=orig.csv --debug --after=2019-01-01 --max=599 --before 2019-12-20

25 activities so far, fetching next 25...
50 activities so far, fetching next 25...
75 activities so far, fetching next 25...
snip
475 activities so far, fetching next 25...
500 activities so far, fetching next 25...
519 activities so far, fetching next 25...
519 activities so far, fetching next 25...
519 activities so far, fetching next 25...
519 activities so far, fetching next 25...
519 activities so far, fetching next 25...
snip
507 activities so far, fetching next 25...
507 activities so far, fetching next 25...
507 activities so far, fetching next 25...
failed ListActivities call (page 601, per page 25)

If I do only before like this:
~/go/bin/stravacli download --access_token=xxxx --out=orig.csv --debug --before=2019-12-20 --max=599
Then it works fine

failed ListActivities call (page 1, per page 25)

It seems that no matter what flags you use when invoking the download command, you get the same error. Using the --debug flag didn't give me any additional info to share.

stravacli download --access_token=xxx --out=orig.csv
failed ListActivities call (page 1, per page 25)

This has worked for me in the past so I'm wondering if something in the API has changed? At least the year in sport 2022 now requires an active subscription.

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.