Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved PublicAPI.page_data #209

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

allerter
Copy link
Collaborator

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.

allerter added 2 commits May 15, 2021 19:01
To get page data for a song, users can easily pass the song's ID.
@allerter allerter changed the title Updated page data Improved PublicAPI.page_data May 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant