Documentation
¶
Overview ¶
Package openrouter implements the OpenRouter API usage provider.
Auth: Property Inspector settings field or OPENROUTER_API_KEY env var. Endpoint: {base}/credits where base comes from the PI settings override, the OPENROUTER_API_URL env var, or the default public URL.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct{}
Provider fetches OpenRouter usage data.
func (Provider) BrandBg ¶ added in v0.3.0
BrandBg returns the background color used on button faces.
func (Provider) BrandColor ¶
BrandColor returns the accent color used on button faces.
Click to show internal directories.
Click to hide internal directories.