Provide SoundCloud API context to your React tree.
Wrap your app (or a subtree) with this provider to enable all SoundCloud hooks. Manages authentication state and provides the API prefix for route resolution.
Provider props including optional apiPrefix and children.
apiPrefix
children
A React context provider element.
import { SoundCloudProvider } from "soundcloud-api-ts-next";export default function App({ children }: { children: React.ReactNode }) { return ( <SoundCloudProvider apiPrefix="/api/soundcloud"> {children} </SoundCloudProvider> );} Copy
import { SoundCloudProvider } from "soundcloud-api-ts-next";export default function App({ children }: { children: React.ReactNode }) { return ( <SoundCloudProvider apiPrefix="/api/soundcloud"> {children} </SoundCloudProvider> );}
Provide SoundCloud API context to your React tree.
Wrap your app (or a subtree) with this provider to enable all SoundCloud hooks. Manages authentication state and provides the API prefix for route resolution.