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

Return album, artist, and song IDs in JSON #130

Open
MarcelloTheArcane opened this issue May 22, 2020 · 0 comments
Open

Return album, artist, and song IDs in JSON #130

MarcelloTheArcane opened this issue May 22, 2020 · 0 comments

Comments

@MarcelloTheArcane
Copy link

Following on from #121, it would be really useful if search endpoints could return the ID of the album, artist and song (the song can be parsed from the location property, but it would be nice to have this on its own too).

Example response for /get_by_search:

{
  "location": "http://<url>/get_song/Tvsjkyaodufagbn6oztvhgahmna",
  "title": "Christmas (Baby Please Come Home)",
  "creator": "Michael Bublé",
  "album": "Christmas (Deluxe Special Edition)",
  "trackNum": 9,
  "duration": "187000",
  "annotation": "year: 2011",
  "image": "http://lh3.googleusercontent.com/ozTe98yAyQ9pvyHxovQ5TbuAXPYtKB7h-CeFhALHf4dNnyh1oLdHZoJs_6mw2OACg7rxgUjH",
  
  // Add these:
  "storeId": "Tapfed6i3y5vg3jfqo7l4c3afre",
  "albumId": "Bco37q2mn5dckgo2mdigur5vhmq",
  "artistId": [
    "Adldfhipxacjxjcyn7qw7l5dvqa"
  ],
  "trackId": "Tvsjkyaodufagbn6oztvhgahmna"
}
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

1 participant