Radion client takes a few options. Only apiKey is required.
| Option | Type | Default | Description |
|---|---|---|---|
apiKey | string | — | Required. Sent as the X-API-Key header. |
baseUrl | string | https://api.radion.app | The base URL for the Radion API. |
wsUrl | string | wss://api.radion.app/ws | Use your own realtime endpoint. |
Realtime tuning
To turn off reconnect or heartbeat, passfalse (TypeScript) or False (Python). In Rust, build a RealtimeClient with RealtimeOptions and call .disable_reconnect() or .disable_heartbeat(). See Reconnect & heartbeats to learn how they work.