File and Document Management

Spotify

46min
with the spotify modules in make you can create, update, retrieve, and list playlists, and playlist items, upload a playlist cover image, add an item to a playlist watch playlist tracks, saved tracks, recently played tracks, and retrieve a track, track audio features, and current track, list artist's top tracks, search tracks, save and remove a track start/resume and pause the user's playback list episodes, retrieve an episode, and list episode information list shows' metadata, subscribe and unsubscribe from a list of shows, retrieve, check, and list shows watch and list artist's albums, and list user's followed artists list devices retrieve a player's status retrieve items to get started with spotify, create an account at spotify com http //spotify com connect spotify with make to connect your spotify account with make log in to your spotify account in your make, insert add a spotify module in your {{scenario singular lowercase}} and click add next to the connection field in the connection field, enter a name for the connection and click save spotify 1 png confirm the access by clicking agree you have successfully established the connection you can now begin editing your {{scenario singular lowercase}} and adding more spotify modules if your connection needs reauthorization at any point, follow the connection renewal steps here docid\ so88fm6pkt0g adkddfzz playlists you can create, update, retrieve, and list playlists, and playlist's items, upload a playlist cover image, add an item to a playlist using the following modules create a playlist creates a new playlist connection spotify docid\ fx2scodwf1vue1sildxyr for field descriptions, see the spotify playlists api reference https //developer spotify com/documentation/web api/reference/#/operations/create playlist update a playlist updates an existing playlist connection spotify docid\ fx2scodwf1vue1sildxyr playlist id select or map the playlist id whose details you want to update for field descriptions, see the spotify playlists api reference https //developer spotify com/documentation/web api/reference/#/operations/change playlist details get a playlist retrieves an existing playlist connection spotify docid\ fx2scodwf1vue1sildxyr playlist id select or map the playlist id whose details you want to retrieve for field descriptions, see the spotify playlists api reference https //developer spotify com/documentation/web api/reference/#/operations/get playlists tracks list playlists retrieves a list of existing playlists connection spotify docid\ fx2scodwf1vue1sildxyr limit set the maximum number of playlists make will return during one execution cycle the default value is 10 list playlist's items retrieves full details of the items of a playlist connection spotify docid\ fx2scodwf1vue1sildxyr limit set the maximum number of playlists make will return during one execution cycle the default value is 10 for field descriptions, see the spotify playlists api reference https //developer spotify com/documentation/web api/reference/#/operations/get playlists tracks upload a playlist cover image uploads a new playlist cover image connection spotify docid\ fx2scodwf1vue1sildxyr playlist id select or map the playlist id whose cover image you want to add file enter the file details cover image name enter the name of the cover image cover image data enter the cover image's height and width in pixels add an item to a playlist adds an item to a playlist connection spotify docid\ fx2scodwf1vue1sildxyr playlist id select or map the playlist id whose items you want to add for field descriptions, see the spotify playlists api reference https //developer spotify com/documentation/web api/reference/#/operations/add tracks to playlist tracks you can watch playlist tracks, saved tracks, recently played tracks, retrieve a track, track audio features, and current tracks, list artists' top tracks, and search tracks, save, and remove a track using the following modules watch playlist tracks triggers when a new track is added to a playlist connection spotify docid\ fx2scodwf1vue1sildxyr playlist id select or map the playlist id whose playlist tracks you want to watch limit set the maximum number of playlist tracks make will return during one execution cycle the default value is 2 watch saved tracks triggers when a new track is saved connection spotify docid\ fx2scodwf1vue1sildxyr limit set the maximum number of saved tracks make will return during one execution cycle the default value is 2 watch recently played tracks triggers when a track is played connection spotify docid\ fx2scodwf1vue1sildxyr limit set the maximum number of played tracks make will return during one execution cycle the default value is 2 get a track retrieves an existing track connection spotify docid\ fx2scodwf1vue1sildxyr track id enter the track id you want to retrieve for example, 4iv5w9uyedyuva79axb7rh market select or map the market whose track you want to retrieve get a track audio feature retrieves audio feature information for a single track connection spotify docid\ fx2scodwf1vue1sildxyr track id enter the track id you want to retrieve for example, 4iv5w9uyedyuva79axb7rh get a current track retrieves the object currently being played on the user's spotify account connection spotify docid\ fx2scodwf1vue1sildxyr market select or map the market whose current track you want to retrieve you can provide this parameter if you apply track relinking additional types select the additional types that your client supports note this parameter was introduced to allow existing clients to maintain their current behavior and might be deprecated in the future in addition to providing this parameter, make sure that your client properly handles cases of new types in the future by checking against the type field of each object list artist's top tracks retrieves artist's top tracks connection spotify docid\ fx2scodwf1vue1sildxyr artist id enter the artist id whose top tracks you want to list market select the market to return the content available in it limit set the maximum number of artists' top tracks make will return during one execution cycle the default value is 10 search tracks searches for information about tracks that match a keyword string connection spotify docid\ fx2scodwf1vue1sildxyr query enter the query keywords and optional field filters and operators market select the market to return the content playable in that market include external select whether to include any relevant audio content that is hosted externally limit set the maximum number of tracks make will return during one execution cycle the default value is 10 save a track saves a track to the current user's library connection spotify docid\ fx2scodwf1vue1sildxyr track id enter the track id you want to save for example, 4iv5w9uyedyuva79axb7rh remove a track removes an existing track for the current user connection spotify docid\ fx2scodwf1vue1sildxyr track id enter the track id you want to remove for example, 4iv5w9uyedyuva79axb7rh playback you can start/resume and pause the user's playback using the following modules start/resume a user's playback starts or resumes a user's playback connection spotify docid\ fx2scodwf1vue1sildxyr for field descriptions, see the spotify playback api reference https //developer spotify com/documentation/web api/reference/#/operations/start a users playback pause a user's playback pauses a user's playback connection spotify docid\ fx2scodwf1vue1sildxyr device id select the device id whose playback you want to pause if not selected the user's current device will be paused episodes you can list episodes, retrieve an episode, and list episode information using the following modules get an episode retrieves an existing episode connection spotify docid\ fx2scodwf1vue1sildxyr show id select or map the show id whose episodes you want to retrieve episode id select or map the episode id you want to retrieve market select the market to return the episodes available in that market list episodes retrieves a list of existing show episodes connection spotify docid\ fx2scodwf1vue1sildxyr show id select or map the show id whose episodes you want to list limit set the maximum number of episodes make will return during one execution cycle the default value is 10 list episodes information retrieves information about a list of episodes connection spotify docid\ fx2scodwf1vue1sildxyr episode ids enter the episode ids whose information you want to list market select the market to return the episodes available in that market limit set the maximum number of episodes make will return during one execution cycle the default value is 10 shows you can list shows' metadata, subscribe and unsubscribe from a list of shows, retrieve, check, and list shows using the following modules list shows' metadata retrieves a list of shows metadata connection spotify docid\ fx2scodwf1vue1sildxyr show ids enter the show ids whose metadata you want to list market select the market to return the content available in it limit set the maximum number of shows metadata make will return during one execution cycle the default value is 10 subscribe to a list of shows add one or more shows to the current user's library connection spotify docid\ fx2scodwf1vue1sildxyr show ids enter the show ids you want to subscribe get a show retrieves an existing show connection spotify docid\ fx2scodwf1vue1sildxyr show id select or map the show id whose details you want to retrieve market select the market to return the content available in it check a show check if the show is already saved in the current user's library connection spotify docid\ fx2scodwf1vue1sildxyr show id select or map the show id whose details you want to check list shows retrieves a list of existing shows connection spotify docid\ fx2scodwf1vue1sildxyr limit set the maximum number of shows make will return during one execution cycle the default value is 10 unsubscribe from a list of shows deletes one or more shows from the current user's library connection spotify docid\ fx2scodwf1vue1sildxyr show ids select or map the show ids you want to unsubscribe market select the market to return the content available in it artists you can watch and list artists' albums and list users' followed artists using the following modules watch artist's albums triggers when an artist posts a new album connection spotify docid\ fx2scodwf1vue1sildxyr artist id enter the artist id whose albums you want to watch limit set the maximum number of artists' albums make will return during one execution cycle the default value is 2 list artist's albums retrieves a list of artists' albums connection spotify docid\ fx2scodwf1vue1sildxyr artist id enter the artist id whose albums you want to watch include groups select the groups to filter the response if not selected, the response will contain all the album types market select the market to limit response to one particular geographical market limit set the maximum number of artists' albums make will return during one execution cycle the default value is 10 list user's followed artists retrieves a list of current user's followed artists connection spotify docid\ fx2scodwf1vue1sildxyr limit set the maximum number of artist's albulms make will return during one execution cycle the default value is 10 devices you can list devices using the following modules list devices retrieves a list of user's devices connection spotify docid\ fx2scodwf1vue1sildxyr limit set the maximum number of devices make will return during one execution cycle the default value is 10 players you can retrieve a player's status using the following modules get a player's status retrieves information about the user's current playback state, including track or episode, progress, and active device connection spotify docid\ fx2scodwf1vue1sildxyr market select the market if you want to apply track relinking additional types select the additional types that your client supports note this parameter was introduced to allow existing clients to maintain their current behaviour and might be deprecated in the future in addition to providing this parameter, make sure that your client properly handles cases of new types in the future by checking against the type field of each object items you can retrieve items using the following modules get items retrieves a collection of objects of described item types connection spotify docid\ fx2scodwf1vue1sildxyr query enter the search keywords and optional field filters and operators type select the item types you want to search market select the market to return the content playable in that market include external select the parameter to include any relevant audio in the response other you can call apis using the following module make an api call performs an arbitrary authorized api call for the list of available endpoints, refer to the spotify api documentation https //developer spotify com/documentation/web api/reference/# connection spotify docid\ fx2scodwf1vue1sildxyr url enter a path relative to https //api spotify com x for example /v1/me method get to retrieve information for an entry post to create a new entry put to update/replace an existing entry patch to make a partial entry update delete to delete an entry headers enter the desired request headers you don't have to add authorization headers; we already did that for you query string enter the request query string body enter the body content for your api call example of use get current user's playlists the following api call returns all user's playlists from your account url /v1/me/playlists method get matches of the search can be found in the module's output under bundle > body > items in our example 5 playlists were returned