mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-12 01:10:45 +00:00
added currently playing endpoint
This commit is contained in:
1 parent
7499d8e511
commit
9d47b98eab
1 file changed
+5
@@ -573,6 +573,11 @@ class Spotify(object):
|
|||||||
'''
|
'''
|
||||||
return self.me()
|
return self.me()
|
||||||
|
|
||||||
|
def current_user_playing_track(self):
|
||||||
|
''' Get information about the current users currently playing track.
|
||||||
|
'''
|
||||||
|
return self._get('me/player/currently-playing')
|
||||||
|
|
||||||
def current_user_saved_albums(self, limit=20, offset=0):
|
def current_user_saved_albums(self, limit=20, offset=0):
|
||||||
''' Gets a list of the albums saved in the current authorized user's
|
''' Gets a list of the albums saved in the current authorized user's
|
||||||
"Your Music" library
|
"Your Music" library
|
||||||
|
|||||||
Reference in new issue
Block a user