Questions tagged [strava]

Strava tag should be used with questions related to strava api integrations

Strava connect millions of runners and cyclists through the sports they love.

The Strava V3 API is a publicly available interface that allows developers to access Strava data.

Links:

131 questions
2
votes
2 answers

Get Strava Activity polyline altitude

I am using the Get Activity ById endpoint from the Strava API whcih returns a ActivityDetail object. I can decode the polyline but it only returns the lat and lng values for each vertex. I decode using: import polyline from…
TResponse
  • 3,940
  • 7
  • 43
  • 63
2
votes
0 answers

Using Django to create Strava Webhook subscription

I am trying to create a Strava webhook subscription to recieve events from users who have authorised my Strava application. I was able to successfully create a subscription using the code in this Strava tutorial. However, I don't understand…
Misc584
  • 357
  • 3
  • 16
2
votes
1 answer

Strava API v3 - 'GET all athlete activities' - how can I calculate the' before' and 'after' for a certain point in time?

I am writing a java program to fetch all of my activities from the 01/01/2020 until the current date. My problem is that Strava requires an integer, as you can see in the picture below, for the 'before' and 'after' part of the request. Since no…
Heinemann
  • 35
  • 5
2
votes
1 answer

How to deserialise anonymous array of mixed types with Jackson

In my Java program, I am trying to parse data that I get from Strava.com's API. One of the JSON payloads, I receive from there looks as follows: [ {"type": "altitude","data": [519.1,519.3,519.3,519.4,519.5],"series_type":…
Urs Beeli
  • 746
  • 1
  • 13
  • 30
2
votes
3 answers

How to access authentication by Strava API using Python?

I am starting a small python script (not an application) that can upload my *.fit activity files on Strava whenever they are created in a desired folder. The main steps I plan to do are: 1. monitor *.fit file system modifications 2. access…
livemyaerodream
  • 890
  • 6
  • 19
2
votes
0 answers

Even if client id is correct its giving invalid client_id message in authorize callback

Issue I am using this library to do OAuth with Strava. It works fine till redirecting a user to the authentication page of Strava but the issue comes once the user approves the application. In error, it says that client_id is invalid but actually it…
Bhaskar Dabhi
  • 841
  • 1
  • 11
  • 28
2
votes
0 answers

How to upload a run to a Strava athlete's profile using Alamofire

I'm trying to add functionality into an app that would allow a user to upload runs to their Strava profile. Currently the runs are stored in the Documents directory of the app as gpx files, and although I know how to access them, I'm having trouble…
Izak
  • 21
  • 3
2
votes
1 answer

Strava "Problem with Authorization Callback Domain"

I have a problem when i try to connect to strava.I don't know what to put in the Authorization Callback Domain.I put localhost or 127.0.0.1 When i run the app i got the following error Here is the code: public class MainActivity extends…
Alex
  • 1,816
  • 5
  • 23
  • 39
2
votes
0 answers

Do test strava accounts exist?

I'm building a website which allows users to connect with Strava and sync their 'run' activities but to test things I could really do with some test strava accounts which have lots of activities on them! My own Strava account is pretty sparsly…
the_lar
  • 63
  • 9
2
votes
1 answer

open url function not called in AppDelegate when trying to grab token from oauth url

I'm trying to implement an OAuth flow on iOS - Swift 3, in order to query a REST API (Strava). I do this in my VC handling the auth flow: @IBAction func tappedStartAuth(_ sender: Any) { let authUrlStr =…
ezmegy
  • 605
  • 6
  • 17
1
vote
1 answer

Strava API returns null as first value of powerstream - Swift

When trying to use the Strava API with wattages per second I keep running into the problem of the first value always being null instead of a number. struct streamsElement: Decodable { struct Stream: Decodable { let data: [Double]? …
Lucas
  • 23
  • 3
1
vote
0 answers

Add more attribute to available API request with Strava (running app)

I am using add-in API connector in Chrome to request a connection with my Strava account (a running app). My point is to automatically update any new activity of my club members, then show up on a google_sheet link for recording and…
1
vote
1 answer

How to Export Strava Club activities to an excel?

How to Export Strava Club activities (for all Club members) to excel? Options are available for exporting self data but not Participant data for a Strava Club.
da_elixir
  • 11
  • 2
1
vote
1 answer

Strava API - get photos from an activity

I am trying to get Photos from Strava with https://www.strava.com/api/v3/activities/${activityId}/photos?access_token=${res.access_token}`, but there are only thumbnail of these photos. Is there a way to get the full resolution photos somehow?
1
vote
0 answers

Strava API 401 Unauthorized

I'm trying to develop my first java Spring Boot app that calls Strava API and gets my activities for the given period of time. I've registered my app on Strava's website and got client_id and client secret. I've generated…
Anna Bar
  • 31
  • 5
1
2
3
8 9