Documentation
¶
Index ¶
- func ParseInt32(raw string) (int32, error)
- func RandomExternalID() string
- type APIError
- type ActivityBestEffortsOptions
- type ActivityListOptions
- type ActivitySearchOptions
- type ActivityStreamsOptions
- type ActivityUploadOptions
- type Client
- func (c *Client) ActivitiesList(ctx context.Context, opts ActivityListOptions) (any, error)
- func (c *Client) ActivitiesSearch(ctx context.Context, opts ActivitySearchOptions) (any, error)
- func (c *Client) ActivitiesUpload(ctx context.Context, opts ActivityUploadOptions) (any, error)
- func (c *Client) ActivityBestEfforts(ctx context.Context, id string, opts ActivityBestEffortsOptions) (any, error)
- func (c *Client) ActivityDownload(ctx context.Context, id, kind string) ([]byte, error)
- func (c *Client) ActivityGet(ctx context.Context, id string) (any, error)
- func (c *Client) ActivityIntervals(ctx context.Context, id string) (any, error)
- func (c *Client) ActivityStreams(ctx context.Context, id string, opts ActivityStreamsOptions) (any, error)
- func (c *Client) AthleteGet(ctx context.Context) (any, error)
- func (c *Client) AthleteProfile(ctx context.Context) (any, error)
- func (c *Client) AthleteTrainingPlan(ctx context.Context) (any, error)
- func (c *Client) AuthStatus(ctx context.Context) (any, error)
- func (c *Client) EventDelete(ctx context.Context, id int32) (any, error)
- func (c *Client) EventGet(ctx context.Context, id int32) (any, error)
- func (c *Client) EventsCreate(ctx context.Context, body []byte) (any, error)
- func (c *Client) EventsList(ctx context.Context, opts EventListOptions) (any, error)
- func (c *Client) EventsUpsert(ctx context.Context, body []byte) (any, error)
- func (c *Client) WellnessBulkPut(ctx context.Context, body []byte) (any, error)
- func (c *Client) WellnessGet(ctx context.Context, date string) (any, error)
- func (c *Client) WellnessList(ctx context.Context, opts WellnessListOptions) (any, error)
- func (c *Client) WellnessPut(ctx context.Context, date string, body []byte) (any, error)
- func (c *Client) WhoAmI(ctx context.Context) (any, error)
- func (c *Client) WorkoutDownload(ctx context.Context, id int32, format string) ([]byte, error)
- func (c *Client) WorkoutGet(ctx context.Context, id int32) (any, error)
- func (c *Client) WorkoutsCreate(ctx context.Context, body []byte) (any, error)
- func (c *Client) WorkoutsList(ctx context.Context) (any, error)
- type Config
- type EventListOptions
- type WellnessListOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseInt32 ¶
func RandomExternalID ¶
func RandomExternalID() string
Types ¶
type ActivityListOptions ¶
type ActivitySearchOptions ¶
type ActivityStreamsOptions ¶
type ActivityUploadOptions ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ActivitiesList ¶
func (*Client) ActivitiesSearch ¶
func (*Client) ActivitiesUpload ¶
func (*Client) ActivityBestEfforts ¶
func (*Client) ActivityDownload ¶
func (*Client) ActivityGet ¶
func (*Client) ActivityIntervals ¶
func (*Client) ActivityStreams ¶
func (*Client) AthleteTrainingPlan ¶
func (*Client) EventDelete ¶
func (*Client) EventsCreate ¶
func (*Client) EventsList ¶
func (*Client) EventsUpsert ¶
func (*Client) WellnessBulkPut ¶
func (*Client) WellnessGet ¶
func (*Client) WellnessList ¶
func (*Client) WellnessPut ¶
func (*Client) WorkoutDownload ¶
func (*Client) WorkoutsCreate ¶
type EventListOptions ¶
type WellnessListOptions ¶
Click to show internal directories.
Click to hide internal directories.