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

Irreverent and Inconsistent results from Song Search

$
0
0

Hello,

I am unable to reproduce the response you link to in your pastebin.

~$curl "http://developer.echonest.com/api/v4/song/search?api_key=$ECHO_NEST_API_KEY&format=json&results=1&artist=GROUPLOVE&title=Ways+To+Go+%28Album+Version%29"

{"response": {"status": {"version": "4.2", "code": 0, "message": "Success"}, "songs": []}}

We don't know of a version of Ways To Go with the suffix of (Album Version) which is why you are getting no results.

If I remove that part of the query, I get results for that song.

~$curl "http://developer.echonest.com/api/v4/song/search?api_key=$ECHO_NEST_API_KEY&format=json&results=1&artist=GROUPLOVE&title=Ways+To+Go"

{"response": {"status": {"version": "4.2", "code": 0, "message": "Success"}, "songs": [{"artist_id": "ARLJFSL12D7AF58D83", "id": "SOGNQUK13F404E714E", "artist_name": "Grouplove", "title": "Ways To Go"}]}}


Viewing all articles
Browse latest Browse all 1582

Trending Articles