Skip to content

Latest commit

 

History

History
73 lines (45 loc) · 2.29 KB

RunningRacesApi.md

File metadata and controls

73 lines (45 loc) · 2.29 KB

\RunningRacesApi

All URIs are relative to https://www.strava.com/api/v3

Method HTTP request Description
get_running_race_by_id Get /running_races/{id} Get Running Race
get_running_races Get /running_races List Running Races

get_running_race_by_id

::models::RunningRace get_running_race_by_id(ctx, id) Get Running Race

Returns a running race for a given identifier.

Required Parameters

Name Type Description Notes
ctx context.Context context containing the authentication nil if no authentication
id i32 The identifier of the running race.

Return type

::models::RunningRace

Authorization

strava_oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_running_races

Vec<::models::RunningRace> get_running_races(ctx, optional) List Running Races

Returns a list running races based on a set of search criteria.

Required Parameters

Name Type Description Notes
ctx context.Context context containing the authentication nil if no authentication
optional map[string]interface{} optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a map[string]interface{}.

Name Type Description Notes
year i32 Filters the list by a given year.

Return type

Vec<::models::RunningRace>

Authorization

strava_oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]