Quantcast
Channel: The Echo Nest Developer Forum
Viewing all articles
Browse latest Browse all 1582

Best way to do a search via the API

$
0
0

Hello everyone!

I'm new to the forum but I've been using the API for a while now :) This is the first time I have run into a problem I can't google myself out of. So here goes:

On a web app we have a search field where users can search for a artist name, album, song, song + artist and the other way around. My problem is how I display content based on what they search for. I have albums and artists by themself covered but when a user do a search for just the artist I want to display song by that artist and when they just search for the title of a song I want to display songs with that title and if they combine them I want to get the result as accurate as possible.

The problem when I use the song search API is that I eather have to search for just the artist or the name or both of them combined. How can I do what I said above the easy way? :)

I'm developing in PHP and I'm sorry if this has been answered before!

Thank you in advance!


Viewing all articles
Browse latest Browse all 1582

Trending Articles