{"id":15146091,"url":"https://github.com/chipslays/soundcloud","last_synced_at":"2026-01-19T08:01:58.591Z","repository":{"id":62501878,"uuid":"317538562","full_name":"chipslays/soundcloud","owner":"chipslays","description":"☁ Soundcloud API library","archived":false,"fork":false,"pushed_at":"2021-01-12T18:49:28.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-18T22:38:08.851Z","etag":null,"topics":["soundcloud","soundcloud-api","soundcloud-downloader","soundcloud-library"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chipslays.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-01T12:46:05.000Z","updated_at":"2021-01-12T18:49:11.000Z","dependencies_parsed_at":"2022-11-02T12:01:04.534Z","dependency_job_id":null,"html_url":"https://github.com/chipslays/soundcloud","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/chipslays/soundcloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chipslays%2Fsoundcloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chipslays%2Fsoundcloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chipslays%2Fsoundcloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chipslays%2Fsoundcloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chipslays","download_url":"https://codeload.github.com/chipslays/soundcloud/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chipslays%2Fsoundcloud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28563220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["soundcloud","soundcloud-api","soundcloud-downloader","soundcloud-library"],"created_at":"2024-09-26T12:00:48.991Z","updated_at":"2026-01-19T08:01:58.574Z","avatar_url":"https://github.com/chipslays.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ☁ Soundcloud PHP Api Library \n\nMini library for work with Soundcloud API.\n\n## Instalation\n\nWith [Composer](https://getcomposer.org/):\n```bash\ncomposer require chipslays/soundcloud\n```\n\nYou can also [download latest release](https://github.com/chipslays/soundcloud/releases) without Composer and include like:\n```php \nrequire __DIR__ . '/soundcloud/src/Api.php';\n```\n\n\n## Documentation\nSee Soundcloud API documentation [here](https://developers.soundcloud.com/docs/api/reference).\n\n\n## Examples\n\n**Init:**\n```php\n\u003c?php \n\nuse Soundcloud\\Api;\n\nrequire __DIR__ . '/vendor/autoload.php';\n\n$sc = new Api('YOUR_CLIENT_ID_HERE');\n```\n\n**Iniversal Soundcloud Api call:**\n```php\n$response = $sc-\u003eapi(['resolve'], [\n    'url' =\u003e 'https://soundcloud.com/uvulauvula/sets/snova-vozvrashchayus-domoy-f-pasosh',\n]);\n```\n**Search tracks:**\n```php\n$response = $sc-\u003eapi(['tracks'], [\n    'q' =\u003e 'платина бандана',\n]);\n```\n\n**Get Track ID:**\n```php\n$trackId = $sc-\u003egetTrackId('https://soundcloud.com/molchat-doma/discoteque');\n```\n\n**Get stream links (mp3, hls):**\n```php\n$trackId = $sc-\u003egetTrackId('https://soundcloud.com/pureflavoor/skriptonit-polozhenie-pureflavor-remix');\n$streams = $sc-\u003eapi(['i1', 'tracks', $trackId, 'streams']);\n\n// or you can use short alias for this:\n$streams = $sc-\u003egetStreamByTrackUrl('https://soundcloud.com/pureflavoor/skriptonit-polozhenie-pureflavor-remix');\n```\n\n**Get playlist:**\n```php\n$playlist = $sc-\u003egetPlaylist('https://soundcloud.com/uvulauvula/sets/snova-vozvrashchayus-domoy-f-pasosh');\n```\n\n**Create M3U playlist:**\n```php\n$playlist = $sc-\u003egetPlaylist('https://soundcloud.com/uvulauvula/sets/snova-vozvrashchayus-domoy-f-pasosh');\n$m3u = $sc-\u003eplaylistToM3U($playlist);\nfile_put_contents(__DIR__.'/playlist.m3u', $m3u);\n```\n\n**Output file playlist.m3u:**\n```m3u\n#EXTM3U\n\n#EXTINF:222,увула - Все Не Так (f. Пасош)\nhttps://cf-media.sndcdn.com/46kPhMmaMEFg.128.mp3?Policy=eyJT...\n\n#EXTINF:186,увула - Твои Слова (f. Пасош)\nhttps://cf-media.sndcdn.com/pJBpYQmL9gro.128.mp3?Policy=eyJT...\n\n#EXTINF:286,увула - Больше Не Вернуть (f. Пасош)\nhttps://cf-media.sndcdn.com/HgN976efZQqs.128.mp3?Policy=eyJT...\n\n#EXTINF:213,увула - Искать Себя (f. Пасош)\nhttps://cf-media.sndcdn.com/O5nmdl1mggxd.128.mp3?Policy=eyJT...\n\n#EXTINF:231,Стоп-Слово (f. Пасош)\nhttps://cf-media.sndcdn.com/scLGY2hPpg9l.128.mp3?Policy=eyJT...\n\n#EXTINF:203,увула - Ночная Смена (f. Пасош)\nhttps://cf-media.sndcdn.com/3kaMY43FLmCk.128.mp3?Policy=eyJT...\n\n#EXTINF:168,увула - Несчастный Случай (f. Пасош)\nhttps://cf-media.sndcdn.com/AZsnSLf3fHId.128.mp3?Policy=eyJT...\n\n#EXTINF:156,увула - Снова Возвращаюсь Домой (f. Пасош)\nhttps://cf-media.sndcdn.com/WI2cYB4AJZ4G.128.mp3?Policy=eyJT...\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchipslays%2Fsoundcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchipslays%2Fsoundcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchipslays%2Fsoundcloud/lists"}