Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hughsk/soundcloud-resolve
- Owner: hughsk
- Created: 2013-09-21T04:07:08.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-02-01T04:20:54.000Z (almost 9 years ago)
- Last Synced: 2024-10-11T01:01:55.575Z (29 days ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 19
- Watchers: 4
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.