play_context
Start playback of any Spotify playlist, album, or artist by providing its context URI or ID.
Instructions
Start playback of a Spotify context (playlist, album, or artist).
Parameters
context_uri : str
Spotify URI (e.g. spotify:playlist:<id>) or bare playlist ID.
Returns
dict
{"status": "playing", "context_uri": str}
Raises
spotipy.SpotifyException Propagated if the Spotify API returns a non-2xx response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context_uri | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||