mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-11 17:10:45 +00:00
Implement get-queue endpoint (#854)
This commit is contained in:
1 parent
5a7e5c5a43
commit
be759d3f50
1 file changed
+4
@@ -1872,6 +1872,10 @@ class Spotify(object):
|
||||
)
|
||||
)
|
||||
|
||||
def queue(self):
|
||||
""" Gets the current user's queue """
|
||||
return self._get("me/player/queue")
|
||||
|
||||
def add_to_queue(self, uri, device_id=None):
|
||||
""" Adds a song to the end of a user's queue
|
||||
|
||||
|
||||
Reference in new issue
Block a user