1111* [ changeVolume] ( #changevolume )
1212* [ createPlaylist] ( #createplaylist )
1313* [ currentUserFollows] ( #currentuserfollows )
14+ * [ currentUserFollowsPlaylist] ( #currentuserfollowsplaylist )
1415* [ deleteMyAlbums] ( #deletemyalbums )
1516* [ deleteMyEpisodes] ( #deletemyepisodes )
1617* [ deleteMyShows] ( #deletemyshows )
@@ -277,6 +278,23 @@ https://developer.spotify.com/documentation/web-api/reference/check-current-user
277278#### Return values
278279* ** array** Whether each user or artist is followed.
279280
281+ ---
282+ ### currentUserFollowsPlaylist
283+
284+
285+ ``` php
286+ SpotifyWebAPI::currentUserFollowsPlaylist($playlistId)
287+ ```
288+
289+ Check if the current user is following a playlist.<br >
290+ https://developer.spotify.com/documentation/web-api/reference/check-if-user-follows-playlist
291+
292+ #### Arguments
293+ * ` $playlistId ` ** string** - ID or URI of the playlist to check.
294+
295+ #### Return values
296+ * ** array** Array containing one boolean describing whether the playlist is followed.
297+
280298---
281299### deleteMyAlbums
282300
@@ -1627,7 +1645,7 @@ Set the access token to use.
16271645* ` $accessToken ` ** string** - The access token.
16281646
16291647#### Return values
1630- * ** self**
1648+ * ** self**
16311649
16321650---
16331651### setOptions
@@ -1643,7 +1661,7 @@ Set options
16431661* ` $options ` ** array\| object** - Options to set.
16441662
16451663#### Return values
1646- * ** self**
1664+ * ** self**
16471665
16481666---
16491667### setSession
@@ -1659,7 +1677,7 @@ Set the Session object to use.
16591677* ` $session ` ** \SpotifyWebAPI\Session** - The Session object.
16601678
16611679#### Return values
1662- * ** self**
1680+ * ** self**
16631681
16641682---
16651683### shuffle
@@ -1758,6 +1776,7 @@ https://developer.spotify.com/documentation/web-api/reference/upload-custom-play
17581776---
17591777### usersFollowPlaylist
17601778
1779+ _ Deprecated. Use SpotifyWebAPI::currentUserFollowsPlaylist() instead._
17611780
17621781``` php
17631782SpotifyWebAPI::usersFollowPlaylist($playlistId, $options)
@@ -1768,10 +1787,10 @@ https://developer.spotify.com/documentation/web-api/reference/check-if-user-foll
17681787
17691788#### Arguments
17701789* ` $playlistId ` ** string** - ID or URI of the playlist.
1771- * ` $options ` ** array\| object** - Options for the check.
1772- * ids string\| array Required. IDs or URIs of the users to check for .
1790+ * ` $options ` ** array\| object** - Optional. Options for the check.
1791+ * ids string\| array ID or URI of the current user .
17731792
17741793#### Return values
1775- * ** array** Whether each user is following the playlist.
1794+ * ** array** Whether the current user is following the playlist.
17761795
17771796---
0 commit comments