node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป


soundcloud-resolve stable


Takes a SoundCloud URL (i.e. track, playlist, artist, etc.) and retrieves the relevant JSON data for that resource from the SoundCloud API. Works with node and browserify.


resolve(client_id, url, callback)

Takes a client_id and the resource's permalink url, calling callback(err, json, stream_url) when complete.

The JSON data returned is dependant on the type of resource you're resolving, see the SoundCloud API reference for more details.