Implement get-queue endpoint (#854)

This commit is contained in:
Job Doesburg 2022-10-29 14:01:25 +02:00 committed by GitHub
parent 5a7e5c5a43
commit be759d3f50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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