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

Getting an empty list for tracks

$
0
0

Any insight on why I frequently but not always get an empty list for tracks on this call?

r = requests.get("http://developer.echonest.com/api/v4/song/search?api_key=" + api_key + "&format=json&results=1&artist=" + artist + "&title=" + title + "&bucket=tracks&bucket=id:spotify")
results = json.loads(r.content)

This returns an empty list: results["response"]["songs"][0]["tracks"]

Is it a rate limiting thing? I extended my rate limit, but it's not clear what my limit is now.


Viewing all articles
Browse latest Browse all 1582

Trending Articles