1.0.2 • Published 7 years ago

sounddrop v1.0.2

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

sounddrop

Standard - JavaScript Style Guide

Fetch any SoundCloud url.

NPM module packaging of diracdelta's demo. Full credit goes to them.

sounds are cool please give money to artists

install

npm install --save sounddrop

A standalone Browserify build is available in the dist folder.

Usage

var drop = new SoundDrop({
  clientID: 'xxxxxxxxxxxxxx' // See https://auth0.com/docs/connections/social/soundcloud
})

drop.fetch('https://soundcloud.com/diracdeltas/pu3elibqww9b', function (streamURL, artist) {
  // streamURL is the direct URL of the mp3 file
  // artist is the name of the artist you should support :)
})