Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hughsk/soundcloud-resolve

Takes a SoundCloud URL and retrieves the relevant JSON data for that resource from the SoundCloud API
https://github.com/hughsk/soundcloud-resolve

Last synced: 23 days ago
JSON representation

Takes a SoundCloud URL and retrieves the relevant JSON data for that resource from the SoundCloud API

Awesome Lists containing this project

README

        

# soundcloud-resolve [![stable](http://hughsk.github.io/stability-badges/dist/stable.svg)](http://github.com/hughsk/stability-badges) #

[![soundcloud-resolve](https://nodei.co/npm/soundcloud-resolve.png?mini=true)](https://nodei.co/npm/soundcloud-resolve)

Takes a [SoundCloud](http://soundcloud.com) URL (i.e. track, playlist, artist,
etc.) and retrieves the relevant JSON data for that resource from the
SoundCloud API. Works with [node](http://nodejs.org/) and
[browserify](http://browserify.org/).

## 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](https://developers.soundcloud.com/docs/api/reference)
for more details.