spotifywebapipython.models.playerqueueinfo
@export
class
PlayerQueueInfo:
Spotify Web API PlayerQueueInfo object.
Information about the user's current playback queue.
PlayerQueueInfo(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.
CurrentlyPlayingType: str
The object type of the currently playing item, or null if nothing is playing.
If not null, it can be one of track
, episode
, ad
or unknown
.