-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strava Checkout importer needs to set strava-last-activity-date.json #128
Comments
I've just tried it with a new Strava account that I've set up, it stops after the last activity. But I've done a bunch of changes to the code now, so I might have accidentally fixed it. Could you please test with 0.25.0 and see whether it is better? |
I just tested it with 0.26.2. It is still not working. Might be the same issue as #140 |
Do you think it is possible to tell the API to only import activities aftter a certain date (e.g. date of strava bulk export)? |
Before version 0.24 the logic was that the Strava API would be queried for activities that are later than the latest activity that was registered from any source. When I changed it into a two-step process, the Strava API importer keeps track of the latest activity that it has gotten. But the Strava Checkout Importer does not set this field and therefore the Strava API isn't aware. It will still download the detailed metadata and perhaps also the time series, burning one or two API calls per activity. I just need to let the bulk importer write into that one file that the Strava API Importer looks at. Then the Strava API Importer can continue from after the latest Strava activity (be that from the Checkout Importer or API Importer). |
I now write the necessary file. This should be fixed in the next version. |
After updating to Version 0.24.0 the program tries to fetch new activities even though there are no new activities on strava. It tries until the API rate limit is reached.
After going back to 0.23.0 the acces to the Strava API works.
The text was updated successfully, but these errors were encountered: