title: How to get each track of a playlist with the Soundcloud API?
body: <p>I am working with the Soundcloud API to create a custom playlist (another look than the original Soundcloud player). See image below. I am develop a website for an artist. </p>
  
  <p>With the API of Soundcloud I want to import his music from Soundcloud to the website. There are different tabs that should represents all albums - you can see this on the picture - that are uploaded in the SC database. This I have done with the following code:</p>
  
  <pre><code>SC.get('/users/' + USER + '/playlists', function(playlists) {
      $(playlists).each(function(index, playlist) {
      $('h2').html(playlist.title);
  
      $('.list-of-links').append($('&lt;li&gt;&lt;/li&gt;').html('&lt;a href="#"&gt;' + playlist.title + '&lt;/a&gt;'));
  //$('#cover').append($('&lt;li&gt;&lt;/li&gt;').css('background-image', "url('" + track.artwork_url + "')");
      $("#cover").append('&lt;div&gt;&lt;img src="' + playlist.artwork_url.replace('-large', '-t500x500') + '"&gt;&lt;/div&gt;');
  
      });
      });
  </code></pre>
  
  <p>Where <code>USER</code> is a global variable where the name "mo-rooneh" is stored in.</p>
  
  <p><img src="https://i.stack.imgur.com/Ew6vw.png" alt="enter image description here"></p>
  
  <p>So that's working correct. Now I want to get from each album, (1) the album title and (2) all the tracks of that album, that contains a start and stop button to play each track and the amount of likes listed in a <code>UL</code> list. I don't know how to achieve this. What I have now is that the code returns the album title and all tracks of the user. Know it posts for each album all tracks of the user, so also tracks from other albums. What I want is that it will show me the tracks of that specific album:</p>
  
  <pre><code>SC.connect(function() {
  
          SC.get('/users/' + USER + '/playlists', function(playlists) {
  
              $(playlists).each(function(index, playlist) {
  
                  SC.get('/users/' + USER + '/tracks', function(tracks) {
  
                      $('.test').append($('&lt;h2&gt;&lt;/h2&gt;').html('&lt;a href="#"&gt;' + playlist.title + '&lt;/a&gt;'));
  
                      $(tracks).each(function(index, track) {
                          $('.test').append($('&lt;p&gt;&lt;/p&gt;').html('&lt;a href="#"&gt;' + track.title + '&lt;/a&gt;'));
  
                      });
  
                  });
  
  
              });
  
          });
      });
  </code></pre>
  
  <p>I look out for your answer.
  Thanks in advance.</p>