Implement get-queue endpoint (#854)

This commit is contained in:
Job Doesburg authored and GitHub committed 2022-10-29 13:01:25 +01:00
1 parent 5a7e5c5a43
commit be759d3f50
1 file changed
+4
+4
View File
@@ -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