{"id":15018992,"url":"https://github.com/jakemmarsh/node-soundcloud","last_synced_at":"2026-03-03T23:31:16.702Z","repository":{"id":20225215,"uuid":"23497013","full_name":"jakemmarsh/node-soundcloud","owner":"jakemmarsh","description":"node.js wrapper for the Soundcloud SDK","archived":false,"fork":false,"pushed_at":"2017-05-25T21:47:40.000Z","size":14,"stargazers_count":31,"open_issues_count":5,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-09T12:25:09.394Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jakemmarsh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-30T17:32:13.000Z","updated_at":"2024-12-30T15:42:46.000Z","dependencies_parsed_at":"2022-07-25T07:02:04.125Z","dependency_job_id":null,"html_url":"https://github.com/jakemmarsh/node-soundcloud","commit_stats":{"total_commits":23,"total_committers":6,"mean_commits":"3.8333333333333335","dds":"0.34782608695652173","last_synced_commit":"a34e7910841ad6bc567b7ee8f19369988c4e591b"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jakemmarsh/node-soundcloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakemmarsh%2Fnode-soundcloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakemmarsh%2Fnode-soundcloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakemmarsh%2Fnode-soundcloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakemmarsh%2Fnode-soundcloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakemmarsh","download_url":"https://codeload.github.com/jakemmarsh/node-soundcloud/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakemmarsh%2Fnode-soundcloud/sbom","scorecard":{"id":502614,"data":{"date":"2025-08-11","repo":{"name":"github.com/jakemmarsh/node-soundcloud","commit":"a34e7910841ad6bc567b7ee8f19369988c4e591b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":2,"reason":"Found 5/23 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 10 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T22:21:27.739Z","repository_id":20225215,"created_at":"2025-08-19T22:21:27.739Z","updated_at":"2025-08-19T22:21:27.739Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30065769,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T19:52:43.885Z","updated_at":"2026-03-03T23:31:16.671Z","avatar_url":"https://github.com/jakemmarsh.png","language":"JavaScript","readme":"node-soundcloud [![npm version](https://badge.fury.io/js/node-soundcloud.svg)](http://badge.fury.io/js/node-soundcloud)\n=======================================================================================================================\n\nnode.js wrapper for the Soundcloud SDK. Inspired by the libraries [soundcloud-node](https://github.com/maruf89/soundcloud-node) and [soundclouder.js](https://github.com/khilnani/soundclouder.js).\n\n---\n\n### Getting started\n\n1. `npm install --save node-soundcloud`\n2. `var SC = require('node-soundcloud')`\n\n---\n\n### Getting an OAuth Token\n\n1. Require `node-soundcloud` and initialize with your parameters\n2. Redirect user to the necessary SoundCloud Connect URL\n3. User will then be redirected to your `redirect_uri`, which can be handled by an Express endpoint (discussed in the next section).\n\n```javascript\nvar SC = require('node-soundcloud');\n\n// Initialize client\nSC.init({\n  id: 'your SoundCloud client ID',\n  secret: 'your SoundCloud client secret',\n  uri: 'your SoundCloud redirect URI'\n});\n\n// Connect user to authorize application\nvar initOAuth = function(req, res) {\n  var url = SC.getConnectUrl();\n\n  res.writeHead(301, { location: url });\n  res.end();\n};\n\n// Get OAuth token (example endpoint discussed in the next section)\n```\n\n---\n\n### Example Redirect URI Endpoint\n\nAfter your user is redirected to the Connect URL, SoundCloud will then redirect them back to the URL you have specified as your `redirect_uri`. There will also be the parameter `code` in the query string, and this is used to retrieve your OAuth token. An endpoint to handle this could work as follows:\n\n```javascript\nvar redirectHandler = function(req, res) {\n  var code = req.query.code;\n\n  SC.authorize(code, function(err, accessToken) {\n    if ( err ) {\n      throw err;\n    } else {\n      // Client is now authorized and able to make API calls\n      console.log('access token:', accessToken);\n    }\n  });\n};\n```\n\n---\n\n### Initializing with an OAuth Token\n\nIf you have already acquired an OAuth access token, you can initialize the client without going through the authorization process by passing it as an extra option:\n\n```javascript\nvar SC = require('node-soundcloud');\n\n// Initialize client with additional accessToken field\nSC.init({\n  id: 'your SoundCloud client ID',\n  secret: 'your SoundCloud client secret',\n  uri: 'your SoundCloud redirect URI',\n  accessToken: 'your existing access token'\n});\n```\n\n---\n\n### Making calls to the SoundCloud API\n\nOnce authorized (or if you're accessing unprotected endpoints), you may now make calls to the SoundCloud API [documented here](https://developers.soundcloud.com/docs/api/reference). An example could be as follows:\n\n```javascript\nSC.get('/tracks/276882056', function(err, track) {\n  if ( err ) {\n    throw err;\n  } else {\n    console.log('track retrieved:', track);\n  }\n});\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakemmarsh%2Fnode-soundcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakemmarsh%2Fnode-soundcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakemmarsh%2Fnode-soundcloud/lists"}