cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

The Hub is now in read-only mode as we make improvements to the Hub experience. More information is available here.

API : filter athlete activity by type

clemissile
Shkhara

Hi everyone,

I’m working on a little dashboard to do some stats on my « bicycle to work » activities (i.e. global distance, fuel not used, etc) and I was wondering if there is a way to add a parameter to the getLoggedInAthleteActivities request so it only returns activities matching a specific type.

In my case it would by only cycling activities for example since I don’t use running or yoga activities to do my stats.

Thanks for your replies

4 REPLIES 4

clemissile
Shkhara

Since it's not seem to be possible to filter activities by type for the moment, I created an idea request here

You can upvote it if you too this feature would help you !

Jan_Mantau
Superuser
Superuser

As you can get 200 activities at once I fail to see the big deal in getting unwanted activities with them.

julinvictus
Mt. Kenya

I dont think there's such param rn, I would just download all activities and filter locally by type or sport_type

That's already what I'm doing.

But it would be nice to prevent getting activities that I don't use at all.