cancel
Showing results for 
Search instead for 
Did you mean: 

ClubAthlete does not include Athlete ID

paleloser
Pico de Orizaba

This model won't include any athlete identifier, which makes the information a bit useless in the end. Since APIs are made for machines, and machines identify entities differences between IDs, not having them on the returned models make them invaluable.

It would be nice if ClubAthlete had the athlete ID included within its definition. This way, apps for clubs, built on top of the Strava API, can easily map and identify the athletes. Otherwise this is impossible, as there's no other way of identifying athletes related somehow to another one who granted access to the app.

2 REPLIES 2

GraceCodes
Mt. Kenya

@paleloser did you get a satisfactory solution to this? I'm pulling from the get_club_activities_by_id API and not getting any information to know which activity belongs to which athlete which I think was your issue? 

The (terrible) documentation suggests that the result should include the MetaAthlete property, but it is coming back as None for all records. I don't see how this is in any way useful, unless I'm doing something wrong which is entirely possible given how poor the documentation is.

paleloser
Pico de Orizaba

Note that currently ClubActivity (returned through /clubs/{id}/activities) already includes the MetaAthlete, which is the Athlete ID in fact. So I guess it shouldn't be much trouble including this as well in ClubAthlete.