spotifywebapipython.models.playlistpagesimplified
Spotify Web API PlaylistPageSimplified object.
This allows for multiple pages of PlaylistSimplified
objects to be navigated.
PlaylistPageSimplified(root: dict = None)
Initializes a new instance of the class.
Arguments:
- root (dict): Spotify Web API JSON response in dictionary format, used to load object attributes; otherwise, None to not load attributes.
def
ContainsId(self, itemId: str = False) -> bool:
Checks the Items
collection to see if an item already exists with the
specified Id value.
Returns True if the itemId exists in the collection; otherwise, False.
def
GetSpotifyOwnedItems( self) -> list[spotifywebapipython.models.playlistsimplified.PlaylistSimplified]:
Gets a list of all items contained in the Items
list that are owned
by spotify:user:spotify
.