Home / Formulas / Spotify

Spotify

spotify

Authenticate with Spotify using OAuth device code flow. Access Spotify Web API for music playback, playlists, and user data.

🔐 Authentication Methods

device_code
device: https://accounts.spotify.com/authorize
token: https://accounts.spotify.com/api/token
Scope: user-read-private user-read-email playlist-read-private user-library-read user-top-read

👤 Identity

Account: e.g., personal, premium

🌐 APIs

web_api
Base URL: https://api.spotify.com/v1
Auth Header: Authorization: Bearer {token}
Spec Type: openapi
Methods: device_code

📦 Public Clients

These clients are bundled with the formula. Schlussel auto-selects the first available public client and its supported method. Just run the command below.

spotify-cli
Client ID: YOUR_CLIENT_ID
Methods: device_code
$ schlussel run spotify
← Back to all formulas