spotgen
spotgen copied to clipboard
Chaining API calls
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
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