Connect your Spotify account in Airlock, then use the registered spotify_* functions through run_js to control playback, queue, devices, and search.
spotify_*
run_js