The Hub is now in read-only mode as we make improvements to the Hub experience. More information is available here.
06-01-2023 03:43 PM - last edited on 07-06-2023 04:56 PM by LouB
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
06-09-2023 10:20 AM
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 !
06-07-2023 06:35 AM
As you can get 200 activities at once I fail to see the big deal in getting unwanted activities with them.
06-06-2023 02:46 PM
I dont think there's such param rn, I would just download all activities and filter locally by type or sport_type
06-07-2023 01:09 AM
That's already what I'm doing.
But it would be nice to prevent getting activities that I don't use at all.
Welcome to the Community - here is your guide to help you get started!