79153582

Date: 2024-11-03 20:25:49
Score: 1.5
Natty:
Report link

I found a solution. Both Get Playlist Items and Get Playlist respond with a next variable, which is the link to the next 100 tracks of the playlist, or any tracks that are left if not 100, or it gets the value None when there are no more left. In the first case, is it visible immediately in the response, while in the latter, it is nested under the tracks object (tracks.next).

I got all tracks by iteratively getting responded tracks until next was None, and using every time the URL returned in the response .

Cheers!

Reasons:
  • Blacklisted phrase (1): Cheers
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: exch_cmmnt_memb