mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 01:03:53 +00:00
Implement get-queue endpoint (#854)
This commit is contained in:
parent
5a7e5c5a43
commit
be759d3f50
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user