The Hub is now in read-only mode as we make improvements to the Hub experience. More information is available here.
06-12-2024 03:52 PM
Reading the API docs, Under 'All Models' you have listed 'ActivityTotal’ with a ‘count’ parameter
https://developers.strava.com/docs/reference/#api-models-ActivityTotal
While I know I can do this by calling https://www.strava.com/api/v3/athlete/activities. The problem there is that I would have to paginate to get all the responses which in my case takes a long time.
So if there is a way to just get the total number of activities in the account by a count of ActivityTotal then that would be a big help.
06-13-2024 04:12 AM
You could use the endpoint /athletes/{id}/stats but you will only get counts for rides, runs and swims.
Welcome to the Community - here is your guide to help you get started!