All URIs are relative to https://www.strava.com/api/v3
Method | HTTP request | Description |
---|---|---|
GetClubActivitiesById | Get /clubs/{id}/activities | List Club Activities |
GetClubAdminsById | Get /clubs/{id}/admins | List Club Administrators. |
GetClubById | Get /clubs/{id} | Get Club |
GetClubMembersById | Get /clubs/{id}/members | List Club Members |
GetLoggedInAthleteClubs | Get /athlete/clubs | List Athlete Clubs |
[]SummaryActivity GetClubActivitiesById(ctx, id, optional) List Club Activities
Retrieve recent activities from members of a specific club. The authenticated athlete must belong to the requested club in order to hit this endpoint. Pagination is supported. Athlete profile visibility is respected for all activities.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | The identifier of the club. | |
optional | *GetClubActivitiesByIdOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetClubActivitiesByIdOpts struct
Name | Type | Description | Notes |
---|
page | optional.Int32| Page number. | perPage | optional.Int32| Number of items per page. Defaults to 30. | [default to 30]
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]SummaryAthlete GetClubAdminsById(ctx, id, optional) List Club Administrators.
Returns a list of the administrators of a given club.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | The identifier of the club. | |
optional | *GetClubAdminsByIdOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetClubAdminsByIdOpts struct
Name | Type | Description | Notes |
---|
page | optional.Int32| Page number. | perPage | optional.Int32| Number of items per page. Defaults to 30. | [default to 30]
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DetailedClub GetClubById(ctx, id) Get Club
Returns a given club using its identifier.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | The identifier of the club. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]SummaryAthlete GetClubMembersById(ctx, id, optional) List Club Members
Returns a list of the athletes who are members of a given club.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | The identifier of the club. | |
optional | *GetClubMembersByIdOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetClubMembersByIdOpts struct
Name | Type | Description | Notes |
---|
page | optional.Int32| Page number. | perPage | optional.Int32| Number of items per page. Defaults to 30. | [default to 30]
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]SummaryClub GetLoggedInAthleteClubs(ctx, optional) List Athlete Clubs
Returns a list of the clubs whose membership includes the authenticated athlete.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *GetLoggedInAthleteClubsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetLoggedInAthleteClubsOpts struct
Name | Type | Description | Notes |
---|---|---|---|
page | optional.Int32 | Page number. | |
perPage | optional.Int32 | Number of items per page. Defaults to 30. | [default to 30] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]