soundcloud-resolve

1.0.2 • Public • Published

soundcloud-resolve stable

soundcloud-resolve

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.

Usage

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.

Package Sidebar

Install

npm i soundcloud-resolve

Weekly Downloads

16

Version

1.0.2

License

MIT

Last publish

Collaborators

  • hughsk