Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strava API Integration #47

Open
sidelkins opened this issue Mar 26, 2024 · 4 comments
Open

Strava API Integration #47

sidelkins opened this issue Mar 26, 2024 · 4 comments
Labels
external integration help wanted Extra attention is needed

Comments

@sidelkins
Copy link

Would be awesome to be able to connect to the Strava API to sync my workouts from there. Other workout apps would be awesome too. Loving the project so far!

@jovandeginste jovandeginste added the help wanted Extra attention is needed label Mar 26, 2024
@jovandeginste
Copy link
Owner

This seems easy to add: https://developers.strava.com/docs/reference/#api-Routes-getRouteAsGPX

I don't have a Strava account myself, so may take a while until I get to do this myself...

@jovandeginste
Copy link
Owner

So I bit the bullet, created an account, uploaded some GPX files, registered a "API application"; now I can fetch my own information (/api/v3/athlete endpoint), but anything else seems to give Authorization Error; eg.:

GET /api/v3/athlete/activities

{
  "message": "Authorization Error",
  "errors": [
    {
      "resource": "AccessToken",
      "field": "activity:read_permission",
      "code": "missing"
    }
  ]
}

@jovandeginste
Copy link
Owner

Basically, I need to implement the full OAuth workflow; not gonna be ready tomorrow :)

@Dieterbe
Copy link

strava has new T&C on their api, preventing any app doing analysis on data pulled from their api. see https://communityhub.strava.com/developers-api-7/api-agreement-update-how-data-appears-on-3rd-party-apps-7636

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external integration help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants