The Hub is now in read-only mode as we make improvements to the Hub experience. More information is available here.
05-03-2023 02:53 AM - edited 05-03-2023 03:17 AM
According to the API docs, an app can only fetch information about the logged in athlete. It'd would be nice if there could be a way of reading the following athletes' activities. The same way, having a proper getClubActivitiesById would be helpful too (right now this method returns incomplete information, which can't be used to identify neither athletes or single activities, as there are no identifiers).
Right now, one can get this information both through Strava's mobile app, and web app, either through the user feed, or just going to the followed athletes one by one and looking at their latest activities. It would be nice if this could be replicated through the API (something like getAthleteActivitiesById, or returning SummaryActivity through getClubActivitiesById, instead of ClubActivity).
These features would be really helpful for apps that aren't athlete-focused, but club-focused. For example, given an app for clubs, which is built on top of Strava and managed by a club member, this app would want to include info. about all of the members' activities. Right now, this cannot be done unless all of the members enable the club app, which won't scale as people join or leave the club. Note that by club, we can be talking about not only athletes clubs, but brands, stores, companies...
09-25-2024 08:36 PM
+1 for this. Even having it be restricted to followed athletes would be a reasonable limitation.
05-03-2023 03:20 AM
Alternatively to enabling listing following athletes' activities, changing the model returned in getClubActivitiesById from ClubActivity to SummaryActivity, or something similar would be helpful. The second model is way more richer and would save us from heading to each athlete and requesting their activities.
05-03-2023 03:04 AM
In short, the question/feature request is about making calls like https://www.strava.com/activities/8977193675 available through the API. Can't see how this is not possible as long as the user has the activity on "public" view mode, or private but the user is followed by the logged in athlete.
Welcome to the Community - here is your guide to help you get started!