$ npm i sc-searcher
Examples
const ScSearcher = require('sc-searcher');
const scSearch = new ScSearcher();
var client_id = process.env.CLIENT_ID;
var query = 'Avicii';
var result_limit = 5;
scSearch.init(client_id);
scSearch.getTracks(query, result_limit)
.then((res) => {
console.log(res);
});
-
Goto soundcloud.com and open your Developer Tools(Strg + Shift + I)
-
Watch Network Traffic and look for something like session?client_id=egjDE3xmafwbjD9DkeUyd5PEmrdjGjfh