mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[GH-ISSUE #4] Additional browsing functionality #2
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sigma67 on GitHub (Apr 4, 2020).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/4
The library should provide functionality to browse artists and albums on YouTube Music.
The current proposed method outline is as follows (open to suggestions, improvements etc):
get_artist(channelId)
should return a dictionary with lists of songs, albums, singles, videos on the artist page
should also return info to get more songs/albums if available (i.e. the playlistId)
get_artist_songs(playlistId)should get all songs by an artist
playlistId provided by get_artist
get_artist_albums(channelId, params)
should get singles or albums depending on the params
the required params should be provided by get_artist
get_album(browseId)
should get all songs for an album. the method for converting between browseId and playlistId that you mentioned should be quite helpful here
@sigma67 commented on GitHub (Apr 16, 2020):
All functions mentioned above are now implemented in v0.6.0.