The PublicAPI.page_data method needed the artist and the song's slug to get the page data for a song. But as it turns out, it can also be done using the song ID which is both easier and more reliable. I tried, but couldn't do the same for albums. Although it seems that the album parameter is reliable for albums.
This PR breaks backward compatibility. We can either wait till v4 to merge it or I can make it backward compatible by adding the song and artist back.
The
PublicAPI.page_data
method needed the artist and the song's slug to get the page data for a song. But as it turns out, it can also be done using the song ID which is both easier and more reliable. I tried, but couldn't do the same for albums. Although it seems that the album parameter is reliable for albums.This PR breaks backward compatibility. We can either wait till v4 to merge it or I can make it backward compatible by adding the
song
andartist
back.