Spotipy: How to read more than 100 tracks from a playlist
<p>I'm trying to pull all tracks in a certain playlist using the <a href="https://spotipy.readthedocs.io/en/latest/#more-examples" rel="noreferrer">Spotipy library</a> for python. </p>

<p>The user_playlist_tracks function is limited to 100 tracks, regardless of the parameter limit. The Spotipy documentation describes it as: </p>

<blockquote>
  <p>user_playlist_tracks(user, playlist_id=None, fields=None, limit=100,
  offset=0, market=None) </p>
  
  <p>Get full details of the tracks of a playlist
  owned by a user.</p>
  
  <p>Parameters:</p>
  
  <ul>
  <li>user </li>
  <li>the id of the user playlist_id </li>
  <li>the id of the playlist fields</li>
  <li>which fields to return limit </li>
  <li>the maximum number of tracks to return offset </li>
  <li>the index of the first track to return market</li>
  <li>an ISO 3166-1 alpha-2 country code.</li>
  </ul>
</blockquote>

<p>After authenticating with Spotify, I'm currently using something like this:</p>

<pre><code>username = xxxx
playlist = #fromspotipy
sp_playlist = sp.user_playlist_tracks(username, playlist_id=playlist)
tracks = sp_playlist['items']
print tracks
</code></pre>

<p>Is there a way to return more than 100 tracks? I've tried setting the limit=None in the function parameters, but it returns an error.</p>