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

Display release & track popularity #180

Open
Sporradik opened this issue Sep 25, 2024 · 1 comment
Open

Display release & track popularity #180

Sporradik opened this issue Sep 25, 2024 · 1 comment

Comments

@Sporradik
Copy link
Collaborator

Sporradik commented Sep 25, 2024

Would be nice to have some idea of how many people have purchased a release & tracks within a release.

This could potentially just be sorting releases and tracks by most purchased, but additionally / alternatively some sort of colored heat map or something would be pretty useful. If I discover a new label with a ton of releases to go through or a big compilation album, having some way to narrow in on the most liked first would be great.

From the discography page it would be great if both release purchases and individual track purchases were somehow counted towards each release's tally, even if differently.

Popular does not always equal good and it's possible some gems could be missed this way, but it could also help reduce some of the overwhelm of sorting through a ton of tracks/releases.

@sabjorn
Copy link
Owner

sabjorn commented Sep 30, 2024

This should be doable with the BC API endpoints I've found. Specifically there is an endpoint to get the discography of a label and then an endpoint to check an album/tracks ownership. My only concern is that Bandcamp's rate limiting is... a black box. And so for a label with a lot of releases the process of getting this data could be very slow.

I've hit the rate limit previously when trying to build something else. It doesn't last long but it does stop you from even being able to load the bandcamp website.

Perhaps a highly regulated API client could work and then whenever you go to a label's page it would load up all the releases in a queue and get the data at a reasonable rate...

I will need to think about this a bit

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

No branches or pull requests

2 participants