Remove get_artist_songs (get_playlist_items can be used for this purpose) (#4)
This commit is contained in:
parent
49e67c77fc
commit
4f963b6ba1
1 changed files with 55 additions and 61 deletions
|
|
@ -166,10 +166,10 @@ class YTMusic:
|
|||
|
||||
:param channelId: channel id of the artist
|
||||
:return: Detailed information about the artist and
|
||||
their songs, albums, singles and videos. Example:
|
||||
their songs, albums, singles and videos. Example::
|
||||
|
||||
{
|
||||
"name": "Oasis"
|
||||
"name": "Oasis",
|
||||
"description": "Oasis were ...",
|
||||
"views": "1,838,795,605",
|
||||
"songs": {
|
||||
|
|
@ -257,12 +257,6 @@ class YTMusic:
|
|||
|
||||
return artist
|
||||
|
||||
def get_artist_songs(self, playlistId):
|
||||
body = {"browseId": playlistId}
|
||||
endpoint = 'browse'
|
||||
response = self.__send_request(endpoint, body)
|
||||
pass
|
||||
|
||||
def get_artist_albums(self, channelId, params):
|
||||
body = {"browseId": channelId, "params": params}
|
||||
endpoint = 'browse'
|
||||
|
|
@ -275,9 +269,9 @@ class YTMusic:
|
|||
|
||||
:param browseId: browseId of the album, for example
|
||||
returned by :py:func:`search`
|
||||
:return: Dictionary with title, description, artist and tracks
|
||||
:return: Dictionary with title, description, artist and tracks.
|
||||
|
||||
Each track is in the following format:
|
||||
Each track is in the following format::
|
||||
|
||||
{
|
||||
"index": "1",
|
||||
|
|
|
|||
Loading…
Reference in a new issue