cancel
Showing results for 
Search instead for 
Did you mean: 

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

shravan
Mt. Kenya

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.
IMG_780292A08063-1.jpeg

1 ACCEPTED SOLUTION

chuongtran
Shkhara

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 solution in original post

2 REPLIES 2

pjdevs
Mt. Kenya

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!

chuongtran
Shkhara

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.