mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-24 23:06:13 +03:00
[GH-ISSUE #596] Add a get_artist_songs just like get_artist_albums #409
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#409
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 @kevinmarquesp on GitHub (May 30, 2024).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/596
Is your feature request related to a problem? Please describe.
I would be nice to have a
get_artist_songs()just like theget_artist_albums(), but without theparamsbecause theget_artist()function returns doesn't have aparamskey in thesongsfield.Describe the solution you'd like
For an example of usage that I expect:
Describe alternatives you've considered
I tried to follow the docs, there was said that I could do that with the
get_artist_albums()function, but it didn't work because of theparamsfield that thesongsdoesn't have, unlike thesingles,videosandalbums. Maybe fixing that issue would be better, but I still prefer a separate function for them all.Additional context
I was trying to create a CLI application that will allow users to fetch JSON data from the Youtube Music API and integrate it with
yt-dlpwithjq, or something like that, and thesongssubcommand isn't working in anyway.@sigma67 commented on GitHub (May 30, 2024):
If you read the docs carefully, you'll find that the
songskey contains abrowseId, which is usable withget_playlist.https://ytmusicapi.readthedocs.io/en/latest/reference.html#ytmusicapi.YTMusic.get_artist