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

List of albums from user top tracks endpoint #26

Open
abbyfour opened this issue Mar 2, 2021 · 0 comments
Open

List of albums from user top tracks endpoint #26

abbyfour opened this issue Mar 2, 2021 · 0 comments

Comments

@abbyfour
Copy link

abbyfour commented Mar 2, 2021

Use-Case Description

I am trying to display list of most scrobbled tracks on an album, like on last.fm:
image
Unfortunately because no album information is returned from a users top tracks on last.fm, I cannot cache it with album metadata, which means all of a user's cached top tracks have no album associated with them.

I would also like to display a breakdown of what albums a song has been scrobbled on, as described in the semantics

Semantics

It would be nice if a list of albums was returned when I ask for a user's top tracks. For example, I have scrobbled the track Peek-a-boo by Red Velvet on three different albums. From the last.fm api I get something like

{
  "name": "Peek-a-boo",
  "artist": "Red Velvet",
  "playcount": 157
}

it would be cool if from wavy, we could get a response like:

{
  "name": "Peek-a-boo",
  "artist": "Red Velvet",
  "playcount": 157,
  "albums": [
    { "name": "Perfect Velvet", "playcount": 122 },
    { "name": "The Perfect Red Velvet", "playcount": 34 },
    { "name": "Perfect Velvet - The 2nd Album", "playcount": 1 }
  ]
}

If this isn't possible, any other way to get album information about a top track would be nice (but the solution I outlined would be most convenient)

@aramperes aramperes added this to the v1 milestone Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants