spotifywebapipython.models.searchresponse
@export
class
SearchResponse:
Spotify Web API SearchResponse object.
SearchResponse(searchCriteria: str, searchCriteriaType: str, root: dict = None)
Initializes a new instance of the class.
Arguments:
- searchCriteria (str): Search query specified for the search.
- searchCriteriaType (str): A comma-separated list of item types that were searched.
- root (dict): Spotify Web API JSON response in dictionary format, used to load object attributes; otherwise, None to not load attributes.
SearchCriteriaType: str
The comma-separated list of item types that were searched for.
Search results include hits from all of the specified item types.
def
GetSpotifyOwnedPlaylists( self) -> list[spotifywebapipython.models.playlistsimplified.PlaylistSimplified]:
Gets a list of all playlists contained in the underlying Playlists
list
that are owned by spotify:user:spotify
.