Versions in this module Expand all Collapse all v1 v1.0.0 Jul 27, 2026 Changes in this version + const DefaultBaseURL + type Client struct + Accounts *application.AccountService + Attachments *application.AttachmentService + Auth *application.AuthService + Balance *application.BalanceService + FeedItems *application.FeedItemService + Pots *application.PotService + Receipts *application.ReceiptService + Transactions *application.TransactionService + Webhooks *application.WebhookService + func New(opts ...Option) *Client + func (c *Client) AccessToken() string + func (c *Client) Refresh(ctx context.Context) (string, error) + func (c *Client) SetTokens(accessToken, refreshToken string) + type Option func(*config) + func WithBaseURL(baseURL string) Option + func WithClientCredentials(clientID, clientSecret string) Option + func WithHTTPClient(doer httpclient.Doer) Option + func WithLogger(logger httpclient.Logger) Option + func WithRetryPolicy(policy httpclient.RetryPolicy) Option + func WithTimeout(d time.Duration) Option + func WithTokenRefreshHook(hook application.TokenRefreshHook) Option + func WithTokens(accessToken, refreshToken string) Option + func WithUserAgent(ua string) Option