soundcloud-resolve
v1.0.2
Published
Takes a SoundCloud URL and retrieves the relevant JSON data for that resource from the SoundCloud API
Downloads
38
Maintainers
Readme
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.