Added page param for get top albums by tag
This commit is contained in:
parent
0b725831d2
commit
16b75e14df
|
@ -1788,11 +1788,12 @@ class Artist(_BaseObject, _Taggable):
|
|||
|
||||
return artists
|
||||
|
||||
def get_top_albums(self, limit=None, cacheable=True):
|
||||
def get_top_albums(self, limit=None, page=1, cacheable=True):
|
||||
"""Returns a list of the top albums."""
|
||||
params = self._get_params()
|
||||
if limit:
|
||||
params["limit"] = limit
|
||||
params["page"] = page
|
||||
|
||||
return self._get_things("getTopAlbums", "album", Album, params, cacheable)
|
||||
|
||||
|
|
Loading…
Reference in a new issue