update get_artist docstring (closes #489)

This commit is contained in:
sigma67 2023-12-27 22:15:41 +01:00
commit b51603af90
No known key found for this signature in database
GPG key ID: 9F0867F235612837

View file

@ -120,10 +120,10 @@ class BrowsingMixin:
"""
Get information about an artist and their top releases (songs,
albums, singles, videos, and related artists). The top lists
contain pointers for getting the full list of releases. For
songs/videos, pass the browseId to :py:func:`get_playlist`.
For albums/singles, pass browseId and params to :py:func:
`get_artist_albums`.
contain pointers for getting the full list of releases.
For songs/videos, pass the browseId to :py:func:`get_playlist`.
For albums/singles, pass browseId and params to :py:func:`get_artist_albums`.
:param channelId: channel id of the artist
:return: Dictionary with requested information.
@ -243,7 +243,7 @@ class BrowsingMixin:
"""
Get the full list of an artist's albums or singles
:param channelId: channel Id of the artist
:param channelId: browseId of the artist as returned by :py:func:`get_artist`
:param params: params obtained by :py:func:`get_artist`
:return: List of albums in the format of :py:func:`get_library_albums`,
except artists key is missing.