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

# Functions

New creates a new routes API client.
New creates a new routes API client with basic auth credentials.
New creates a new routes API client with a bearer token for authentication.
NewGetRouteAsGPXDefault creates a GetRouteAsGPXDefault with default headers values.
NewGetRouteAsGPXOK creates a GetRouteAsGPXOK with default headers values.
NewGetRouteAsGPXParams creates a new GetRouteAsGPXParams object, with the default timeout for this client.
NewGetRouteAsGPXParamsWithContext creates a new GetRouteAsGPXParams object with the ability to set a context for a request.
NewGetRouteAsGPXParamsWithHTTPClient creates a new GetRouteAsGPXParams object with the ability to set a custom HTTPClient for a request.
NewGetRouteAsGPXParamsWithTimeout creates a new GetRouteAsGPXParams object with the ability to set a timeout on a request.
NewGetRouteAsTCXDefault creates a GetRouteAsTCXDefault with default headers values.
NewGetRouteAsTCXOK creates a GetRouteAsTCXOK with default headers values.
NewGetRouteAsTCXParams creates a new GetRouteAsTCXParams object, with the default timeout for this client.
NewGetRouteAsTCXParamsWithContext creates a new GetRouteAsTCXParams object with the ability to set a context for a request.
NewGetRouteAsTCXParamsWithHTTPClient creates a new GetRouteAsTCXParams object with the ability to set a custom HTTPClient for a request.
NewGetRouteAsTCXParamsWithTimeout creates a new GetRouteAsTCXParams object with the ability to set a timeout on a request.
NewGetRouteByIDDefault creates a GetRouteByIDDefault with default headers values.
NewGetRouteByIDOK creates a GetRouteByIDOK with default headers values.
NewGetRouteByIDParams creates a new GetRouteByIDParams object, with the default timeout for this client.
NewGetRouteByIDParamsWithContext creates a new GetRouteByIDParams object with the ability to set a context for a request.
NewGetRouteByIDParamsWithHTTPClient creates a new GetRouteByIDParams object with the ability to set a custom HTTPClient for a request.
NewGetRouteByIDParamsWithTimeout creates a new GetRouteByIDParams object with the ability to set a timeout on a request.
NewGetRoutesByAthleteIDDefault creates a GetRoutesByAthleteIDDefault with default headers values.
NewGetRoutesByAthleteIDOK creates a GetRoutesByAthleteIDOK with default headers values.
NewGetRoutesByAthleteIDParams creates a new GetRoutesByAthleteIDParams object, with the default timeout for this client.
NewGetRoutesByAthleteIDParamsWithContext creates a new GetRoutesByAthleteIDParams object with the ability to set a context for a request.
NewGetRoutesByAthleteIDParamsWithHTTPClient creates a new GetRoutesByAthleteIDParams object with the ability to set a custom HTTPClient for a request.
NewGetRoutesByAthleteIDParamsWithTimeout creates a new GetRoutesByAthleteIDParams object with the ability to set a timeout on a request.

# Structs

Client for routes API */.
GetRouteAsGPXDefault describes a response with status code -1, with default header values.
GetRouteAsGPXOK describes a response with status code 200, with default header values.
GetRouteAsGPXParams contains all the parameters to send to the API endpoint for the get route as g p x operation.
GetRouteAsGPXReader is a Reader for the GetRouteAsGPX structure.
GetRouteAsTCXDefault describes a response with status code -1, with default header values.
GetRouteAsTCXOK describes a response with status code 200, with default header values.
GetRouteAsTCXParams contains all the parameters to send to the API endpoint for the get route as t c x operation.
GetRouteAsTCXReader is a Reader for the GetRouteAsTCX structure.
GetRouteByIDDefault describes a response with status code -1, with default header values.
GetRouteByIDOK describes a response with status code 200, with default header values.
GetRouteByIDParams contains all the parameters to send to the API endpoint for the get route by Id operation.
GetRouteByIDReader is a Reader for the GetRouteByID structure.
GetRoutesByAthleteIDDefault describes a response with status code -1, with default header values.
GetRoutesByAthleteIDOK describes a response with status code 200, with default header values.
GetRoutesByAthleteIDParams contains all the parameters to send to the API endpoint for the get routes by athlete Id operation.
GetRoutesByAthleteIDReader is a Reader for the GetRoutesByAthleteID structure.

# Interfaces

ClientService is the interface for Client methods.

# Type aliases

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