Skip to content

Latest commit

 

History

History
73 lines (45 loc) · 2.27 KB

RunningRacesApi.md

File metadata and controls

73 lines (45 loc) · 2.27 KB

\RunningRacesApi

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

Method HTTP request Description
GetRunningRaceById Get /running_races/{id} Get Running Race
GetRunningRaces Get /running_races List Running Races

GetRunningRaceById

RunningRace GetRunningRaceById(ctx, id) Get Running Race

Returns a running race for a given identifier.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id int32 The identifier of the running race.

Return type

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]

GetRunningRaces

[]RunningRace GetRunningRaces(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 for authentication, logging, cancellation, deadlines, tracing, etc.
optional *GetRunningRacesOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GetRunningRacesOpts struct

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

Return type

[]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]