diff --git a/src/spotify-web-api.js b/src/spotify-web-api.js index 2a756da8..f834699f 100644 --- a/src/spotify-web-api.js +++ b/src/spotify-web-api.js @@ -1651,6 +1651,18 @@ SpotifyWebApi.prototype = { }, }; + + /** + * Get current Queue + */ + + getQueue:function (callback){ + return WebApiRequest.builder(this.getAccessToken()) + .withPath('/v1/me/player/queue') + .build() + .execute(HttpManager.get,callback) + }, + SpotifyWebApi._addMethods = function(methods) { for (var i in methods) { if (methods.hasOwnProperty(i)) {