Table of Contents generated with DocToc
- [soundclouder.js ](#soundclouderjs-!build-statushttpsapitravis-ciorgkhilnanisoundclouderjspngbranch=masterhttpstravis-ciorgkhilnanisoundclouderjs)
- SoundCloud APIs Implemented
- Usage
- Links
- Installation
soundclouder.js
SoundCloud API for Node.js.
NPM Module Info - https://www.npmjs.org/package/soundclouder
SoundCloud APIs Implemented
- Connection/Authorization Url
- OAuth Authorization (/oauth2/token)
- General GET, PUT, POST and DELETE.
Usage
// Include the soundclouder libraryvar sc = ; // Update the logging level// See: https://github.com/khilnani/dysf.utils// Also see: test/test.jsvar log = logger// 0: system, 1: error, 2: warn, 3: event, 4: info, // 5: debug, 6: trace. Default is 4 (info)// Set to debuglog; // client id, secret and redirect url are the values obtained from // <a href="http://soundcloud.com/you/apps">http://soundcloud.com/you/apps</a>sc; // code sent by the browser based SoundCloud Login// that redirects to the redirect_urisc;
sc;
Links
- Application Setup - http://developers.soundcloud.com/docs/api/guide#authentication
- Error Codes - http://developers.soundcloud.com/docs/api/guide#errors
Installation
Global
- Run:
sudo npm install soundclouder -g
- Usually installed at - /usr/local/lib/node_modules/soundclouder
Project
- Add
"soundclouder": "x.x.x"
to the dependencies section of your project's package.json- Example
"dependencies": { "soundclouder": "x.x.x" }
- Example
- Run
npm install
in the director with your package.json - Usually installed at - PROJECT_DIR/node_modules/soundclouder