soundcloud-resolver

0.1.3 • Public • Published

Soundcloud Resolver

Simple NodeJS library for resolving soundcloud url's to their associated tracks

Installation

Install via npm:

npm install soundcloud-resolver

Usage

Best explained in code:

// get the class
var SoundcloudResolver = require('soundcloud-resolver');

// get the object, and itialise it with your soundcloud client_id
var scres = new SoundcloudResolver('YOUR_CLIENT_ID');

scres.resolve( url_of_track_needed, function( err, tracks ) {
  // tracks is an array of tracks found
});

Testing

$ git clone https://github.com/benkaiser/soundcloud-resolver.git
$ cd soundcloud-resolver
$ npm install
$ node test.js

Readme

Keywords

none

Package Sidebar

Install

npm i soundcloud-resolver

Weekly Downloads

7

Version

0.1.3

License

MIT

Last publish

Collaborators

  • benkaiser