Returns an encoded SoundCloud widget embed URL for a given track ID.
The track's numeric ID or string identifier
URL-encoded widget embed URL string
import { getSoundCloudWidgetUrl } from 'soundcloud-api-ts';const widgetUrl = getSoundCloudWidgetUrl(123456);console.log(widgetUrl); Copy
import { getSoundCloudWidgetUrl } from 'soundcloud-api-ts';const widgetUrl = getSoundCloudWidgetUrl(123456);console.log(widgetUrl);
Returns an encoded SoundCloud widget embed URL for a given track ID.