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.
_app.tsx
// 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!,}); Copy
// 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!,});
Configure the global SoundCloud fetcher client.
Call once at the module level (e.g. in a server component or
_app.tsxserver action) before using scFetchers.