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

Custom date range and/or YTD? #353

Open
jblucher opened this issue Nov 17, 2024 · 1 comment
Open

Custom date range and/or YTD? #353

jblucher opened this issue Nov 17, 2024 · 1 comment

Comments

@jblucher
Copy link

Would it be possible to allow a custom date range or at least an option for YTD instead of "Year" which I assume is the last 365 days?

@BradLewis
Copy link
Member

BradLewis commented Nov 19, 2024

Currently we just use the options that are currently available to us in the Last.fm API as documented here: https://www.last.fm/api/show/user.getTopAlbums. There is an endpoint for fetching the weekly charts (sunday 12pm utc to sunday 12pm utc) that could allow us to do something similar to this, where you could just pick the weeks you want covered.

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