Skip to main content
Solved

Filter club activities by date


Forum|alt.badge.img+2
Hello, I'm using the getClubActivities endpoint to keep a tally of individual rides in my club. I would like to limit the response to a certain date, or at least to a certain week (i.e. this week). Is there a way to do this? Getting the date of the activity in the API Response would be enough. 
 
Lastly, I couldn't find info on the units for the time and distance that is returned by the endpoint. I assume it's seconds for time, but not sure for distance. 
 
Any help is appreciated.

Best answer by Elliott11

Hello 👋

At this time there is not a way to limit the response to a certain period of time. We have made note of this feature request for that endpoint. 

The units for time and distance returned are seconds and meters respectively. Hope this helps! 

View original
Did this topic help you find an answer to your question?

Forum|alt.badge.img+20
  • Community Manager
  • December 22, 2022

Hello 👋

At this time there is not a way to limit the response to a certain period of time. We have made note of this feature request for that endpoint. 

The units for time and distance returned are seconds and meters respectively. Hope this helps! 


Forum|alt.badge.img+4
  • Hub Rookie
  • May 8, 2023

Please look into this ASAP - the data currently returned is so limited that it's not useful.  Also, you shouldn't mark these requests as solved when they are not...


Forum|alt.badge.img+2

they won't. looks like this ticket is long forgotten by strava product managers. we have to find a workaround 😉 😉


Forum|alt.badge.img+3
  • Hub Rookie
  • July 21, 2023

Do you have any idea for a workaround? Did you have a play with it? On first check I do not even think the returned array is sorted by date/time, which makes it super hard to find out whether an activity belongs to a certain date or not


Forum|alt.badge.img+2
  • Hub Starter
  • January 6, 2024

Hi Elliott,

It has been more than a year now, any update on this feature, are you guys going to implement it ? TBH, I think this is such a small but very useful change. Even better to return activity ids.

thanks


Forum|alt.badge.img+1

The activity timestamp is critical to actually using the API.
It would also be appropriate to return a unique id of the club user.


Forum|alt.badge.img+1
  • Hub Starter
  • June 7, 2024

I'd also appreciate this feature. Ability to limit the request to certain timestamps would probably also be beneficial on your end as it would limit the data scanned 🙂 


Forum|alt.badge.img+1

Bump, would be great to have date/activity/athlete id in the ClubActivity object


  • Hub Starter
  • October 2, 2024

Hi Elliott, is there any update on this issue? I also need to know on what date an activity has taken place. 


Forum|alt.badge.img
  • Hub Starter
  • December 19, 2024

The data is essentially useless for any club award tracking / competitions. Can we please get a datestamp in the very least?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept, you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings