title: Spotify API with basic core PHP
body: <p>I just need to show my own music on my website. So mine is not an "app" which other users will use. I simply want a PHP script that queries Spotify from time to time, perhaps once every day, and finds if there's a new song added to my playlist. If so, it adds that to my website and shows it on my site. </p>
  
  <p>For this I'd like a very simple script that allows me to authenticate myself in a server side code (which will be executed via cron) and bring back all the tracks in a specific playlist. I'd prefer <em>not</em> to use any library etc, just plain PHP code. </p>
  
  <p>But I'm not sure which '<a href="https://developer.spotify.com/documentation/general/guides/authorization-guide/" rel="nofollow noreferrer">Authorization API</a>' here I should use. Curl is just for testing, yes? Not for actual code especially with GET as that would be insecure? Would appreciate any pointer to any code sample for this. Thank you. </p>