问题描述
我正在尝试获取一个包含用户库 (http://developer.spotify.com/download/spotify-apps-api/reference/dcdebc652c.html) 中所有播放列表的数组.
I'm trying to get an array containing all Playlists in the users Library (http://developer.spotify.com/download/spotify-apps-api/reference/dcdebc652c.html).
其他类属性(专辑、艺术家、starredPlaylist、曲目)没有问题,但不知何故播放列表"属性无法使用
No problems with the other class properties (albums, artists, starredPlaylist, tracks), but somehow the "Playlists" property won't work using
var allPlaylists = models.library.playlists;
而
var allArtists= models.library.artists;
效果很好!(都使用 document.write(var) )
works just fine!( Both using document.write(var) )
有什么建议吗?谢谢!
推荐答案
我看起来 sp.core.library.getPlaylists 在 .0.8.0–701-gc2d793a
I looks like sp.core.library.getPlaylists got disabled in .0.8.0–701-gc2d793a
这篇关于Spotify Apps API:库级不会返回用户播放列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!