Get User Playlists

Fetch all playlists created or saved by the authorized user.

Javascript

const playlists = await tp.user.getPlaylists();
console.log(playlists);

Python

playlists = tp.user.get_playlists()
print(playlists)