SoundCloud Javascript API SC.get() not pulling through all tracks -


i have been using javascript soundcloud api [sc.get(url)] fetch sound tracks of particular soundcloud url somehow url (https://soundcloud.com/user-811076785/sets/week-1) returning me 7 records out of 13 total records. reasons why instead of returning 13 records returning me 7.

$ curl "http://api.soundcloud.com/playlists/238899952?client_id=your_client_id"

this above command returns 7 tracks under tracks array in returned json there total 13 tracks on url (https://soundcloud.com/user-811076785/sets/week-1).

also getting id(238899952) used in above curl hit, obtained follows :

<script src="https://connect.soundcloud.com/sdk/sdk-3.1.2.js"></script> <script> sc.initialize({     client_id: 'client_id' });   sc.resolve("https://soundcloud.com/user-811076785/sets/week-1") .then(function (type) {     id = type.id   // id }); </script> 


Comments