package
1.0.0
Repository: https://github.com/obalunenko/strava-api.git
Documentation: pkg.go.dev

# Functions

New creates a new activities API client.
New creates a new activities API client with basic auth credentials.
New creates a new activities API client with a bearer token for authentication.
NewCreateActivityCreated creates a CreateActivityCreated with default headers values.
NewCreateActivityDefault creates a CreateActivityDefault with default headers values.
NewCreateActivityParams creates a new CreateActivityParams object, with the default timeout for this client.
NewCreateActivityParamsWithContext creates a new CreateActivityParams object with the ability to set a context for a request.
NewCreateActivityParamsWithHTTPClient creates a new CreateActivityParams object with the ability to set a custom HTTPClient for a request.
NewCreateActivityParamsWithTimeout creates a new CreateActivityParams object with the ability to set a timeout on a request.
NewGetActivityByIDDefault creates a GetActivityByIDDefault with default headers values.
NewGetActivityByIDOK creates a GetActivityByIDOK with default headers values.
NewGetActivityByIDParams creates a new GetActivityByIDParams object, with the default timeout for this client.
NewGetActivityByIDParamsWithContext creates a new GetActivityByIDParams object with the ability to set a context for a request.
NewGetActivityByIDParamsWithHTTPClient creates a new GetActivityByIDParams object with the ability to set a custom HTTPClient for a request.
NewGetActivityByIDParamsWithTimeout creates a new GetActivityByIDParams object with the ability to set a timeout on a request.
NewGetCommentsByActivityIDDefault creates a GetCommentsByActivityIDDefault with default headers values.
NewGetCommentsByActivityIDOK creates a GetCommentsByActivityIDOK with default headers values.
NewGetCommentsByActivityIDParams creates a new GetCommentsByActivityIDParams object, with the default timeout for this client.
NewGetCommentsByActivityIDParamsWithContext creates a new GetCommentsByActivityIDParams object with the ability to set a context for a request.
NewGetCommentsByActivityIDParamsWithHTTPClient creates a new GetCommentsByActivityIDParams object with the ability to set a custom HTTPClient for a request.
NewGetCommentsByActivityIDParamsWithTimeout creates a new GetCommentsByActivityIDParams object with the ability to set a timeout on a request.
NewGetKudoersByActivityIDDefault creates a GetKudoersByActivityIDDefault with default headers values.
NewGetKudoersByActivityIDOK creates a GetKudoersByActivityIDOK with default headers values.
NewGetKudoersByActivityIDParams creates a new GetKudoersByActivityIDParams object, with the default timeout for this client.
NewGetKudoersByActivityIDParamsWithContext creates a new GetKudoersByActivityIDParams object with the ability to set a context for a request.
NewGetKudoersByActivityIDParamsWithHTTPClient creates a new GetKudoersByActivityIDParams object with the ability to set a custom HTTPClient for a request.
NewGetKudoersByActivityIDParamsWithTimeout creates a new GetKudoersByActivityIDParams object with the ability to set a timeout on a request.
NewGetLapsByActivityIDDefault creates a GetLapsByActivityIDDefault with default headers values.
NewGetLapsByActivityIDOK creates a GetLapsByActivityIDOK with default headers values.
NewGetLapsByActivityIDParams creates a new GetLapsByActivityIDParams object, with the default timeout for this client.
NewGetLapsByActivityIDParamsWithContext creates a new GetLapsByActivityIDParams object with the ability to set a context for a request.
NewGetLapsByActivityIDParamsWithHTTPClient creates a new GetLapsByActivityIDParams object with the ability to set a custom HTTPClient for a request.
NewGetLapsByActivityIDParamsWithTimeout creates a new GetLapsByActivityIDParams object with the ability to set a timeout on a request.
NewGetLoggedInAthleteActivitiesDefault creates a GetLoggedInAthleteActivitiesDefault with default headers values.
NewGetLoggedInAthleteActivitiesOK creates a GetLoggedInAthleteActivitiesOK with default headers values.
NewGetLoggedInAthleteActivitiesParams creates a new GetLoggedInAthleteActivitiesParams object, with the default timeout for this client.
NewGetLoggedInAthleteActivitiesParamsWithContext creates a new GetLoggedInAthleteActivitiesParams object with the ability to set a context for a request.
NewGetLoggedInAthleteActivitiesParamsWithHTTPClient creates a new GetLoggedInAthleteActivitiesParams object with the ability to set a custom HTTPClient for a request.
NewGetLoggedInAthleteActivitiesParamsWithTimeout creates a new GetLoggedInAthleteActivitiesParams object with the ability to set a timeout on a request.
NewGetZonesByActivityIDDefault creates a GetZonesByActivityIDDefault with default headers values.
NewGetZonesByActivityIDOK creates a GetZonesByActivityIDOK with default headers values.
NewGetZonesByActivityIDParams creates a new GetZonesByActivityIDParams object, with the default timeout for this client.
NewGetZonesByActivityIDParamsWithContext creates a new GetZonesByActivityIDParams object with the ability to set a context for a request.
NewGetZonesByActivityIDParamsWithHTTPClient creates a new GetZonesByActivityIDParams object with the ability to set a custom HTTPClient for a request.
NewGetZonesByActivityIDParamsWithTimeout creates a new GetZonesByActivityIDParams object with the ability to set a timeout on a request.
NewUpdateActivityByIDDefault creates a UpdateActivityByIDDefault with default headers values.
NewUpdateActivityByIDOK creates a UpdateActivityByIDOK with default headers values.
NewUpdateActivityByIDParams creates a new UpdateActivityByIDParams object, with the default timeout for this client.
NewUpdateActivityByIDParamsWithContext creates a new UpdateActivityByIDParams object with the ability to set a context for a request.
NewUpdateActivityByIDParamsWithHTTPClient creates a new UpdateActivityByIDParams object with the ability to set a custom HTTPClient for a request.
NewUpdateActivityByIDParamsWithTimeout creates a new UpdateActivityByIDParams object with the ability to set a timeout on a request.

