Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 287 Bytes

notes.md

File metadata and controls

7 lines (6 loc) · 287 Bytes

get access token (depends on client_id and client_secret)

curl -X POST "https://accounts.spotify.com/api/token" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "grant_type=client_credentials&client_id=$SPOTIFY_CLIENT_ID&client_secret=$SPOTIFY_CLIENT_SECRET"