basvandorst / StravaPHP

Strava API REST client with OAuth authentication
MIT License
184 stars 67 forks source link

getSegmentLeaderboard not working #91

Closed daankortenbach closed 1 year ago

daankortenbach commented 2 years ago

[SERVICE] Client error: GET https://www.strava.com/api/v3/segments/4420112/leaderboard?access_token=addtokenhere resulted in a 403 Forbidden response: {"message":"Forbidden","errors":[]}

Wasted much time on this only to find out this isn't supported at all by Strava since 2 years ago! https://developers.strava.com/docs/segment-changes/

daankortenbach commented 2 years ago

Hello?

MGatner commented 2 years ago

Hi 👋

daankortenbach commented 2 years ago

Is there any way around this? Assembling data to create a leaderboard?

MGatner commented 2 years ago

That doc you linked has the new endpoints and requires permissions. I wouldn't expect this SDK to adapt to those (unless you want to submit a PR yourself).

github-actions[bot] commented 1 year ago

Stale issue message