mirror of
https://github.com/c0de-archive/spotipy.git
synced 2024-11-14 02:57:27 +00:00
Merge pull request #191 from ErikBjare/master
Added currently playing endpoint
This commit is contained in:
commit
8297e138ca
@ -573,6 +573,11 @@ class Spotify(object):
|
||||
'''
|
||||
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):
|
||||
''' Gets a list of the albums saved in the current authorized user's
|
||||
"Your Music" library
|
||||
|
Loading…
Reference in New Issue
Block a user