Skip to content

Commit

Permalink
update get_artist docstring (closes #489)
Browse files Browse the repository at this point in the history
  • Loading branch information
sigma67 committed Dec 27, 2023
1 parent 11bf25f commit b51603a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ytmusicapi/mixins/browsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ def get_artist(self, channelId: str) -> Dict:
"""
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.
Expand Down Expand Up @@ -243,7 +243,7 @@ def get_artist_albums(self, channelId: str, params: str) -> List[Dict]:
"""
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.
Expand Down

0 comments on commit b51603a

Please sign in to comment.