The Hub is now in read-only mode as we make improvements to the Hub experience. More information is available here.
01-31-2024 01:55 AM
I would like a faster method of querying a detailed representation for a list of Strava activities. I can make a single query via:
/activities/{id}
However, I have 1000 activities and need to make a seperate call for each acitivity id. And this takes too long.
It would be nice to be able to query on a list of activity ids. Is this possible?
Side note: The same question was stated nicely on another forum. I did not write it, but will link for clarity.
Solved! Go to Solution.
01-31-2024 06:07 AM
Depending on which data you need from the activity, getLoggedInAthleteActivities returns a good amount of data and can give you up to 200 activities at a time. It isn't the full detailed representation but has most of the key top-level data like distance, speed, time, etc...
Otherwise at the moment the only option is what you said with retrieving each activity individually.
01-31-2024 06:07 AM
Depending on which data you need from the activity, getLoggedInAthleteActivities returns a good amount of data and can give you up to 200 activities at a time. It isn't the full detailed representation but has most of the key top-level data like distance, speed, time, etc...
Otherwise at the moment the only option is what you said with retrieving each activity individually.
01-31-2024 06:18 AM
@ActivityFix I'm looking to get segment_efforts and their rank data, which are not part of the general activities output 😕
Welcome to the Community - here is your guide to help you get started!