Versions in this module Expand all Collapse all v1 v1.0.1 Aug 24, 2026 v1.0.0 Aug 24, 2026 Changes in this version + const DefaultTimeout + func Redact(m map[string]any) map[string]any + type APIError struct + Code string + Details map[string]any + Message string + Method string + Path string + Raw []byte + Status int + func NewAPIError(status int, body []byte, method, path string) *APIError + func (e *APIError) Error() string + func (e *APIError) ExitCode() int + type Client struct + func New(o Options) *Client + func (c *Client) Do(ctx context.Context, method, path string, query url.Values, body any) ([]byte, error) + type Options struct + APIKey string + BaseURL string + Debug bool + DebugOut io.Writer + Timeout time.Duration + Version string