Create a client
golang.org/x/oauth2:
Call the API
Path parameters are arguments, request bodies are*XRequest structs, and query parameters are *XParams structs (nil for none). Optional values are pointers; use linkvite.Ptr.
client.Do(ctx, method, path, query, body, &out) calls any endpoint.
Errors and retries
429, 5xx and network errors (twice by default; WithMaxRetries changes it), honouring Retry-After. Cancel requests with the context.