Skip to main content
Solved

Best way to fetch best effort for an athelete using Strava APIs.


Forum|alt.badge.img+2

I am developing a dashboard app and need to determine the best effort for an athlete over a 1-mile distance. Is there a quick and efficient method to obtain this information?

I want this information via API.

Best answer by chuongtran

hi @shravan 
I guess that using API get List Segment Efforts and filter to got your purpose
API from document here https://developers.strava.com/docs/reference/#api-SegmentEfforts-getEffortsBySegmentId

Hope this solves your problem.

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

2 replies

Forum|alt.badge.img+4
  • Hub Rookie
  • 2 replies
  • Answer
  • July 31, 2024

hi @shravan 
I guess that using API get List Segment Efforts and filter to got your purpose
API from document here https://developers.strava.com/docs/reference/#api-SegmentEfforts-getEffortsBySegmentId

Hope this solves your problem.


Forum|alt.badge.img+1
  • Hub Starter
  • 1 reply
  • August 30, 2024

Hey!

I saw you accepted the answer of @chuongtran. I'm also currently tying to retrieve my PRs/All Time Best Efforts, but it seems that this https://developers.strava.com/docs/reference/#api-SegmentEfforts-getEffortsBySegmentId only give you efforts on segments. So how did you manage to get the stats in the Best Effort section of your screenshot?

Thanks!


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