soundcloud-api-ts-next
    Preparing search index...

    Interface ServerHelperConfig

    Configuration passed to each server helper function.

    interface ServerHelperConfig {
        clientId: string;
        clientSecret: string;
        onRequest?: (telemetry: SCRequestTelemetry) => void;
        onRetry?: (info: RetryInfo) => void;
        token?: string;
    }
    Index

    Properties

    clientId: string

    SoundCloud OAuth client ID from your app registration.

    clientSecret: string

    SoundCloud OAuth client secret from your app registration.

    onRequest?: (telemetry: SCRequestTelemetry) => void

    Called after every SoundCloud API request with structured telemetry.

    onRetry?: (info: RetryInfo) => void

    Called on each retry attempt.

    token?: string

    Optional user access token for authenticated endpoints (e.g. getMe). When omitted, the helper uses client credentials (public data only).