Description Usage Arguments Value
Add the latest episode of a podcast to a user’s playlist.
1 2 3 4 5 6 7 | add_latest_to_playlist(
playlist_id,
uri,
position = NULL,
market = "US",
authorization = get_spotify_authorization_code()
)
|
playlist_id |
Required. The Spotify ID for the playlist. |
uri |
The show Spotify URIs to add. For example |
position |
Optional. Integer indicating the position to insert the tracks, a zero-based index. For example, to insert the tracks in the first position: |
market |
Required. |
authorization |
Required. A valid access token from the Spotify Accounts service. See the Web API authorization Guide for more details. Defaults to |
No return value. Tracks are added to playlist.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.