Spotify
Spotify is a digital audio streaming platform and API for accessing music, podcasts, playlists, artists, albums, and playback-related data.
- Base URL:
https://api.spotify.com/v1 - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
-
get_multiple_albums— GET /albums — Get Several Albums -
get_an_album— GET /albums/{id} — Get Album -
get_an_albums_tracks— GET /albums/{id}/tracks — Get Album Tracks -
get_multiple_artists— GET /artists — Get Several Artists -
get_an_artist— GET /artists/{id} — Get Artist -
get_an_artists_albums— GET /artists/{id}/albums — Get Artist's Albums
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: get_multiple_albums
# (attach an 'oauth' credential to the task — no inline secrets)
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
operation |
string | yes | — | One of: get_multiple_albums, get_an_album, get_an_albums_tracks, get_multiple_artists, get_an_artist, get_an_artists_albums |
id |
string | no | — | Path parameter id (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |