【问题标题】:How to get the URI of a playlist creating it inside the spotify app with the spotify apps API?如何使用 spotify 应用程序 API 在 Spotify 应用程序中创建播放列表的 URI?
【发布时间】:2012-06-29 15:57:24
【问题描述】:

我读过这个问题:How to create a playlist and get the URI of it in a spotify apps API?

但我想知道现在是否可以这样做,或者如果你能给我一个解决方案,我真的需要 URI,我可以创建一个公共播放列表或类似的东西吗?我需要它来创建一个类似于 soundrop 的应用程序 :)

非常感谢

萨拉

【问题讨论】:

标签: api uri spotify


【解决方案1】:

我相信今天是可能的。下面的 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

【讨论】:

    猜你喜欢
    • 2012-02-06
    • 1970-01-01
    • 1970-01-01
    • 2012-06-05
    • 2013-07-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多