我已阅读此问题:How to create a playlist and get the URI of it in a spotify apps API?
但是我想知道现在是否可以这样做,或者如果你能给我一个解决方案,我真的需要URI,我可以创建一个公共播放列表或类似吗?我需要创建一个类似于soundrop的应用程序:)
非常感谢
萨拉
答案 0 :(得分:0)
我相信今天有可能。下面的CoffeeScript示例对我有用
sp = getSpotifyApi 1
models = sp.require 'sp://import/scripts/api/models'
exports.exports.init = ->
playlist = new models.Playlist()
console.log "The temporary playlist is " + playlist.uri