Search endpoint functionality #53
Replies: 2 comments 2 replies
-
Hi @Zan-Aslettco, Our Search team is currently working on an updated version of our search platform that will bring a few new features (we aim to expose this new version on TIDAL Developer when it's ready). I'll make sure to forward this message to the search team as well. Thanks |
Beta Was this translation helpful? Give feedback.
-
You can always filter the results, and search whether one of the artists of the album has the name "Led Zeppelin". The first result is easily filtered out because the album artist is "The Karaoke Channel". The second album result is probably the one you are looking for ("Houses of the Holy (Remaster)" by "Led Zeppelin"). Doing some sort of client-side filtering also makes your application more robust against fluctuations in the order of API results and unpredictable "outlier" results like the one your experienced here. I am also adding a hyphen between the track/album name and the artist name, just for good measure. It doesn't seem to make that big of a difference in which way you order it or if you add a hyphen or not, from my testing (even with short search queries like "Love August" for the tack "August" by "Love"), but adding a hyphen makes the track I am looking for appear a little earlier. Here's an example, where the number is the index in the "tracks" array, indicating which track exactly matches the search criteria:
As you can see, the track I am actually looking for comes pretty late. It would be really nice if it were possible to specify artist/track title/album title separately, as the OP suggested! Otherwise a great API! |
Beta Was this translation helpful? Give feedback.
-
I'm playing around with the search api and was wondering if there's an option for advanced searching criteria in the query field. Specifically, it would be cool if I could search for Albums with a specific search query for the title and the artist. One example is if I search for "Houses of the Holy Led Zeppelin", then the top result is this karaoke album. It would be nice if I could specify in my request that "Houses of the Holy" is a query on the album title and "Led Zeppelin" is a query on the artist.
Beta Was this translation helpful? Give feedback.
All reactions