spotgen icon indicating copy to clipboard operation
spotgen copied to clipboard

Chaining API calls

Open buremba opened this issue 8 years ago • 1 comments

Is there any way to create a playlist with chaining the calls?

Let's say that I want to fetch similar artists, get top 5 songs of each artist and sort the songs by popularity.

The following snippet doesn't seem to work.

#order by popularity
#top5
#similar Aphex Twin

buremba avatar Apr 01 '17 22:04 buremba

It is a good idea. Currently, there is no syntax for chaining, but I welcome suggestions.

In the meantime, you can achieve what you want with:

#order by popularity
#similar5 Aphex Twin

epsil avatar Apr 05 '17 07:04 epsil