get_user_playlists
Fetch a paginated list of the current user's Spotify playlists with optional limit and offset for paging through results.
Instructions
Fetch a paginated list of the current user's Spotify playlists.
Parameters
limit : int, optional Maximum number of playlists to return (1–50, default: 20). offset : int, optional Zero-based index of the first playlist to return (default: 0).
Returns
dict
Keys: total, limit, offset, playlists.
Raises
ValueError
If limit is outside [1, 50].
spotipy.SpotifyException
Propagated if the Spotify API returns a non-2xx response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||