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

    Function configureFetchers

    • Configure the global SoundCloud fetcher client.

      Call once at the module level (e.g. in a server component or _app.tsx server action) before using scFetchers.

      Parameters

      Returns void

      // lib/sc.ts (server-side module)
      import { configureFetchers } from "soundcloud-api-ts-next";

      configureFetchers({
      clientId: process.env.SC_CLIENT_ID!,
      clientSecret: process.env.SC_CLIENT_SECRET!,
      });