I need to be able to access the routes, to later search for the GPX of each Athlete associated with my club, and thus be able to recover all the statistics to consolidate
name, date, hour, local, km, gpx
The api I'm using is: GET https://www.strava.com/api/v3/athletes/:athleteId/routes?page=1&per_page=200 but I get Forbidden
Is there any way to search for the information of the athletes associated with my club?
AFAIK, currently there's no way for doing this. I've opened several threads to try find ways of making this work but had no response:
Here I requested adding an endpoint to the API so a logged in user could fetch the activities of the athletes he/she is following:
And here I propose adding the Athlete ID to the club activities. This way, as a member of a club you would be able to list the activities for your club and therefore correlate them to their athletes:
The only solution we've find for this so far is having all athletes granting access to your app. Then you can either listen to the webhooks or poll periodically for activities. But IMHO this is the worst user experience for a lot of scenarios.
Welcome to the Community - here is your guide to help you get started!