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 |
RunningRace GetRunningRaceById(ctx, id) Get Running Race
Returns a running race for a given identifier.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | The identifier of the running race. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]RunningRace GetRunningRaces(ctx, optional) List Running Races
Returns a list running races based on a set of search criteria.
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 are passed through a pointer to a GetRunningRacesOpts struct
Name | Type | Description | Notes |
---|---|---|---|
year | optional.Int32 | Filters the list by a given year. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]