Find original albums
Is there any way to retrieve the original album from a song and an artist from the WebAPI?
https://api.spotify.com/v1/search?q=the%20clash%20london%20calling&type=track&limit=1 usually works well but sometimes I get the latest compilation such as this example https://api.spotify.com/v1/search?q=Queen%20Good%20Old-Fashioned%20Lover%20Boy&type=track&limit=1
I've noticed the album type variable (compilation, album) and I was wondering if there's a way to limit the search to only albums. Thanks
At the moment you can't perform a search request for tracks specifying the album type. The only workaround is to fetch several tracks and then apply a filter on the results.
链接地址: http://www.djcxy.com/p/55666.html上一篇: 我可以在play.spotify.com中播放曲目吗?
下一篇: 查找原始相册