-
Notifications
You must be signed in to change notification settings - Fork 337
Browsing misc response models #994
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededv2-modelspydantic response models effort (#307)pydantic response models effort (#307)
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededv2-modelspydantic response models effort (#307)pydantic response models effort (#307)
Part of #307. Base branch:
ytmusicapi-2. Read the contributor guide from #982 before starting.The remaining browsing endpoints not covered by the core entity models.
Scope
mixins/browsing.py, parsed byytmusicapi/parsers/browsing.py:get_homeget_user,get_user_playlists,get_user_videosget_song,get_song_related,get_song_creditsget_tasteprofileWatch out for
get_homereturns mixed shelf contents — songs, albums, playlists, artists in one list.parse_content_listskips renderer types it does not recognise (fix: skip unexpected renderer types in parse_content_list #970); the model must tolerate heterogeneous shelves.get_songreturns the raw player response and differs from the song model in Song/Video playlist-item model #983. Do not conflate them.get_tasteprofilereturns a mapping keyed by artist name rather than a list.Definition of done
mypy --strictclean.