# Structs

Client for activities API */.
CreateActivityCreated describes a response with status code 201, with default header values.
CreateActivityDefault describes a response with status code -1, with default header values.
CreateActivityParams contains all the parameters to send to the API endpoint for the create activity operation.
CreateActivityReader is a Reader for the CreateActivity structure.
GetActivityByIDDefault describes a response with status code -1, with default header values.
GetActivityByIDOK describes a response with status code 200, with default header values.
GetActivityByIDParams contains all the parameters to send to the API endpoint for the get activity by Id operation.
GetActivityByIDReader is a Reader for the GetActivityByID structure.
GetCommentsByActivityIDDefault describes a response with status code -1, with default header values.
GetCommentsByActivityIDOK describes a response with status code 200, with default header values.
GetCommentsByActivityIDParams contains all the parameters to send to the API endpoint for the get comments by activity Id operation.
GetCommentsByActivityIDReader is a Reader for the GetCommentsByActivityID structure.
GetKudoersByActivityIDDefault describes a response with status code -1, with default header values.
GetKudoersByActivityIDOK describes a response with status code 200, with default header values.
GetKudoersByActivityIDParams contains all the parameters to send to the API endpoint for the get kudoers by activity Id operation.
GetKudoersByActivityIDReader is a Reader for the GetKudoersByActivityID structure.
GetLapsByActivityIDDefault describes a response with status code -1, with default header values.
GetLapsByActivityIDOK describes a response with status code 200, with default header values.
GetLapsByActivityIDParams contains all the parameters to send to the API endpoint for the get laps by activity Id operation.
GetLapsByActivityIDReader is a Reader for the GetLapsByActivityID structure.
GetLoggedInAthleteActivitiesDefault describes a response with status code -1, with default header values.
GetLoggedInAthleteActivitiesOK describes a response with status code 200, with default header values.
GetLoggedInAthleteActivitiesParams contains all the parameters to send to the API endpoint for the get logged in athlete activities operation.
GetLoggedInAthleteActivitiesReader is a Reader for the GetLoggedInAthleteActivities structure.
GetZonesByActivityIDDefault describes a response with status code -1, with default header values.
GetZonesByActivityIDOK describes a response with status code 200, with default header values.
GetZonesByActivityIDParams contains all the parameters to send to the API endpoint for the get zones by activity Id operation.
GetZonesByActivityIDReader is a Reader for the GetZonesByActivityID structure.
UpdateActivityByIDDefault describes a response with status code -1, with default header values.
UpdateActivityByIDOK describes a response with status code 200, with default header values.
UpdateActivityByIDParams contains all the parameters to send to the API endpoint for the update activity by Id operation.
UpdateActivityByIDReader is a Reader for the UpdateActivityByID structure.

# Interfaces

ClientService is the interface for Client methods.

# Type aliases

ClientOption may be used to customize the behavior of Client methods.