SoundCloud-fetch is a TypeScript library for fetching SoundCloud resources through API v2. Current version is 1.2.0. It provides an API for accessing albums, playlists, tracks, user likes, and mixed selections. Unlike general-purpose SoundCloud APIs like soundcloud.ts, this library was designed specifically for the Volumio SoundCloud plugin, so its scope is more limited. It supports authentication via access token or cookie, with automatic client ID retrieval. Release cadence is not fixed; updates happen as needed for the plugin. The package ships with TypeScript types and requires Node.js >=20.
npm install soundcloud-fetchNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage: import the default export, instantiate with an access token, and fetch an album by ID.
Upgrade Node.js to version 20 or above.
Use either accessToken or cookie, but not both.
Provide a cookie instead of accessToken when using addToPlayHistory().
Obtain a new access token from SoundCloud's OAuth flow.
Change to `import SoundCloud from 'soundcloud-fetch';`
Remove one of them; use either accessToken or cookie.
Switch to `import SoundCloud from 'soundcloud-fetch';` or use dynamic import().
No dependency data recorded yet.