Client secret from Spacebring > Network Settings > Developers.
OptionalnetworkNetwork ID, sent as the spacebring-network-id header on every request.
OptionalbaseAPI origin. Defaults to https://api.spacebring.com.
OptionalfetchCustom fetch implementation (testing, non-standard platforms).
Optionalinit: RequestInitOptionalinit: RequestInitOptionalmaxHow many times to retry a failed request. Retried: 429 rate limits
(any method — the API allows 10 requests/second and did not process the
request), plus 502/503/504 responses, network errors, and timeouts on
idempotent methods only (GET/HEAD/PUT/DELETE/OPTIONS — a gateway error
may have reached the API, so POSTs are never replayed). Waits per the
Retry-After header (seconds or HTTP-date), or with exponential backoff
when absent. Defaults to 3; 0 disables.
OptionaltimeoutTimeout per request attempt in milliseconds (each retry attempt gets a
fresh budget). Timed-out attempts reject with a TimeoutError and are
retried like network errors. Off by default. Uses AbortSignal.timeout;
combining with a caller-supplied signal needs AbortSignal.any
(Node >= 20.3, all modern browsers/workers).
Client ID from Spacebring > Network Settings > Developers.