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

Artist search "results" and "start" parameters not working

$
0
0

Artist search pagination does not seem to work properly.

For instance, a dummy search for "aa" using results=10 and start=0 gives me 10 results

http://developer.echonest.com/api/v4/artist/search?api_key=xxx&format=json&name=aa&results=10&start=0

The same search for "aa" using results=5 and start=5 gives me 0 results

http://developer.echonest.com/api/v4/artist/search?api_key=xxx&format=json&name=aa&results=5&start=5

Even weirder, search for "aa" using results=10 and start=3 gives me 7 results

http://developer.echonest.com/api/v4/artist/search?api_key=xxx&format=json&name=aa&results=10&start=3

I imagine there is a bug that somehow substracts the number of results to return from the "start" to the "results" parameters?

This makes it impossible to paginate on the artist search.

Thank you


Viewing all articles
Browse latest Browse all 1582

Trending Articles