diff --git a/src/spotify-web-api.js b/src/spotify-web-api.js index 2a756da8..b9cc1c53 100644 --- a/src/spotify-web-api.js +++ b/src/spotify-web-api.js @@ -183,6 +183,17 @@ SpotifyWebApi.prototype = { .build() .execute(HttpManager.get, callback); }, + + /** + * Get current Queue + */ + + getQueue:function (callback){ + return WebApiRequest.builder(this.getAccessToken()) + .withPath('/v1/me/player/queue') + .build() + .execute(HttpManager.get,callback) + }, /** * Look up an artist.