strava
strava copied to clipboard
Elixir wrapper for the Strava API (v3)
Missing, seemingly undocumented, API
We were overriding the original Tesla.env with the response from the failed request. The failed request already had a status (401) and a body (json containing Authorization Error). This change...
This PR fixes JSON parsing bug when using `oauth2` lib version 2.0.
`Strava.Auth.get_athlete!/1` should return a `Strava.SummaryAthlete` struct, not a `Strava.DetailedAthlete` as described in the Strava authentication [Token Exchange](https://developers.strava.com/docs/authentication/) docs.
In the [Strava V3 API Changelog](https://developers.strava.com/docs/changelog/) the following change has been made to remove the email field. > January 17, 2019 > Removed email from athlete summary and athlete detail....