Connectors / Service / Strava

Strava fitness app (updated: 1657717066963)

Strava

Strava is a social fitness network, that is primarily used to track cycling and running exercises, using GPS data.

Overview

The Strava connector on Tray allows you to interact with the data in your Strava account in any way you choose. The majority of the API is currently supported on Tray.

Authentication

Before being able to use the Strava connector, authentication will need to be created. To do so, add the Strava connector to the workflow and hit the New Authentication button found in the input panel.

The next windows provides you the opportunity to name the authentication as well as displaying the scopes that will be requested. Once you have named the authentication and choosen the scope are ticked, press the Add authentication button.

strava-auth-button

Example 1 - Get authenticated athlete

This example will walkthrough how to get information of the authenticated athlete. The first step is to add the Strava connector to the workflow.

To use this operation, select the Get authenticated athlete operation in the input panel. Information about the authenticated athelete will be returned.

get-user

Below you can see that the workflow ran successfully and the authenticated user's information is returned.

output-user

Example 2 - Get club

This example will walkthrough how to get information of a club with a club ID. The first step is to add the Strava connector to the workflow.

The ID of the club we want to query needs to be provided. To find this ID, get authenticated athlete operation can be used. This will return data about the club for the given ID.

To use this operation, select the Get club operation in the input panel.

get-club

All Operations

Latest version:

2.0

Get activity

Retrieves an activity by id.

Create activity

Create an activity.

Get authenticated athlete

Retrieves the currently logged in athlete.

Get club

Retrieves a club with a given ID.

Get equipment

Retrieves an equipment using ID.

Get running race

Retrieves a running race with a given race ID.

Get segment

Retrieves a segment with a given ID.

List activity comments

Retrieves a list of comments for a given activity.

List activity kudos

Retrieves a list of kudos for a given activity.

List club activities

Retrieves a list of activities of a given club.

List activity laps

Retrieves a list of laps for a given activity.

List athlete activities

Retrieves the currently logged in athlete's activities.

List athlete clubs

Retrieves a list of athlete's clubs.

List athlete stats

Retrieves a list of athlete's stats.

List athlete zones

Retrieves the authenticated athlete's heart rate and power zones.

List club admins

Retrieves a list of club administrators for given club.

List club members

Retrieves a list of club members for given club.

List running races

Retrieves a list of running races.

List segment efforts

Retrieves a list of athletes efforts for a given segment.

List segment leaders

Retrieves the leaderboard of a specific segment.

List starred segments

Retrieves a list of running races.

List top segments

Retrieves the top 10 segments matching the filters.

Update activity

Update an activity.

Update athlete

Update the currently logged in athlete's weight.