Is it possible to create a Bash script to add songs to a Spotify playlist w/o creating a local server?
<p>So I'm struggling to decode Spotify's Web Authentication set up. What I'm looking to do is create a bash script to add the currently playing song to a predetermined playlist. The aim is to have it so I can push a keyboard shortcut and save it.</p>

<p>So far I have Keyboard Maestro accepting a Hot Key and running some Applescript to pull the TrackID from Spotify. Is it possible to have a Bash script (which Keyboard Maestro can run) do a POST request.</p>

<p>I can run unauthenticated API searches but it's authentication where I'm hitting issues. </p>