I am trying to use the javascript SDK for Soundcloud to return a list of tracks that are streaming.
My question is: how do I filter search results only for streaming songs using the javascript SDK?
Here is an example that will return songs that are not streaming:
SC.get('/tracks', {q: 'mat zo', filter: 'streamable'}).then(function (tracks) {
console.log(tracks);
});
Here's what happened:
api.soundcloud.com/tracks?q=mat+zo&filter=streamable&format=json&client_id= [XXX]
I noticed that the first track in this answer has streamable = false.
response snippet:
...
streamable: false
tag_list: "Remix Mat Zo Burn Ellie Goulding"
name: "Burn (Mat Zo Remix)"
track_type: ""
...
Soundcloud SDK, , "" "(, , )".
https://developers.soundcloud.com/docs/api/reference#tracks
( )
:
stackoverflow.com/questions/23791711/filtering-tracks-by-streamable-in-soundcloud
, . .