Answer the question
In order to leave comments, you need to log in
What is the correct way to formulate an API request in Strava?
Explain to the stupid how to make an API request correctly? I need to get the number of kilometers driven this year. Here is what is written in the documentation (for some reason, the link does not lead to this section, on the left is the All Models column):
ytd_ride_totals
ActivityTotal
The year to date ride stats for the athlete. https://www.strava.com/api/v3/athlete?access_token=MY_ACCESS_TOKEN
Answer the question
In order to leave comments, you need to log in
ytd_ride_totals can be obtained via a GET request like this:
https://www.strava.com/api/v3/athletes/[ID Пользователя]/stats?access_token=MY_ACCESS_TOKEN
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question