{"id":15145737,"url":"https://github.com/soundcloud/soundcloud-api-jquery-plugin","last_synced_at":"2025-10-19T16:32:12.602Z","repository":{"id":1054999,"uuid":"887591","full_name":"soundcloud/SoundCloud-API-jQuery-plugin","owner":"soundcloud","description":"SoundCloud API jQuery plugin","archived":false,"fork":false,"pushed_at":"2015-06-26T17:39:59.000Z","size":223,"stargazers_count":53,"open_issues_count":1,"forks_count":9,"subscribers_count":188,"default_branch":"master","last_synced_at":"2025-01-29T21:23:50.718Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://soundcloud.com/developers","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/soundcloud.png","metadata":{"files":{"readme":"README.markdown","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":"2010-09-04T09:59:49.000Z","updated_at":"2024-10-19T07:50:13.000Z","dependencies_parsed_at":"2022-08-16T11:55:17.534Z","dependency_job_id":null,"html_url":"https://github.com/soundcloud/SoundCloud-API-jQuery-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2FSoundCloud-API-jQuery-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2FSoundCloud-API-jQuery-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2FSoundCloud-API-jQuery-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2FSoundCloud-API-jQuery-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soundcloud","download_url":"https://codeload.github.com/soundcloud/SoundCloud-API-jQuery-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237172118,"owners_count":19266614,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-26T11:42:22.748Z","updated_at":"2025-10-19T16:32:12.304Z","avatar_url":"https://github.com/soundcloud.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## jQuery plugin: SoundCloud oAuth 2.0 API wrapper\n\n### A simple usage example\n\nFirst and most important, you'll need to get a Client ID from SoundCloud. If\nyou haven't got one already, just register an app on the SoundCloud [Apps][] page.\n\n[apps]: http://soundcloud.com/you/apps/new\n\nInclude the plugin in your HTML code:\n\n```html\n\u003cscript type=\"text/javascript\" charset=\"utf-8\" src=\"scripts/jquery.sc.api.js\"\u003e\u003c/script\u003e\n```\n\nand then, initialize it:\n\n```javascript\nvar api = $.sc.api('Enter your Client ID here');\n```\n\nor handle the successful authorization yourself:\n\n```javascript\nvar api = $.sc.api('Enter your Client ID here', {\n  onAuthSuccess: function(user, container) {\n    alert('you are SoundCloud user ' + user.username);\n  }\n});\n```\n\nalso instead of passing the callbacks you can use the custom events:\n\n```javascript\nvar api = $.sc.api('Enter your Client ID here');\n$(document).bind($.sc.api.events.AuthSuccess, function(event) {\n  var user = event.user;\n  // do something with the user object or call the api\n  api.get('/me/tracks', function(tracks) {\n    console.log(tracks);\n  })\n});\n```\n\nPlease refer to the [wiki][] for full documentation.\n\n[wiki]: https://github.com/soundcloud/SoundCloud-API-jQuery-plugin/wiki\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoundcloud%2Fsoundcloud-api-jquery-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoundcloud%2Fsoundcloud-api-jquery-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoundcloud%2Fsoundcloud-api-jquery-plugin/lists"}