OAuth2 (Recommended)
Authenticate using the device flow — no client ID or secret needed:- Display a one-time code in your terminal
- Open your browser to authorize
- Automatically save credentials to
~/.groniz/credentials.json
Auth Commands
API Key
Alternatively, set your Groniz API key as an environment variable:OAuth2 credentials take priority over the API key when both are present.
Environment Variables
*Either OAuth2 (via
groniz auth login) or GRONIZ_API_KEY is required.